diff options
author | Owen Taylor <otaylor@redhat.com> | 2002-06-06 15:38:39 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2002-06-06 15:38:39 +0000 |
commit | c0f78ae00e839052a66ded3792888e7240821323 (patch) | |
tree | 27271721705d79ba16dd8d97d7cc597ac5e970c5 /gtk/gtksocket.h | |
parent | 3f6c03182b2f507ae263fc13736bb5f8110ca08a (diff) | |
download | gtk+-c0f78ae00e839052a66ded3792888e7240821323.tar.gz |
Add a "is_focus" property indicating whether a widget is the focus widget
Fri May 17 17:27:21 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwindow.c gtk/gtkwidget.c: Add a "is_focus"
property indicating whether a widget is the focus
widget within the toplevel.
* gtk/gtkwindow.[ch]: Add "is_active" "has_toplevel_focus"
properties to indicate (separately) the idea of
being the part of the toplevel with the input focus
and being the active widget. (Needed for full XEMBED
compliance.)
* gtk/gtkplug.c gtk/gtksocket.c: Update to work
in terms of is_active/has_toplevel_focus, and thus
handle the active/focused XEMBED distinction
correctly.
* gtk/gtkplug.c (gtk_plug_realize): Remove
FOCUS_CHANGE_MASK, since we don't need it.
Fri May 17 18:07:34 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtksocket.c (gtk_socket_add_window): Send
XEMBED_EMBEDDED_NOTIFY.
* gtk/gtksocket.c: Assume windows without _XEMBED_INFO
property want to be mapped, for better
current-Qt compatibility.
Diffstat (limited to 'gtk/gtksocket.h')
-rw-r--r-- | gtk/gtksocket.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/gtksocket.h b/gtk/gtksocket.h index b6859cc8a9..bdc4baecf4 100644 --- a/gtk/gtksocket.h +++ b/gtk/gtksocket.h @@ -62,7 +62,8 @@ struct _GtkSocket guint have_size : 1; guint need_map : 1; guint is_mapped : 1; - + guint active : 1; + GtkAccelGroup *accel_group; GtkWidget *toplevel; }; |