An object representing an event from the windowing system.
An object representing an event from the windowing system with
data specific to that event.
Creates a new GdkEvent object for the given type.
Free the event and any resources associated with it.
The get_axis() method returns the axis value for the axis use
specified by axis_use from an event structure.
Returns an array of the event coordinates.
Returns an array containing the x and y coordinates of the event
relative to the root window.
Returns the GdkScreen for the event.
Returns the value of the modifier "state" field.
Returns the timestamp field from the event.
Appends a copy of the given event onto the tail of the event queue.
Sets the GdkScreen for the event.
A bit-mask representing the state of the modifier keys
(e.g. Control, Shift and Alt) and the pointer buttons.
The event type
The GdkWindow the event occurred on.
TRUE if the event was sent explicitly.
The bounding box of the area to be redrawn.
The number of contiguous Gdk::EXPOSE events
following this one.
The time of the event in milliseconds.
The x coordinate of the pointer relative to the window.
The y coordinate of the pointer relative to the window.
x, y translated to the
axes of device, or NULL if device is the mouse.
TRUE if the Gdk::POINTER_MOTION_HINT_MASK is set.
The device where the event originated.
The x coordinate of the pointer relative to the root of the screen.
The y coordinate of the pointer relative to the root of the screen.
The mouse button that was clicked.
The key that was pressed or released.
A string containing the composed characters resulting from the key press.
The raw code of the key that was pressed or released.
group: The keyboard group.mode:
The crossing mode (Gdk::CROSSING_NORMAL,
The kind of crossing that happened.
TRUE if window is the focus window or an inferior.
TRUE if the window has gained the keyboard
focus, FALSE if it has lost the focus.
width: The new width of the window.height: The new height of the window.context:
The GdkDragContext for the DnD operation.
Note: fields are dependant on the type of event. Each field's page
lists the event types that field as available to.
|User Contributed Notes|
|There are no user contributed notes for this page.|