[][src]Trait wlroots::shell::xdg_shell_v6::Handler

pub trait Handler {
    fn on_commit(
        &mut self,
        compositor_handle: Handle,
        surface_handle: Handle,
        xdg_shell_v6_handle: Handle
    ) { ... }
fn destroyed(
        &mut self,
        compositor_handle: Handle,
        xdg_shell_v6_handle: Handle
    ) { ... }
fn ping_timeout(
        &mut self,
        compositor_handle: Handle,
        surface_handle: Handle,
        xdg_shell_v6_handle: Handle
    ) { ... }
fn new_popup(
        &mut self,
        compositor_handle: Handle,
        surface_handle: Handle,
        xdg_shell_v6_handle: Handle
    ) { ... }
fn maximize_request(
        &mut self,
        compositor_handle: Handle,
        surface_handle: Handle,
        xdg_shell_v6_handle: Handle
    ) { ... }
fn minimize_request(
        &mut self,
        compositor_handle: Handle,
        surface_handle: Handle,
        xdg_shell_v6_handle: Handle
    ) { ... }
fn move_request(
        &mut self,
        compositor_handle: Handle,
        surface_handle: Handle,
        xdg_shell_v6_handle: Handle,
        &Move
    ) { ... }
fn resize_request(
        &mut self,
        compositor_handle: Handle,
        surface_handle: Handle,
        xdg_shell_v6_handle: Handle,
        &Resize
    ) { ... }
fn fullscreen_request(
        &mut self,
        compositor_handle: Handle,
        surface_handle: Handle,
        xdg_shell_v6_handle: Handle,
        &SetFullscreen
    ) { ... }
fn show_window_menu_request(
        &mut self,
        compositor_handle: Handle,
        surface_handle: Handle,
        xdg_shell_v6_handle: Handle,
        &ShowWindowMenu
    ) { ... }
fn map_request(
        &mut self,
        compositor_handle: Handle,
        surface_handle: Handle,
        xdg_shell_v6_handle: Handle
    ) { ... }
fn unmap_request(
        &mut self,
        compositor_handle: Handle,
        surface_handle: Handle,
        xdg_shell_v6_handle: Handle
    ) { ... } }
[]

Handles events from the client XDG v6 shells.

Provided Methods

[]

Called when the surface recieve a request event.

[]

Called when the wayland shell is destroyed (e.g by the user)

[]

Called when the ping request timed out.

This usually indicates something is wrong with the client.

[]

Called when a new popup appears in the xdg tree.

[]

Called when there is a request to maximize the XDG surface.

[]

Called when there is a request to minimize the XDG surface.

[]

Called when there is a request to move the shell surface somewhere else.

[]

Called when there is a request to resize the shell surface.

[]

Called when there is a request to make the shell surface fullscreen.

[]

Called when there is a request to show the window menu.

[]

Called when the surface is ready to be mapped. It should be added to the list of views at this time.

[]

Called when the surface should be unmapped. It should be removed from the list of views at this time, but may be remapped at a later time.

Implementors