Re: [gtk-list] Re: Sending arbitrary events to widgets




As I said, not all the handlers will run. Look at gtkmain.c.

Still: are you sending the event to the right place? Based 
on gtkmenushell.c, GtkMenuShell is what you want. i.e. the menubar or
submenu thereof.

To debug this you're going to have to look at some source code; it's not
supported by a public interface. Step through what happens when you click
the mouse by hand, then copy that. (Or imagine the equivalent while
looking at the code...)

Havoc




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