|
GLG Toolkit, C / C++ API Library
Version 4.6
|
This group contains simulated events used in the GTK environment on Linux.
Structures and Classes | |
| struct | GXAnyEvent |
| GTK only: A generic event containing an event type field that is common for all GXEvent events. More... | |
| struct | GXButtonEvent |
| GTK only: Mouse button event, see GXEvent. More... | |
| struct | GXConfigureEvent |
| GTK only: Widget resize event, see GXEvent. More... | |
| struct | GXCrossingEvent |
| GTK only: Widget entering or leaving event, see GXEvent. More... | |
| union | GXEvent |
| GTK only: A simulated event used to pass GTK event information to the Trace callback. More... | |
| struct | GXExposeEvent |
| GTK only: Paint event generated when the widget is drawn, see GXEvent. More... | |
| struct | GXKeyEvent |
| GTK only: Key event, see GXEvent. More... | |
| struct | GXMapEvent |
| GTK only: Widget mapping event, see GXEvent. More... | |
| struct | GXMotionEvent |
| GTK only: Motion event, see GXEvent. More... | |
| struct | GXUnmapEvent |
| GTK only: Widget unmapping event, see GXEvent. More... | |
| struct | GXVisibilityEvent |
| GTK only: Widget visibility change event, see GXEvent. More... | |
| struct GXAnyEvent |
GTK only: A generic event containing an event type field that is common for all GXEvent events.
This event is also used for events that do not provide any additional event information, such as event types listed in the GlgEventType enum.
| Class Members | ||
|---|---|---|
| GXEventType | type | Event type. |
| struct GXButtonEvent |
GTK only: Mouse button event, see GXEvent.
| Class Members | ||
|---|---|---|
| unsigned int | button | The button that was pressed or released. |
| GXEventType | type | Event type: ButtonPress or ButtonRelease. |
| int | x | X coordinate inside the event widget. |
| int | x_root | X coordinate relative to the GTK top level window. |
| int | y | Y coordinate inside the event widget. |
| int | y_root | Y coordinate relative to the GTK top level window. |
| struct GXConfigureEvent |
GTK only: Widget resize event, see GXEvent.
| Class Members | ||
|---|---|---|
| int | height |
Widget height. For drawing area widgets, it's an inner height inside the widget's border. |
| GXEventType | type | Event type: ConfigureNotify. |
| int | width |
Widget width. For drawing area widgets, it's an inner width inside the widget's border. |
| int | x | Widget X origin relatively to the parent widget. |
| int | y | Widget Y origin relatively to the parent widget. |
| struct GXCrossingEvent |
GTK only: Widget entering or leaving event, see GXEvent.
| Class Members | ||
|---|---|---|
| GXEventType | type | Event type: LeaveNotify or EnterNotify. |
| int | x | X coordinate inside the event widget. |
| int | x_root | X coordinate relative to the GTK top level window. |
| int | y | Y coordinate inside the event widget. |
| int | y_root | Y coordinate relative to the GTK top level window. |
| union GXEvent |
GTK only: A simulated event used to pass GTK event information to the Trace callback.
It is similar to the X11 XEvent, which makes it possible to use the same code for both X11 and GTK trace callbacks.
| Class Members | ||
|---|---|---|
| GXEventType | type | Event type. |
| GXAnyEvent | xany |
A generic event containing an event type field that is common for all events. This event is also used for events that do not provide any additional event information, such as event types listed in the GlgEventType enum. |
| GXButtonEvent | xbutton | A mouse button event. |
| GXConfigureEvent | xconfigure | Resize event. |
| GXCrossingEvent | xcrossing | Enter or Leave Notify event. |
| GXExposeEvent | xexpose | Paint event. |
| GXKeyEvent | xkey | A key event. |
| GXMapEvent | xmap | Map event. |
| GXMotionEvent | xmotion | A motion event. |
| GXUnmapEvent | xunmap | Unmap event. |
| GXVisibilityEvent | xvisibility | Visibility change event. |
| struct GXExposeEvent |
GTK only: Paint event generated when the widget is drawn, see GXEvent.
| Class Members | ||
|---|---|---|
| int | height | Height of the area to be drawn. |
| GXEventType | type | Event type: Expose. |
| int | width | Width of the area to be drawn. |
| int | x | X origin of the area to be drawn. |
| int | y | Y origin of the area to be drawn. |
| struct GXKeyEvent |
GTK only: Key event, see GXEvent.
| Class Members | ||
|---|---|---|
| unsigned int | keycode |
The key that was pressed or released. See gdk/gdkkeysyms.h a list of GDK key codes. |
| GXEventType | type | Event type: KeyPress or KeyRelease. |
| int | x | X coordinate inside the event widget. |
| int | x_root | X coordinate relative to the GTK top level window. |
| int | y | Y coordinate inside the event widget. |
| int | y_root | Y coordinate relative to the GTK top level window. |
| struct GXMapEvent |
GTK only: Widget mapping event, see GXEvent.
| Class Members | ||
|---|---|---|
| GXEventType | type | Event type: MapNotify. |
| struct GXMotionEvent |
GTK only: Motion event, see GXEvent.
| Class Members | ||
|---|---|---|
| GXEventType | type | Event type: MotionNotify. |
| int | x | X coordinate inside the event widget. |
| int | x_root | X coordinate relative to the GTK top level window. |
| int | y | Y coordinate inside the event widget. |
| int | y_root | Y coordinate relative to the GTK top level window. |
| struct GXUnmapEvent |
GTK only: Widget unmapping event, see GXEvent.
| Class Members | ||
|---|---|---|
| GXEventType | type | Event type: UnmapNotify. |
| struct GXVisibilityEvent |
GTK only: Widget visibility change event, see GXEvent.
| Class Members | ||
|---|---|---|
| int | state | 0 if visible, 2 if invisible. |
| GXEventType | type | Event type: VisibilityNotify. |