Expander question



Hi,

While developing an application, I have ran into the following problem:
* I have a window with a GtkExpander on it
* the GtkExpander's labelwidget is a container horizontal GtkBox with a
GtkLabel and a GtkButton on it
* the GtkButton can only be clicked on it's bottom few pixels, above that
click is intercepted by the expander, and expands/collapses the expander
instead of clicking the button.
Is there a way to overcome this by returning TRUE from some kind of signal
handler of the GtkButton to avoid the event being sent to the expander?

Find a simple example glade UI attached, the problem can be seen by running
glade-previewer on the UI file.

Regards,
Robert


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