Enum gdk::WindowTypeHint [−][src]
#[non_exhaustive] pub enum WindowTypeHint {}Show variants
Normal, Dialog, Menu, Toolbar, Splashscreen, Utility, Dock, Desktop, DropdownMenu, PopupMenu, Tooltip, Notification, Combo, Dnd, // some variants omitted
Expand description
These are hints for the window manager that indicate what type of function the window has. The window manager can use this when determining decoration and behaviour of the window. The hint must be set before mapping the window.
See the Extended Window Manager Hints specification for more details about window types.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Normal toplevel window.
Dialog window.
Window used to implement a menu; GTK+ uses
this hint only for torn-off menus, see GtkTearoffMenuItem
.
Window used to implement toolbars.
Window used to display a splash screen during application startup.
Utility windows which are not detached toolbars or dialogs.
Used for creating dock or panel windows.
Used for creating the desktop background window.
A menu that belongs to a menubar.
A menu that does not belong to a menubar, e.g. a context menu.
A tooltip.
A notification - typically a “bubble” that belongs to a status icon.
A popup from a combo box.
A window that is used to implement a DND cursor.
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 WindowTypeHint
impl Send for WindowTypeHint
impl Sync for WindowTypeHint
impl Unpin for WindowTypeHint
impl UnwindSafe for WindowTypeHint
Blanket Implementations
Mutably borrows from an owned value. Read more
Returns a SendValue
clone of self
.