Mercurial > pidgin
diff console/libgnt/gntwidget.h @ 13943:25be562aaca8
[gaim-migrate @ 16480]
New widget GntLine to use as a separator.
A partial dialog for add-account callback. Updating the dialog
as a result of selection-change in the prpl dropdown is way ickier
than I had expected it to be. It 'works' now, but quite a bit
quirky. I will try to smooth things up later, perhaps next week.
committer: Tailor Script <tailor@pidgin.im>
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Mon, 10 Jul 2006 23:55:24 +0000 |
parents | 3dbcbc5e57e1 |
children | c9509bd42d7a |
line wrap: on
line diff
--- a/console/libgnt/gntwidget.h Mon Jul 10 18:08:11 2006 +0000 +++ b/console/libgnt/gntwidget.h Mon Jul 10 23:55:24 2006 +0000 @@ -53,6 +53,8 @@ int width, height; GntWidgetFlags flags; char *name; + + int minw, minh; /* Minimum size for the widget */ }; struct _GnWidget @@ -84,6 +86,7 @@ void (*size_request)(GntWidget *widget); gboolean (*confirm_size)(GntWidget *widget, int x, int y); + void (*size_changed)(GntWidget *widget, int w, int h); void (*set_position)(GntWidget *widget, int x, int y); gboolean (*key_pressed)(GntWidget *widget, const char *key); void (*activate)(GntWidget *widget); @@ -108,6 +111,7 @@ void gnt_widget_size_request(GntWidget *widget); void gnt_widget_get_size(GntWidget *widget, int *width, int *height); gboolean gnt_widget_set_size(GntWidget *widget, int width, int height); +gboolean gnt_widget_confirm_size(GntWidget *widget, int width, int height); gboolean gnt_widget_key_pressed(GntWidget *widget, const char *keys);