Class: RBGL::GUI::Wayland::XdgWmBase
- Inherits:
-
WaylandObject
- Object
- WaylandObject
- RBGL::GUI::Wayland::XdgWmBase
- Defined in:
- lib/rbgl/gui/wayland/protocol_objects/xdg_shell.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
#get_xdg_surface(surface) ⇒ Object
7 8 9 10 11 |
# File 'lib/rbgl/gui/wayland/protocol_objects/xdg_shell.rb', line 7 def get_xdg_surface(surface) xdg_surface_id = @connection.allocate_id send_request(2, Arguments.new_id(xdg_surface_id), Arguments.object(surface)) @connection.register_object(XdgSurface.new(@connection, xdg_surface_id)) end |