Package org.gnome.gtk
Class ShortcutsWindow.Builder<B extends ShortcutsWindow.Builder<B>>
java.lang.Object
org.javagi.gobject.Builder<B>
org.gnome.gobject.GObject.Builder<B>
org.gnome.gobject.InitiallyUnowned.Builder<B>
org.gnome.gtk.Widget.Builder<B>
org.gnome.gtk.Window.Builder<B>
org.gnome.gtk.ShortcutsWindow.Builder<B>
- Type Parameters:
B- the type of the Builder that is returned
- All Implemented Interfaces:
Accessible.Builder<B>,BuilderInterface
- Enclosing class:
ShortcutsWindow
public static class ShortcutsWindow.Builder<B extends ShortcutsWindow.Builder<B>>
extends Window.Builder<B>
implements Accessible.Builder<B>
Inner class implementing a builder pattern to construct a GObject with
properties.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Finish building theShortcutsWindowobject.onClose(ShortcutsWindow.CloseCallback handler) Deprecated.This widget will be removed in GTK 5onSearch(ShortcutsWindow.SearchCallback handler) Deprecated.This widget will be removed in GTK 5setSectionName(String sectionName) Deprecated.This widget will be removed in GTK 5setViewName(String viewName) Deprecated.This widget will be removed in GTK 5Methods inherited from class org.gnome.gtk.Window.Builder
onActivateDefault, onActivateFocus, onCloseRequest, onEnableDebugging, onKeysChanged, setApplication, setChild, setDecorated, setDefaultHeight, setDefaultWidget, setDefaultWidth, setDeletable, setDestroyWithParent, setDisplay, setFocusVisible, setFocusWidget, setFullscreened, setGravity, setHandleMenubarAccel, setHideOnClose, setIconName, setMaximized, setMnemonicsVisible, setModal, setResizable, setStartupId, setTitle, setTitlebar, setTransientForMethods inherited from class org.gnome.gtk.Widget.Builder
onDestroy, onDirectionChanged, onHide, onKeynavFailed, onMap, onMnemonicActivate, onMoveFocus, onQueryTooltip, onRealize, onShow, onStateFlagsChanged, onUnmap, onUnrealize, setCanFocus, setCanTarget, setCssClasses, setCssName, setCursor, setFocusable, setFocusOnClick, setHalign, setHasTooltip, setHeightRequest, setHexpand, setHexpandSet, setLayoutManager, setLimitEvents, setMarginBottom, setMarginEnd, setMarginStart, setMarginTop, setName, setOpacity, setOverflow, setReceivesDefault, setSensitive, setTooltipMarkup, setTooltipText, setValign, setVexpand, setVexpandSet, setVisible, setWidthRequestMethods inherited from class org.gnome.gobject.GObject.Builder
onNotifyMethods inherited from class org.javagi.gobject.Builder
addBuilderProperty, connect, connect, connectSignals, getArena, getNames, getValuesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.gnome.gtk.Accessible.Builder
setAccessibleRoleMethods inherited from interface org.javagi.gobject.BuilderInterface
addBuilderProperty, connect, connect, getArena
-
Constructor Details
-
Builder
protected Builder()Default constructor for aBuilderobject.
-
-
Method Details
-
build
Finish building theShortcutsWindowobject. This will callGObject.withProperties(org.gnome.glib.Type, java.lang.String[], org.gnome.gobject.Value[])to create a new GObject instance, which is then cast toShortcutsWindow.- Overrides:
buildin classWindow.Builder<B extends ShortcutsWindow.Builder<B>>- Returns:
- a new instance of
ShortcutsWindowwith the properties that were set in the Builder object.
-
setSectionName
Deprecated.This widget will be removed in GTK 5The name of the section to show.This should be the section-name of one of the
GtkShortcutsSectionobjects that are in this shortcuts window.- Parameters:
sectionName- the value for thesection-nameproperty- Returns:
- the
Builderinstance is returned, to allow method chaining
-
setViewName
Deprecated.This widget will be removed in GTK 5The view name by which to filter the contents.This should correspond to the
Gtk.ShortcutsGroup:viewproperty of some of theShortcutsGroupobjects that are inside this shortcuts window.Set this to
nullto show all groups.- Parameters:
viewName- the value for theview-nameproperty- Returns:
- the
Builderinstance is returned, to allow method chaining
-
onClose
Deprecated.This widget will be removed in GTK 5Emitted when the user uses a keybinding to close the window.This is a keybinding signal.
The default binding for this signal is the
Escapekey.- Parameters:
handler- the signal handler- Returns:
- the
Builderinstance is returned, to allow method chaining - See Also:
-
onSearch
Deprecated.This widget will be removed in GTK 5Emitted when the user uses a keybinding to start a search.This is a keybinding signal.
The default binding for this signal is
Control+F.- Parameters:
handler- the signal handler- Returns:
- the
Builderinstance is returned, to allow method chaining - See Also:
-