[Glade-users] libglade, GtkDrawingArea, GdkEvents ?
- From: rjshaw iprimus com au (Russell Shaw)
- Subject: [Glade-users] libglade, GtkDrawingArea, GdkEvents ?
- Date: Wed, 13 Aug 2003 11:16:41 +1000
goth goth wrote:
Hello,
I realise a simple application using libglade 2, Gtk
2.2 : a GtkDrawingArea in a GtkWindow.
window : signal destroy connect to gtk_main_quit
drawingarea : signals button_release_event and
motion_notify_event on two function who g_print event.
drawingarea use the string "00000000001000000100" to
the GdkEvent (activate GDK_MOTION_NOTIFY_MASK and
GDK_BUTTON_RELEASE_MASK).
Events are not send : no error message but no action
What is the problem ?
From the docs:
To receive mouse events on a drawing area, you will
need to enable them with gtk_widget_add_events().
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]