XEvent

Type Alias XEvent 

Source
pub type XEvent = XEvent;
Expand description

(sdl3-sys) Enable either a use-x11-* or a use-x11-dl-* feature to alias this to XEvent from the x11 or x11-dl crates, respectively. Otherwise it’s an opaque struct.

Aliased Type§

#[repr(C)]
pub union XEvent {
Show 44 fields pub type_: i32, pub any: XAnyEvent, pub button: XButtonEvent, pub circulate: XCirculateEvent, pub circulate_request: XCirculateRequestEvent, pub client_message: XClientMessageEvent, pub colormap: XColormapEvent, pub configure: XConfigureEvent, pub configure_request: XConfigureRequestEvent, pub create_window: XCreateWindowEvent, pub crossing: XCrossingEvent, pub destroy_window: XDestroyWindowEvent, pub error: XErrorEvent, pub expose: XExposeEvent, pub focus_change: XFocusChangeEvent, pub generic_event_cookie: XGenericEventCookie, pub graphics_expose: XGraphicsExposeEvent, pub gravity: XGravityEvent, pub key: XKeyEvent, pub keymap: XKeymapEvent, pub map: XMapEvent, pub mapping: XMappingEvent, pub map_request: XMapRequestEvent, pub motion: XMotionEvent, pub no_expose: XNoExposeEvent, pub property: XPropertyEvent, pub reparent: XReparentEvent, pub resize_request: XResizeRequestEvent, pub selection_clear: XSelectionClearEvent, pub selection: XSelectionEvent, pub selection_request: XSelectionRequestEvent, pub unmap: XUnmapEvent, pub visibility: XVisibilityEvent, pub pad: [i64; 24], pub xf86vm_notify: XF86VidModeNotifyEvent, pub xrr_screen_change_notify: XRRScreenChangeNotifyEvent, pub xrr_notify: XRRNotifyEvent, pub xrr_output_change_notify: XRROutputChangeNotifyEvent, pub xrr_crtc_change_notify: XRRCrtcChangeNotifyEvent, pub xrr_output_property_notify: XRROutputPropertyNotifyEvent, pub xrr_provider_change_notify: XRRProviderChangeNotifyEvent, pub xrr_provider_property_notify: XRRProviderPropertyNotifyEvent, pub xrr_resource_change_notify: XRRResourceChangeNotifyEvent, pub xss_notify: XScreenSaverNotifyEvent,
}

Fields§

§type_: i32§any: XAnyEvent§button: XButtonEvent§circulate: XCirculateEvent§circulate_request: XCirculateRequestEvent§client_message: XClientMessageEvent§colormap: XColormapEvent§configure: XConfigureEvent§configure_request: XConfigureRequestEvent§create_window: XCreateWindowEvent§crossing: XCrossingEvent§destroy_window: XDestroyWindowEvent§error: XErrorEvent§expose: XExposeEvent§focus_change: XFocusChangeEvent§generic_event_cookie: XGenericEventCookie§graphics_expose: XGraphicsExposeEvent§gravity: XGravityEvent§key: XKeyEvent§keymap: XKeymapEvent§map: XMapEvent§mapping: XMappingEvent§map_request: XMapRequestEvent§motion: XMotionEvent§no_expose: XNoExposeEvent§property: XPropertyEvent§reparent: XReparentEvent§resize_request: XResizeRequestEvent§selection_clear: XSelectionClearEvent§selection: XSelectionEvent§selection_request: XSelectionRequestEvent§unmap: XUnmapEvent§visibility: XVisibilityEvent§pad: [i64; 24]§xf86vm_notify: XF86VidModeNotifyEvent§xrr_screen_change_notify: XRRScreenChangeNotifyEvent§xrr_notify: XRRNotifyEvent§xrr_output_change_notify: XRROutputChangeNotifyEvent§xrr_crtc_change_notify: XRRCrtcChangeNotifyEvent§xrr_output_property_notify: XRROutputPropertyNotifyEvent§xrr_provider_change_notify: XRRProviderChangeNotifyEvent§xrr_provider_property_notify: XRRProviderPropertyNotifyEvent§xrr_resource_change_notify: XRRResourceChangeNotifyEvent§xss_notify: XScreenSaverNotifyEvent