Module: Xlib::C::KeySym
- Extended by:
- FFI::DataConverter
- Defined in:
- lib/xlib/struct/key_sym.rb
Class Method Summary collapse
Class Method Details
.from_native(value, ctx) ⇒ Object
21 22 23 |
# File 'lib/xlib/struct/key_sym.rb', line 21 def self.from_native (value, ctx) Xlib::Keysym.new(value) end |
.to_native(value, ctx) ⇒ Object
17 18 19 |
# File 'lib/xlib/struct/key_sym.rb', line 17 def self.to_native (value, ctx) value.to_i end |