Defining new events
- From: Russell Shaw <rjshaw iprimus com au>
- To: gtk-app-devel-list gnome org
- Subject: Defining new events
- Date: Tue, 30 Sep 2003 14:33:56 +1000
Hi,
I want to make a new event with: gdk_event_new(type);
However, enum GdkEventType doesn't have something like GDK_CUSTOM.
I want to then enable a widget to process the event using:
gtk_widget_set_events(widget,mask);
but: enum GdkEventMask doesn't have something like GDK_CUSTOM_MASK.
I would use gdk_event_put(gdk_event_new(GDK_CUSTOM)) to put the new
event into the event queue, making the relevant widget get called.
How can i do it?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]