Package ch.bailu.gtk.gtk
Klasse ShortcutsSection
- Alle implementierten Schnittstellen:
PointerInterface
A `GtkShortcutsSection` collects all the keyboard shortcuts and gestures
for a major application mode.
If your application needs multiple sections, you should give each
section a unique [property@Gtk.ShortcutsSection:section-name] and
a [property@Gtk.ShortcutsSection:title] that can be shown in the
section selector of the [class@Gtk.ShortcutsWindow].
The [property@Gtk.ShortcutsSection:max-height] property can be used
to influence how the groups in the section are distributed over pages
and columns.
This widget is only meant to be used with [class@Gtk.ShortcutsWindow].
The recommended way to construct a `GtkShortcutsSection` is with
[class@Gtk.Builder], by using the `<child>` tag to populate a
`GtkShortcutsSection` with one or more [class@Gtk.ShortcutsGroup]
instances, which in turn contain one or more [class@Gtk.ShortcutsShortcut]
objects.
If you need to add a group programmatically, use
[method@Gtk.ShortcutsSection.add_group].
# Shortcuts and Gestures
Pan gestures allow to navigate between sections.
The following signals have default keybindings:
- [signal@Gtk.ShortcutsSection::change-current-page]
for a major application mode.
If your application needs multiple sections, you should give each
section a unique [property@Gtk.ShortcutsSection:section-name] and
a [property@Gtk.ShortcutsSection:title] that can be shown in the
section selector of the [class@Gtk.ShortcutsWindow].
The [property@Gtk.ShortcutsSection:max-height] property can be used
to influence how the groups in the section are distributed over pages
and columns.
This widget is only meant to be used with [class@Gtk.ShortcutsWindow].
The recommended way to construct a `GtkShortcutsSection` is with
[class@Gtk.Builder], by using the `<child>` tag to populate a
`GtkShortcutsSection` with one or more [class@Gtk.ShortcutsGroup]
instances, which in turn contain one or more [class@Gtk.ShortcutsShortcut]
objects.
If you need to add a group programmatically, use
[method@Gtk.ShortcutsSection.add_group].
# Shortcuts and Gestures
Pan gestures allow to navigate between sections.
The following signals have default keybindings:
- [signal@Gtk.ShortcutsSection::change-current-page]
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenVon Klasse geerbte verschachtelte Klassen/Schnittstellen ch.bailu.gtk.gtk.Widget
Widget.OnDestroy, Widget.OnDestroyNotify, Widget.OnDirectionChanged, Widget.OnHide, Widget.OnKeynavFailed, Widget.OnMap, Widget.OnMnemonicActivate, Widget.OnMoveFocus, Widget.OnQueryTooltip, Widget.OnRealize, Widget.OnShow, Widget.OnStateFlagsChanged, Widget.OnTickCallback, Widget.OnUnmap, Widget.OnUnrealizeVon Klasse geerbte verschachtelte Klassen/Schnittstellen ch.bailu.gtk.gobject.Object
Object.OnBindingTransformFunc, Object.OnDuplicateFunc, Object.OnNotify, Object.OnToggleNotify, Object.OnWeakNotify -
Feldübersicht
FelderVon Klasse geerbte Felder ch.bailu.gtk.gtk.Widget
SIGNAL_ON_DESTROY, SIGNAL_ON_DIRECTION_CHANGED, SIGNAL_ON_HIDE, SIGNAL_ON_KEYNAV_FAILED, SIGNAL_ON_MAP, SIGNAL_ON_MNEMONIC_ACTIVATE, SIGNAL_ON_MOVE_FOCUS, SIGNAL_ON_QUERY_TOOLTIP, SIGNAL_ON_REALIZE, SIGNAL_ON_SHOW, SIGNAL_ON_STATE_FLAGS_CHANGED, SIGNAL_ON_UNMAP, SIGNAL_ON_UNREALIZEVon Klasse geerbte Felder ch.bailu.gtk.gobject.Object
SIGNAL_ON_NOTIFY -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidaddGroup(ShortcutsGroup group) Veraltet.Implements interfaceAccessible.Implements interfaceBuildable.Implements interfaceConstraintTarget.Implements interfaceOrientable.static ClassHandlerstatic intstatic longstatic TypeSystem.TypeSizestatic longstatic TypeSystem.TypeSizeConnect to signal "change-current-page".Von Klasse geerbte Methoden ch.bailu.gtk.gtk.Box
append, getBaselineChild, getBaselinePosition, getHomogeneous, getSpacing, insertChildAfter, prepend, remove, reorderChildAfter, setBaselineChild, setBaselinePosition, setHomogeneous, setSpacingVon Klasse geerbte Methoden ch.bailu.gtk.gtk.Widget
actionSetEnabled, actionSetEnabled, activate, activateAction, activateAction, activateActionVariant, activateActionVariant, activateDefault, addController, addCssClass, addCssClass, addMnemonicLabel, addTickCallback, allocate, childFocus, computeBounds, computeExpand, computePoint, computeTransform, contains, createPangoContext, createPangoLayout, createPangoLayout, disposeTemplate, dragCheckThreshold, errorBell, getAllocatedBaseline, getAllocatedHeight, getAllocatedWidth, getAllocation, getAncestor, getBaseline, getCanFocus, getCanTarget, getChildVisible, getClipboard, getColor, getCssClasses, getCssName, getCursor, getDefaultDirection, getDirection, getDisplay, getFirstChild, getFocusable, getFocusChild, getFocusOnClick, getFontMap, getFontOptions, getFrameClock, getHalign, getHasTooltip, getHeight, getHexpand, getHexpandSet, getLastChild, getLayoutManager, getLimitEvents, getMapped, getMarginBottom, getMarginEnd, getMarginStart, getMarginTop, getName, getNative, getNextSibling, getOpacity, getOverflow, getPangoContext, getParent, getPreferredSize, getPrevSibling, getPrimaryClipboard, getRealized, getReceivesDefault, getRequestMode, getRoot, getScaleFactor, getSensitive, getSettings, getSize, getSizeRequest, getStateFlags, getStyleContext, getTemplateChild, getTemplateChild, getTooltipMarkup, getTooltipText, getValign, getVexpand, getVexpandSet, getVisible, getWidth, grabFocus, hasCssClass, hasCssClass, hasDefault, hasFocus, hasVisibleFocus, hide, inDestruction, initTemplate, insertActionGroup, insertActionGroup, insertAfter, insertBefore, isAncestor, isDrawable, isFocus, isSensitive, isVisible, keynavFailed, listMnemonicLabels, map, measure, mnemonicActivate, observeChildren, observeControllers, onDestroy, onDirectionChanged, onHide, onKeynavFailed, onMap, onMnemonicActivate, onMoveFocus, onQueryTooltip, onRealize, onShow, onStateFlagsChanged, onUnmap, onUnrealize, pick, queueAllocate, queueDraw, queueResize, realize, removeController, removeCssClass, removeCssClass, removeMnemonicLabel, removeTickCallback, setCanFocus, setCanTarget, setChildVisible, setCssClasses, setCursor, setCursorFromName, setCursorFromName, setDefaultDirection, setDirection, setFocusable, setFocusChild, setFocusOnClick, setFontMap, setFontOptions, setHalign, setHasTooltip, setHexpand, setHexpandSet, setLayoutManager, setLimitEvents, setMarginBottom, setMarginEnd, setMarginStart, setMarginTop, setName, setName, setOpacity, setOverflow, setParent, setReceivesDefault, setSensitive, setSizeRequest, setStateFlags, setTooltipMarkup, setTooltipMarkup, setTooltipText, setTooltipText, setValign, setVexpand, setVexpandSet, setVisible, shouldLayout, show, sizeAllocate, snapshotChild, triggerTooltipQuery, unmap, unparent, unrealize, unsetStateFlagsVon Klasse geerbte Methoden ch.bailu.gtk.type.PropertyHolder
getBooleanProperty, getIntProperty, getObjectProperty, getStringProperty, getStrProperty, setBooleanProperty, setIntProperty, setObjectProperty, setStringProperty, setStrPropertyVon Klasse geerbte Methoden ch.bailu.gtk.gobject.Object
addToggleRef, bindProperty, bindProperty, bindPropertyFull, bindPropertyFull, bindPropertyWithClosures, bindPropertyWithClosures, compatControl, connect, connect, disconnect, disconnect, dupData, dupData, dupQdata, forceFloating, freezeNotify, get, get, getData, getData, getProperty, getProperty, getQdata, interfaceFindProperty, interfaceInstallProperty, isFloating, notify, notify, notifyByPspec, onNotify, ref, refSink, removeToggleRef, replaceData, replaceData, replaceQdata, runDispose, set, set, setData, setData, setDataFull, setDataFull, setProperty, setProperty, setQdata, setQdataFull, stealData, stealData, stealQdata, takeRef, thawNotify, unref, watchClosure, weakRef, weakUnrefVon Klasse geerbte Methoden ch.bailu.gtk.type.Pointer
asCPointer, cast, connectSignal, disconnectSignals, disconnectSignals, equals, hashCode, throwIfNull, throwNullPointerException, toString, unregisterCallbacks, unregisterCallbacksVon Klasse geerbte Methoden ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNullVon Klasse geerbte Methoden java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitVon Schnittstelle geerbte Methoden ch.bailu.gtk.type.PointerInterface
asCPointerNotNull, asJnaPointer, asPointer, isNotNull, isNull
-
Felddetails
-
SIGNAL_ON_CHANGE_CURRENT_PAGE
Veraltet.- Siehe auch:
-
-
Konstruktordetails
-
ShortcutsSection
-
-
Methodendetails
-
getClassHandler
-
addGroup
Veraltet.Adds a group to the shortcuts section.
This is the programmatic equivalent to using [class@Gtk.Builder] and a
`<child>` tag to add the child.
Adding children with the `GtkBox` API is not appropriate, as
`GtkShortcutsSection` manages its children internally.- Parameter:
group- the `GtkShortcutsGroup` to add
-
onChangeCurrentPage
Connect to signal "change-current-page".
SeeShortcutsSection.OnChangeCurrentPage.onChangeCurrentPage(int)for signal description.
FieldSIGNAL_ON_CHANGE_CURRENT_PAGEcontains original signal name and can be used as resource reference.- Parameter:
signal- callback function (lambda).- Gibt zurück:
SignalHandler. Can be used to disconnect signal and to release callback function.
-
asAccessible
Implements interfaceAccessible. Call this to get access to interface functions.- Setzt außer Kraft:
asAccessiblein KlasseBox- Gibt zurück:
Accessible
-
asBuildable
Implements interfaceBuildable. Call this to get access to interface functions.- Setzt außer Kraft:
asBuildablein KlasseBox- Gibt zurück:
Buildable
-
asConstraintTarget
Implements interfaceConstraintTarget. Call this to get access to interface functions.- Setzt außer Kraft:
asConstraintTargetin KlasseBox- Gibt zurück:
ConstraintTarget
-
asOrientable
Implements interfaceOrientable. Call this to get access to interface functions.- Setzt außer Kraft:
asOrientablein KlasseBox- Gibt zurück:
Orientable
-
getTypeID
public static long getTypeID() -
getParentTypeID
public static long getParentTypeID() -
getTypeSize
-
getParentTypeSize
-
getInstanceSize
public static int getInstanceSize()
-