Enum gdk::WindowType [−][src]
#[non_exhaustive] pub enum WindowType { Root, Toplevel, Child, Temp, Foreign, Offscreen, Subsurface, // some variants omitted }
Expand description
Describes the kind of window.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
root window; this window has no parent, covers the entire screen, and is created by the window system
toplevel window (used to implement GtkWindow
)
child window (used to implement e.g. GtkEntry
)
override redirect temporary window (used to implement
GtkMenu
)
foreign window (see gdk_window_foreign_new()
)
offscreen window (see [Offscreen Windows][OFFSCREEN-WINDOWS]). Since 2.18
subsurface-based window; This window is visually tied to a toplevel, and is moved/stacked with it. Currently this window type is only implemented in Wayland. Since 3.14
Trait Implementations
type Checker = GenericValueTypeChecker<Self>
type Checker = GenericValueTypeChecker<Self>
Value type checker.
Get the contained value from a Value
. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Returns the type identifier of Self
.
Auto Trait Implementations
impl RefUnwindSafe for WindowType
impl Send for WindowType
impl Sync for WindowType
impl Unpin for WindowType
impl UnwindSafe for WindowType
Blanket Implementations
Mutably borrows from an owned value. Read more
Returns a SendValue
clone of self
.