Re: [gtk-list] Pop-up menus and mouse button events




On Sun, 26 Jul 1998, Constantine Vetoshev wrote:
> This doesn't work because button_press_events are apparently
> ignored. I wrote a small program that does nothing but spit out what
> happens to it. There's nothing there that has an GdkEvent type
> GDK_BUTTON_PRESS, GDK_2BUTTON_PRESS, GDK_3BUTTON_PRESS, or
> GDK_BUTTON_RELEASE.
> 

You probably need to call gtk_widget_set_events on your window. 

Havoc Pennington ==== http://pobox.com/~hp



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