Appends a copy of the given event onto the front of the event queue for event->any.window's display, or the default event queue if event->any.window is 0.
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.
The screen is typically the screen for event->any.window, but for events such as mouse events, it is the screen where the the pointer was when the event occurs - that is, the screen which has the root window to which event->motion.x_root and event->motion.y_root are relative.
The screen is typically the screen for event->any.window, but for events such as mouse events, it is the screen where the the pointer was when the event occurs - that is, the screen which has the root window to which event->motion.x_root and event->motion.y_root are relative.
If the event contains a "state" field, puts that field in state .
Otherwise stores an empty state (0). Returns true if there was a state field in the event. event may be 0, in which case it's treated as if the event had no state field.
Parameters:
state
Return location for state.
Returns:
true if there was a state field in the event.
guint32 Gdk::Event::get_time
(
)
const
Returns the time stamp from event , if there is one; otherwise returns Gdk::CURRENT_TIME.
If event is 0, returns Gdk::CURRENT_TIME.
Returns:
Time stamp field from event .
const GdkEvent* Gdk::Event::gobj
(
)
const [inline]
GdkEvent* Gdk::Event::gobj
(
)
[inline]
GdkEvent* Gdk::Event::gobj_copy
(
)
const
Event& Gdk::Event::operator=
(
const Event&
other
)
Event Gdk::Event::peek
(
)
[static]
If there is an event waiting in the event queue of some open display, returns a copy of it.
A copy of the first Gdk::Event on some event queue, or 0 if no events are in any queues. The returned Gdk::Event should be freed with gdk_event_free().
void Gdk::Event::put
(
)
Appends a copy of the given event onto the front of the event queue for event->any.window's display, or the default event queue if event->any.window is 0.
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.