Electronics & Programming


Open Source electronics development and programming

  • You are not logged in.
  • Root
  • » GTK+
  • » Problems With Grab in Custom Dropdown (Like ComboBox) [RSS Feed]

#1 June 17, 2010 21:14:02

Aron R.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Problems With Grab in Custom Dropdown (Like ComboBox)

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,

gtk-list mailing list


  • Root
  • » GTK+
  • » Problems With Grab in Custom Dropdown (Like ComboBox) [RSS Feed]

Board footer

Moderator control

Enjoy the 13th of December

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support