public final class WindowTypeHint
extends org.freedesktop.bindings.Constant
[org.gnome.gtk]
Windows via
setTypeHint()
.Modifier and Type | Field and Description |
---|---|
static WindowTypeHint |
DIALOG
This Window is a dialog.
|
static WindowTypeHint |
DOCK
This Window will be used to present something that is docked,
presumably to the panel.
|
static WindowTypeHint |
NORMAL
This is the default when constructing a new Window and you don't need
to set it.
|
static WindowTypeHint |
UTILITY
Mark this Window as a utility window.
|
public static final WindowTypeHint DIALOG
public static final WindowTypeHint DOCK
If you're thinking to use this you probably want Window's
setKeepAbove()
instead.
public static final WindowTypeHint NORMAL
public static final WindowTypeHint UTILITY
This setting is excellent for secondary windows. The key question is
"should I be able to Alt+Tab
to this Window?" If
it's not the real application, per se, then the answer is "probably
not" and the Window should be marked UTILITY
.