|
java-gnome version 4.0.19 | ||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Objectorg.freedesktop.bindings.Constant
org.gnome.gdk.WindowTypeHint
public final class WindowTypeHint
Constants indicating hints you can provide to the window manager about what
the nature and purpose of a given Window is. While this is in the GDK
package, its primary use is for designating the purpose of top level
[org.gnome.gtk]
Windows via
setTypeHint()
.
Field Summary | |
---|---|
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. |
Method Summary |
---|
Methods inherited from class org.freedesktop.bindings.Constant |
---|
toString |
Methods inherited from class Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
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
.
|
![]() java-gnome |
||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |