Package org.gnome.gdk
Interface Toplevel.Builder<B extends Builder<B>>
-
Method Summary
Modifier and TypeMethodDescriptiondefault B
setDecorated
(boolean decorated) Whether the window manager should add decorations.default B
setDeletable
(boolean deletable) Whether the window manager should allow to close the surface.default B
setFullscreenMode
(FullscreenMode fullscreenMode) The fullscreen mode of the surface.default B
setIconList
(MemorySegment iconList) A list of textures to use as icon.default B
setModal
(boolean modal) Whether the surface is modal.default B
setStartupId
(String startupId) The startup ID of the surface.default B
The title of the surface.default B
setTransientFor
(Surface transientFor) The transient parent of the surface.Methods inherited from interface io.github.jwharm.javagi.gobject.BuilderInterface
addBuilderProperty, connect, connect, getArena
-
Method Details
-
setDecorated
Whether the window manager should add decorations.- Parameters:
decorated
- the value for thedecorated
property- Returns:
- the
Builder
instance is returned, to allow method chaining
-
setDeletable
Whether the window manager should allow to close the surface.- Parameters:
deletable
- the value for thedeletable
property- Returns:
- the
Builder
instance is returned, to allow method chaining
-
setFullscreenMode
The fullscreen mode of the surface.- Parameters:
fullscreenMode
- the value for thefullscreen-mode
property- Returns:
- the
Builder
instance is returned, to allow method chaining
-
setIconList
A list of textures to use as icon.- Parameters:
iconList
- the value for theicon-list
property- Returns:
- the
Builder
instance is returned, to allow method chaining
-
setModal
Whether the surface is modal.- Parameters:
modal
- the value for themodal
property- Returns:
- the
Builder
instance is returned, to allow method chaining
-
setStartupId
The startup ID of the surface.See
AppLaunchContext
for more information about startup feedback.- Parameters:
startupId
- the value for thestartup-id
property- Returns:
- the
Builder
instance is returned, to allow method chaining
-
setTitle
-
setTransientFor
-