class X11::MappingEvent
- X11::MappingEvent
- X11::WindowEvent
- X11::Event
- Reference
- Object
Overview
Wrapper for X11::C::X::MappingEvent
structure.
Defined in:
x11/mapping_event.crConstructors
Instance Method Summary
- #count : Int32
- #count=(count : Int32)
- #display : Display
- #display=(display : Display)
- #first_keycode : Int32
- #first_keycode=(first_keycode : Int32)
-
#refresh_keyboard_mapping : Int32
Refreshes the stored modifier and keymap information.
- #request : Int32
- #request=(request : Int32)
- #send_event : Bool
- #send_event=(send_event : Bool)
- #serial : UInt64
- #serial=(serial : UInt64)
- #to_unsafe : X11::C::X::PMappingEvent
- #to_x : X11::C::X::MappingEvent
- #type : Int32
- #type=(type : Int32)
- #window : X11::C::Window
- #window=(window : X11::C::Window)
Instance methods inherited from class X11::WindowEvent
display : Display
display,
display=(display : Display)
display=,
window : X11::C::Window
window,
window=(window : X11::C::Window)
window=
Instance methods inherited from class X11::Event
serial : UInt64
serial,
serial=(serial : UInt64)
serial=,
type : Int32
type,
type=(type : Int32)
type=
Constructor methods inherited from class X11::Event
from_xevent(xevent : X11::C::X::Event) : Event
from_xevent
Constructor Detail
Instance Method Detail
def refresh_keyboard_mapping : Int32
#
Refreshes the stored modifier and keymap information.
Description
The #refresh_keyboard_mapping
function refreshes the stored modifier and
keymap information. You usually call this function when a MappingNotify
event with a request member of MappingKeyboard or MappingModifier
occurs. The result is to update Xlib's knowledge of the keyboard.
See also
KeyEvent::lookup_keysym
, KeyEvent::lookup_string
, Display::rebind_keysym
,
X11::string_to_keysym
, ButtonEvent
, MapEvent
.