Class: RBGL::GUI::Wayland::XdgSurface
Instance Attribute Summary
#connection, #id
Instance Method Summary
collapse
#initialize, #send_request
Instance Method Details
25
26
27
|
# File 'lib/rbgl/gui/wayland/protocol_objects/xdg_shell.rb', line 25
def ack_configure(serial)
send_request(4, Arguments.uint(serial))
end
|
#destroy ⇒ Object
29
30
31
|
# File 'lib/rbgl/gui/wayland/protocol_objects/xdg_shell.rb', line 29
def destroy
send_request(0)
end
|
#get_toplevel ⇒ Object
19
20
21
22
23
|
# File 'lib/rbgl/gui/wayland/protocol_objects/xdg_shell.rb', line 19
def get_toplevel
toplevel_id = @connection.allocate_id
send_request(1, Arguments.new_id(toplevel_id))
@connection.register_object(XdgToplevel.new(@connection, toplevel_id))
end
|