File: resize.h

package info (click to toggle)
gworldclock 1.4.4-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 980 kB
  • ctags: 158
  • sloc: sh: 3,855; ansic: 2,228; makefile: 68; sed: 16
file content (22 lines) | stat: -rw-r--r-- 640 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* functions for automatically resizing the window */

#ifndef GWORLDCLOCK_RESIZE
#define GWORLDCLOCK_RESIZE

/* default number of zones to view before scrollbar is needed */
#define DEFAULT_ZONES_TO_VIEW 6

/* Resize window to appropriate width for name and time/date columns
   and default number of zones.
   The window must be already shown for this to work. 
 */
void resizeWindow( GtkWidget *window, GtkTreeView *clocklist );

/* Act on "notify::width" signal from GtkTreeViewColumn,
   to dynamically adjust width of clock.
 */
void updateColumnWidth (GtkTreeViewColumn *column,  
			GType dummyType,
			gpointer clocklist);

#endif