~ubuntu-branches/debian/sid/gworldclock/sid

« back to all changes in this revision

Viewing changes to resize.h

  • Committer: Bazaar Package Importer
  • Author(s): Drew Parsons
  • Date: 2005-03-28 13:50:18 UTC
  • mfrom: (1.2.1 upstream) (2.1.2 hoary)
  • Revision ID: james.westby@ubuntu.com-20050328135018-jk2szisqaovghn3s
Tags: 1.4.4-1
* New upstream version.
  - modernised design of AddZone dialog. Closes: #193952.
  - removed use of deprecated GTK functions and objects.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* functions for automatically resizing the window */
 
2
 
 
3
#ifndef GWORLDCLOCK_RESIZE
 
4
#define GWORLDCLOCK_RESIZE
 
5
 
 
6
/* default number of zones to view before scrollbar is needed */
 
7
#define DEFAULT_ZONES_TO_VIEW 6
 
8
 
 
9
/* Resize window to appropriate width for name and time/date columns
 
10
   and default number of zones.
 
11
   The window must be already shown for this to work. 
 
12
 */
 
13
void resizeWindow( GtkWidget *window, GtkTreeView *clocklist );
 
14
 
 
15
/* Act on "notify::width" signal from GtkTreeViewColumn,
 
16
   to dynamically adjust width of clock.
 
17
 */
 
18
void updateColumnWidth (GtkTreeViewColumn *column,  
 
19
                        GType dummyType,
 
20
                        gpointer clocklist);
 
21
 
 
22
#endif