Struct smithay_client_toolkit::window::FallbackFrame[][src]

pub struct FallbackFrame { /* fields omitted */ }
Expand description

A simple set of decorations that can be used as a fallback

This class drawn some simple and minimalistic decorations around a window so that it remains possible to interact with the window even when server-side decorations are not available.

FallbackFrame is hiding its ClientSide decorations in a Fullscreen state and brings them back if those are visible when unsetting Fullscreen state.

Trait Implementations

Formats the value using the given formatter. Read more

Executes the destructor for this type. Read more

Type of errors that may occur when attempting to create a frame

Configuration for this frame

Initialize the Frame. Read more

Notify that a new wl_seat should be handled Read more

Notify that this seat has lost the pointer capability or has been lost Read more

Set the Window XDG states for the frame Read more

Hide or show the decorations Read more

Set whether interactive resize hints should be displayed and reacted to Read more

Change the size of the decorations Read more

Redraw the decorations

Subtracts the border dimensions from the given dimensions.

Adds the border dimensions to the given dimensions.

Returns the coordinates of the top-left corner of the borders relative to the content Read more

Sets the configuration for the frame

Sets the frames title

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.