Re: [GtkGLExt] mouse click



On Tuesday 02 May 2006 18:23, ville wrote:
> On Tue, 2 May 2006, ivan danicic wrote:
> > How?????????????
> > Ivan
>
> It really depends what language bindings you use, so consult the
> documentation. I use the C++ bindings so it's Gtk::Widget::add_events().
>
>
> // ville
>
Hello All, My program already contains this: (see attachment) I use C.
Presumably something else is needed.
Ivan
  gtk_widget_add_events (drawing_area,
			 GDK_BUTTON1_MOTION_MASK    |
			 GDK_BUTTON2_MOTION_MASK    |
			 GDK_BUTTON_PRESS_MASK      |
                         GDK_BUTTON_RELEASE_MASK|
			 GDK_VISIBILITY_NOTIFY_MASK);


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