diff options
author | Owen Taylor <otaylor@redhat.com> | 2001-06-14 21:44:01 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2001-06-14 21:44:01 +0000 |
commit | cf2fab907731469bc0753b4f73b04c11633d336c (patch) | |
tree | e897e81aee574e87ab3f0bbeb14cc2ade51c5da2 /gtk/gtkwidget.h | |
parent | 22491fd6a4ee247bf49988db49250a6e3c278bf0 (diff) | |
download | gtk+-cf2fab907731469bc0753b4f73b04c11633d336c.tar.gz |
Add a GtkWindowGroup struct that allows grouping together multiple windows
Fri Jun 8 17:56:52 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwindow.[ch] gtk/gtkmain.c: Add a GtkWindowGroup struct
that allows grouping together multiple windows so that grabs
within that set of windows only affect those windows.
* gtk/gtkmain.c gtk/gtkwidget.[ch]: Add a "grab_notify"
signal for notification when a widget becomes shadowed
by a grab or is no longer shadowed by a grab.
* gtk/gtkwidget.c (gtk_widget_propagate_state)
gtk/gtkmain.c: (gtk_widget_grab_add): Don't allow
insenstive widgets to maintain a grab.
Diffstat (limited to 'gtk/gtkwidget.h')
-rw-r--r-- | gtk/gtkwidget.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkwidget.h b/gtk/gtkwidget.h index a1107e9558..396a8033d1 100644 --- a/gtk/gtkwidget.h +++ b/gtk/gtkwidget.h @@ -258,6 +258,8 @@ struct _GtkWidgetClass GtkStyle *previous_style); void (* direction_changed) (GtkWidget *widget, GtkTextDirection previous_direction); + void (* grab_notify) (GtkWidget *widget, + gboolean was_grabbed); /* accelerators */ void (* add_accelerator) (GtkWidget *widget, |