Defining new events

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:


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]