Package ch.bailu.gtk.gtk
Class CellRendererAccel
- All Implemented Interfaces:
PointerInterface
Renders a keyboard accelerator in a cell
`GtkCellRendererAccel` displays a keyboard accelerator (i.e. a key
combination like `Control + a`). If the cell renderer is editable,
the accelerator can be changed by simply typing the new combination.
`GtkCellRendererAccel` displays a keyboard accelerator (i.e. a key
combination like `Control + a`). If the cell renderer is editable,
the accelerator can be changed by simply typing the new combination.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic interfaceNested classes/interfaces inherited from class ch.bailu.gtk.gtk.CellRendererText
CellRendererText.OnEditedNested classes/interfaces inherited from class ch.bailu.gtk.gtk.CellRenderer
CellRenderer.OnEditingCanceled, CellRenderer.OnEditingStartedNested classes/interfaces inherited from class ch.bailu.gtk.gobject.Object
Object.OnBindingTransformFunc, Object.OnDestroyNotify, Object.OnDuplicateFunc, Object.OnNotify, Object.OnToggleNotify, Object.OnWeakNotify -
Field Summary
FieldsFields inherited from class ch.bailu.gtk.gtk.CellRendererText
SIGNAL_ON_EDITEDFields inherited from class ch.bailu.gtk.gtk.CellRenderer
SIGNAL_ON_EDITING_CANCELED, SIGNAL_ON_EDITING_STARTEDFields inherited from class ch.bailu.gtk.gobject.Object
SIGNAL_ON_NOTIFY -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new `GtkCellRendererAccel`.CellRendererAccel(PointerContainer pointer) -
Method Summary
Modifier and TypeMethodDescriptionstatic ClassHandlerstatic intstatic longstatic TypeSystem.TypeSizestatic longstatic TypeSystem.TypeSizeConnect to signal "accel-cleared".Connect to signal "accel-edited".Methods inherited from class ch.bailu.gtk.gtk.CellRendererText
onEdited, setFixedHeightFromFontMethods inherited from class ch.bailu.gtk.gtk.CellRenderer
activate, activate, getAlignedArea, getAlignment, getFixedSize, getIsExpanded, getIsExpander, getPadding, getPreferredHeight, getPreferredHeightForWidth, getPreferredSize, getPreferredWidth, getPreferredWidthForHeight, getRequestMode, getSensitive, getState, getVisible, isActivatable, onEditingCanceled, onEditingStarted, setAlignment, setFixedSize, setIsExpanded, setIsExpander, setPadding, setSensitive, setVisible, snapshot, startEditing, startEditing, stopEditingMethods inherited from class 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, weakUnrefMethods inherited from class ch.bailu.gtk.type.Pointer
asCPointer, cast, connectSignal, disconnectSignals, disconnectSignals, equals, hashCode, throwIfNull, throwNullPointerException, toString, unregisterCallbacks, unregisterCallbacksMethods inherited from class ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNullMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface ch.bailu.gtk.type.PointerInterface
asCPointerNotNull, asJnaPointer, asPointer, isNotNull, isNull
-
Field Details
-
SIGNAL_ON_ACCEL_CLEARED
- See Also:
-
SIGNAL_ON_ACCEL_EDITED
- See Also:
-
-
Constructor Details
-
CellRendererAccel
-
CellRendererAccel
public CellRendererAccel()Creates a new `GtkCellRendererAccel`.
-
-
Method Details
-
getClassHandler
-
onAccelCleared
Connect to signal "accel-cleared".
SeeCellRendererAccel.OnAccelCleared.onAccelCleared(ch.bailu.gtk.type.Str)for signal description.
FieldSIGNAL_ON_ACCEL_CLEAREDcontains original signal name and can be used as resource reference.- Parameters:
signal- callback function (lambda).- Returns:
SignalHandler. Can be used to disconnect signal and to release callback function.
-
onAccelEdited
Connect to signal "accel-edited".
SeeCellRendererAccel.OnAccelEdited.onAccelEdited(ch.bailu.gtk.type.Str, int, int, int)for signal description.
FieldSIGNAL_ON_ACCEL_EDITEDcontains original signal name and can be used as resource reference.- Parameters:
signal- callback function (lambda).- Returns:
SignalHandler. Can be used to disconnect signal and to release callback function.
-
getTypeID
public static long getTypeID() -
getParentTypeID
public static long getParentTypeID() -
getTypeSize
-
getParentTypeSize
-
getInstanceSize
public static int getInstanceSize()
-