Class: RBGL::GUI::Wayland::XdgToplevel

Inherits:
WaylandObject show all
Defined in:
lib/rbgl/gui/wayland/protocol_objects/xdg_shell.rb

Instance Attribute Summary

Attributes inherited from WaylandObject

#connection, #id

Instance Method Summary collapse

Methods inherited from WaylandObject

#initialize, #send_request

Constructor Details

This class inherits a constructor from RBGL::GUI::Wayland::WaylandObject

Instance Method Details

#destroyObject



39
40
41
# File 'lib/rbgl/gui/wayland/protocol_objects/xdg_shell.rb', line 39

def destroy
  send_request(0)
end

#set_title(title) ⇒ Object



35
36
37
# File 'lib/rbgl/gui/wayland/protocol_objects/xdg_shell.rb', line 35

def set_title(title)
  send_request(2, Arguments.string(title))
end