[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gtk
Subject:    Problems With Grab in Custom Dropdown (Like ComboBox)
From:       Aron Rubin <aron.rubin () lmco ! com>
Date:       2010-06-17 18:30:38
Message-ID: 4C1A69CE.3020004 () lmco ! com
[Download RAW message or body]

Our project is pegged to Gtk+2.16 on win32. I have copied much of the
relevant list mode code from gtkcombobox.c to create a popup off a
GtkToggleToolButton. I do not need a cell_view so I did not copy that.
It works well except if I focus a window from another application while
the popup is shown the popup does not close and ever after the main
window of my application is forced to be above all other windows. I must
have missed something that does a popdown on outside window group event
and releases the grab. For clarity it does popdown when I click
elsewhere in the application's main window. My understanding of grabs is
apparently poor and I cannot seem to find a thorough description in Gtk,
Gdk, or wm_spec.

Thank you for any help,
Aron

_______________________________________________
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic