GDK Reference ManualGDK_PROXIMITY_IN_MASK GDK_PROXIMITY_OUT_MASK GDK_SUBSTRUCTURE_MASK GDK_ALL_EVENTS_MASK the combination of all the above event masks.
Represents the current time, and can be used anywhere a time is expected.
This is the priority that events from the X server are given in the GLib Main Loop.
Checks if any events are waiting to be processed. Returns : TRUE if any events are pending.
Gets a copy of the first GdkEvent in the event queue. (Note that this function will not get more events from the X server. It only checks the events that have already been moved to the GDK event queue.) Returns : a copy of the first GdkEvent on the event queue, or NULL if no events are in the queue. The returned GdkEvent should be freed with gdk_event_free().
Gets the next GdkEvent to be processed, fetching events from the X server if necessary. Returns : the next GdkEvent to be processed, or NULL if no events are pending. The returned GdkEvent should be freed with gdk_event_free().
Waits for a GraphicsExpose or NoExpose event from the X server. This is used in the GtkText and GtkCList widgets in GTK+ to make sure any GraphicsExpose events are handled before the widget is scrolled. window : the GdkWindow to wait for the events for. Returns : a GdkEventExpose if a GraphicsExpose was received, or NULL if a NoExpose event was received.
Appends a copy of the given event onto the front of the event queue. event : a GdkEvent.
Copies a GdkEvent, copying or incrementing the reference count of the resources associated with it (e.g. GdkWindow's and strings). event : a GdkEvent. Returns : a copy of event. The returned GdkEvent should be freed with gdk_event_free().
Frees a GdkEvent, freeing or decrementing any resources associated with it. Note that this function should only be called with events returned from gdk_event_peek(), gdk_event_get(), gdk_event_get_graphics_expose() and gdk_event_copy(). event : a GdkEvent.
Gets the timestamp from a GdkEvent. event : a GdkEvent. Returns : the timestamp from event, or GDK_CURRENT_TIME if the event has no timestamp.
Sets the function to call to handle all events from GDK. Note that GTK+ uses this to install its own event handler, so it is probably not useful for GTK+ applications. func : the function to call to handle events from GDK. data : user data to pass to the function. notify : the function to call when the handler function is removed, i.e. when gdk_event_handler_set() is called with another event handler.
|