Re: GtkHandleBox



Grace Yeung wrote:

I am using a GtkHandleBox in my GUI and when I click on the handle to
try to snap it off the GUI my mouse freezes and I have to use keyboard
controls to kill my GUI.  Any clue as to what the problem is?  Thanks!

This might be your problem. GtkHandleBox detachment, dragging and reattachment is managed inside GtkHandleBox's default signal handlers for the "button_press_event", "button_release_event" and "motion_notify_event" signals. If your handle box connects to or overrides any of these GDK events your signal handlers must return FALSE to allow the handle box to execute its default code. The only time you would return TRUE from one of these events would be if you were implementing some sort of custom attachment/reattachment behaviour.

Regards,
Jeff Franks.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]