diff options
author | Owen Taylor <otaylor@redhat.com> | 2000-09-02 02:43:50 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2000-09-02 02:43:50 +0000 |
commit | e4229e9c4bd815717d1f9056a53c3389d4b20122 (patch) | |
tree | d5210323b1e245c81c03c706665bb9e51500e399 /gtk/gtkmenu.h | |
parent | 6e3a2369b3703653389d2a123a882f3cb632abd9 (diff) | |
download | gtk+-e4229e9c4bd815717d1f9056a53c3389d4b20122.tar.gz |
Apply patch from Nils Barth and David Santiago to improve submenu
Fri Sep 1 22:39:07 2000 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmenu.[ch] TODO.xml: Apply patch from
Nils Barth and David Santiago to improve submenu
navigation. The patch does this by creating a triangular
region from the point where the pointer leaves the
menu to the submenu. While the pointer is in
that region and a timeout has not expired, events
that would cause the active submenu to change are
ignored.
Diffstat (limited to 'gtk/gtkmenu.h')
-rw-r--r-- | gtk/gtkmenu.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk/gtkmenu.h b/gtk/gtkmenu.h index 7f0420daac..741a37ea54 100644 --- a/gtk/gtkmenu.h +++ b/gtk/gtkmenu.h @@ -74,6 +74,12 @@ struct _GtkMenu GtkWidget *toplevel; GtkWidget *tearoff_window; + /* When a submenu of this menu is popped up, motion in this + * region is ignored + */ + GdkRegion *navigation_region; + guint navigation_timeout; + guint needs_destruction_ref_count : 1; guint torn_off : 1; }; |