The members of Gdk.EventHelper are listed below.
See Also: Inherited members from System.Object
| This constructor is never used. |
| [read-only] static | GType | GLib.GType. GType Property. |
static | Copy(Event)Copies a Gdk.Event. | |
static | Free(Event)Frees a Gdk.Event. | |
static | Get()Checks all open displays for a Gdk.Event to process, fetching events from the windowing system if necessary. See Display.Event. | |
static | GetAxis(Event, AxisUse, out double)Extract the axis value for a particular axis use from an event. | |
static | GetCoords(Event, out double, out double)Extract the event window relative x/y coordinates from an event. | |
static | GetGraphicsExpose(Window)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. | |
static | GetRootCoords(Event, out double, out double)Extract the root window relative x/y coordinates from an event. | |
static | GetScreen(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. | |
static | GetState(Event, out ModifierType)If the event contains a "state" field, puts that field in state. Otherwise stores an empty state (0). | |
static | GetTime(Event)Returns the time stamp from event, if there is one. Otherwise returns the current time. If event is null, returns the current time.. | |
static | New(EventType)Creates a new event of the given type. All fields are set to 0. | |
static | Peek()If there is an event waiting in the event queue of some open display, returns a copy of it. See Display.PeekEvent. | |
static | Put(Event)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. | |
static | RequestMotions(EventMotion)Requests additional motion notify events. | |
static | SendClientMessage(Event, uint)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. | |
static | 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. | |
static | SendClientmessageToall(Event)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. | |
static | SetScreen(Event, Screen)Sets the screen for event to screen. The event must have been allocated by GTK+, for instance, by EventHelper.Copy. | |