The members of Gdk.EventHelper are listed below.
See Also: Inherited members from System.Object
|This constructor is never used.|
Copies a Gdk.Event.
Frees a Gdk.Event.
Checks all open displays for a Gdk.Event to process, fetching events from the windowing system if necessary. See Display.Event.
|GetAxis(Event, AxisUse, out double)|
Extract the axis value for a particular axis use from an event.
|GetCoords(Event, out double, out double)|
Extract the event window relative x/y coordinates from an event.
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 Graphics Expose events are handled before the widget is scrolled.
|GetRootCoords(Event, out double, out double)|
Extract the root window relative x/y coordinates from an event.
Returns the screen for the event. The screen is typically the screen for Event.Window, but for events such as mouse events, it is the screen where the pointer was when the event occurs.
|GetState(Event, out ModifierType)|
If the event contains a "state" field, puts that field in state. Otherwise stores an empty state (0).
Returns the time stamp from event, if there is one. Otherwise returns the current time. If event is null, returns the current time..
Creates a new event of the given type. All fields are set to 0.
If there is an event waiting in the event queue of some open display, returns a copy of it. See Display.PeekEvent.
Appends a copy of the given event onto the front of the event queue for Event.Window's display, or the default queue if that window is null. See Display.PutEvent.
Requests additional motion notify events.
Sends an X ClientMessage event to a given window (which must be on the default Gdk.Display.) This could be used for communicating between different applications, though the amount of data is limited to 20 bytes.
|SendClientMessageForDisplay(Display, Event, uint)|
On X11, sends an X ClientMessage event to a given window. On Windows, sends a message registered with the name GDK_WIN32_CLIENT_MESSAGE. This could be used for communicating between different applications, though the amount of data is limited to 20 bytes on X11, and to just four bytes on Windows.
Sends an X ClientMessage event to all toplevel windows on the default Gdk.Screen. Toplevel windows are determined by checking for the WM_STATE property, as described in the Inter-Client Communication Conventions Manual (ICCCM). If no windows are found with the WM_STATE property set, the message is sent to all children of the root window.
Sets the screen for event to screen. The event must have been allocated by GTK+, for instance, by EventHelper.Copy.