public final class WindowType
extends org.freedesktop.bindings.Constant
Window
s
you need to specify what kind of Window it is to be. Since TOPLEVEL is
almost always what you want the default constructor of Window chooses this
automatically.Modifier and Type | Field and Description |
---|---|
static WindowType |
POPUP
Windows with type POPUP are ignored by the window manager; window
manager keybindings won't work on them, the window manager won't
decorate the window with a frame (ie borders), and many GTK features
that rely on the window manager will not work (for example resize grips
and maximize/minimize).
|
static WindowType |
TOPLEVEL
Most things you'd consider a "window" should have type TOPLEVEL;
windows with this type are managed by the window manager and have a
frame by default.
|
public static final WindowType POPUP
setDecorated(false)
is for.public static final WindowType TOPLEVEL
setDecorated(false)
to turn the window manager's frame off]