struct WaylandClient::Seat::Xkb::Key

Defined in:

seat/xkb.cr

Constant Summary

MODIFIERS = {65505, 65505, 65509, 65507, 65508, 65513, 65027, 65407}

Constructors

Instance Method Summary

Constructor Detail

def self.new(value : LibXkbcommon::XkbKeysym, key : UInt32) #

[View source]

Instance Method Detail

def ==(other : Char) #

[View source]
def chr #

[View source]
def clone #

[View source]
def copy_with(value _value = @value, key _key = @key) #

[View source]
def inspect(io : IO) : Nil #
Description copied from struct Struct

Appends this struct's name and instance variables names and values to the given IO.

struct Point
  def initialize(@x : Int32, @y : Int32)
  end
end

p1 = Point.new 1, 2
p1.to_s    # "Point(@x=1, @y=2)"
p1.inspect # "Point(@x=1, @y=2)"

[View source]
def key : UInt32 #

def modifier? #

[View source]
def name(state) #

[View source]
def value : LibXkbcommon::XkbKeysym #