Class: LibX11::XEvent
- Inherits:
-
Data
- Object
- Data
- LibX11::XEvent
- Defined in:
- ext/libx11_ruby/xevent.c
Direct Known Subclasses
Constant Summary collapse
- KEY_PRESS =
event
INT2FIX(KeyPress)
- KEY_RELEASE =
INT2FIX(KeyRelease)
- BUTTON_PRESS =
INT2FIX(ButtonPress)
- BUTTON_RELEASE =
INT2FIX(ButtonRelease)
- MOTION_NOTIFY =
INT2FIX(MotionNotify)
- ENTER_NOTIFY =
INT2FIX(EnterNotify)
- LEAVE_NOTIFY =
INT2FIX(LeaveNotify)
- FOCUS_IN =
INT2FIX(FocusIn)
- FOCUS_OUT =
INT2FIX(FocusOut)
- KEYMAP_NOTIFY =
INT2FIX(KeymapNotify)
- EXPOSE =
INT2FIX(Expose)
- GRAPHICS_EXPOSE =
INT2FIX(GraphicsExpose)
- NO_EXPOSE =
INT2FIX(NoExpose)
- VISIBILITY_NOTIFY =
INT2FIX(VisibilityNotify)
- CREATE_NOTIFY =
INT2FIX(CreateNotify)
- DESTROY_NOTIFY =
INT2FIX(DestroyNotify)
- UNMAP_NOTIFY =
INT2FIX(UnmapNotify)
- MAP_NOTIFY =
INT2FIX(MapNotify)
- MAP_REQUEST =
INT2FIX(MapRequest)
- REPARENT_NOTIFY =
INT2FIX(ReparentNotify)
- CONFIGURE_NOTIFY =
INT2FIX(ConfigureNotify)
- CONFIGURE_REQUEST =
INT2FIX(ConfigureRequest)
- GRAVITY_NOTIFY =
INT2FIX(GravityNotify)
- RESIZE_REQUEST =
INT2FIX(ResizeRequest)
- CIRCULATE_NOTIFY =
INT2FIX(CirculateNotify)
- CIRCULATE_REQUEST =
INT2FIX(CirculateRequest)
- PROPERTY_NOTIFY =
INT2FIX(PropertyNotify)
- SELECTION_CLEAR =
INT2FIX(SelectionClear)
- SELECTION_REQUEST =
INT2FIX(SelectionRequest)
- SELKECTION_NOTIFY =
INT2FIX(SelectionNotify)
- COLORMAP_NOTIFY =
INT2FIX(ColormapNotify)
- CLIENT_MESSAGE =
INT2FIX(ClientMessage)
- MAPPING_NOTIFY =
INT2FIX(MappingNotify)
- GENERIC_EVENT =
INT2FIX(GenericEvent)
- LAST_EVENT =
INT2FIX(LASTEvent)
Instance Method Summary collapse
Instance Method Details
#type ⇒ Object
51 52 53 54 55 56 57 58 |
# File 'ext/libx11_ruby/xevent.c', line 51 static VALUE rb_xevent_type(VALUE self) { XEvent *event; TypedData_Get_Struct(self, XEvent, &xevent_type, event); return INT2NUM(event->type); } |