Struct wayland_server::protocol::wl_shell_surface::WlShellSurface [] [src]

pub struct WlShellSurface { /* fields omitted */ }

Methods

impl WlShellSurface
[src]

[src]

ping client

Ping a client to check if it is receiving events and sending requests. A client is expected to reply with a pong request.

[src]

suggest resize

The configure event asks the client to resize its surface.

The size is a hint, in the sense that the client is free to ignore it if it doesn't resize, pick a smaller size (to satisfy aspect ratio or resize in steps of NxM pixels).

The edges parameter provides a hint about how the surface was resized. The client may use this information to decide how to adjust its content to the new size (e.g. a scrolling area might adjust its content position to leave the viewable content unmoved).

The client is free to dismiss all but the last configure event it received.

The width and height arguments specify the size of the window in surface-local coordinates.

[src]

popup interaction is done

The popup_done event is sent out when a popup grab is broken, that is, when the user clicks a surface that doesn't belong to the client owning the popup surface.

Trait Implementations

impl Send for WlShellSurface
[src]

impl Sync for WlShellSurface
[src]

impl Resource for WlShellSurface
[src]

[src]

Pointer to the underlying wayland proxy object

[src]

Create an instance from a wayland pointer Read more

[src]

Create an instance from a wayland pointer Read more

[src]

Pointer to the interface representation

[src]

Internal wayland name of this interface

[src]

Max version of this interface supported

[src]

Current version of the interface this resource is instantiated with

[src]

Check if the resource behind this handle is actually still alive

[src]

Check of two handles are actually the same wayland object Read more

[src]

Set a pointer associated as user data on this resource Read more

[src]

Get the pointer associated as user data on this resource Read more

[src]

Unsafely clone this resource handle Read more

[src]

Posts a protocol error to this resource Read more

[src]

Clone this resource handle Read more

[src]

Checks wether this resource and the other are from the same client Read more

impl<ID: 'static> Implementable<ID> for WlShellSurface
[src]

The type containing the implementation for the event callbacks

[src]