Class: RBGL::GUI::Wayland::Registry
- Inherits:
-
WaylandObject
- Object
- WaylandObject
- RBGL::GUI::Wayland::Registry
- Defined in:
- lib/rbgl/gui/wayland/protocol_objects/display.rb
Instance Attribute Summary
Attributes inherited from WaylandObject
Instance Method Summary collapse
Methods inherited from WaylandObject
Constructor Details
This class inherits a constructor from RBGL::GUI::Wayland::WaylandObject
Instance Method Details
#bind(name, interface, version) ⇒ Object
25 26 27 28 29 30 31 32 33 34 35 |
# File 'lib/rbgl/gui/wayland/protocol_objects/display.rb', line 25 def bind(name, interface, version) new_id = @connection.allocate_id send_request( 0, Arguments.uint(name), Arguments.string(interface), Arguments.uint(version), Arguments.new_id(new_id) ) new_id end |