class X11::MappingEvent

Overview

Wrapper for X11::C::X::MappingEvent structure.

Defined in:

Constructors

Instance Method Summary

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

def self.new(event : X11::C::X::PMappingEvent) #

def self.new(event : X11::C::X::MappingEvent) #

def self.new #

Instance Method Detail

def count : Int32 #

def count=(count : Int32) #

def display : Display #

def display=(display : Display) #

def first_keycode : Int32 #

def first_keycode=(first_keycode : Int32) #

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.


def request : Int32 #

def request=(request : Int32) #

def send_event : Bool #

def send_event=(send_event : Bool) #

def serial : UInt64 #

def serial=(serial : UInt64) #

def to_unsafe : X11::C::X::PMappingEvent #

def to_x : X11::C::X::MappingEvent #

def type : Int32 #

def type=(type : Int32) #

def window : X11::C::Window #

def window=(window : X11::C::Window) #