Package ch.bailu.gtk.gtk
Klasse CellRendererSpin
- Alle implementierten Schnittstellen:
PointerInterface
Renders a spin button in a cell
`GtkCellRendererSpin` renders text in a cell like `GtkCellRendererText` from
which it is derived. But while `GtkCellRendererText` offers a simple entry to
edit the text, `GtkCellRendererSpin` offers a `GtkSpinButton` widget. Of course,
that means that the text has to be parseable as a floating point number.
The range of the spinbutton is taken from the adjustment property of the
cell renderer, which can be set explicitly or mapped to a column in the
tree model, like all properties of cell renders. `GtkCellRendererSpin`
also has properties for the `GtkCellRendererSpin:climb-rate` and the number
of `GtkCellRendererSpin:digits` to display. Other `GtkSpinButton` properties
can be set in a handler for the `GtkCellRenderer::editing-started` signal.
`GtkCellRendererSpin` renders text in a cell like `GtkCellRendererText` from
which it is derived. But while `GtkCellRendererText` offers a simple entry to
edit the text, `GtkCellRendererSpin` offers a `GtkSpinButton` widget. Of course,
that means that the text has to be parseable as a floating point number.
The range of the spinbutton is taken from the adjustment property of the
cell renderer, which can be set explicitly or mapped to a column in the
tree model, like all properties of cell renders. `GtkCellRendererSpin`
also has properties for the `GtkCellRendererSpin:climb-rate` and the number
of `GtkCellRendererSpin:digits` to display. Other `GtkSpinButton` properties
can be set in a handler for the `GtkCellRenderer::editing-started` signal.
-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen ch.bailu.gtk.gtk.CellRendererText
CellRendererText.OnEdited
Von Klasse geerbte verschachtelte Klassen/Schnittstellen ch.bailu.gtk.gtk.CellRenderer
CellRenderer.OnEditingCanceled, CellRenderer.OnEditingStarted
Von Klasse geerbte verschachtelte Klassen/Schnittstellen ch.bailu.gtk.gobject.Object
Object.OnBindingTransformFunc, Object.OnDestroyNotify, Object.OnDuplicateFunc, Object.OnNotify, Object.OnToggleNotify, Object.OnWeakNotify
-
Feldübersicht
Von Klasse geerbte Felder ch.bailu.gtk.gtk.CellRendererText
SIGNAL_ON_EDITED
Von Klasse geerbte Felder ch.bailu.gtk.gtk.CellRenderer
SIGNAL_ON_EDITING_CANCELED, SIGNAL_ON_EDITING_STARTED
Von Klasse geerbte Felder ch.bailu.gtk.gobject.Object
SIGNAL_ON_NOTIFY
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic ClassHandler
static int
static long
static TypeSystem.TypeSize
static long
static TypeSystem.TypeSize
Von Klasse geerbte Methoden ch.bailu.gtk.gtk.CellRendererText
onEdited, setFixedHeightFromFont
Von Klasse geerbte Methoden 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, stopEditing
Von Klasse geerbte Methoden ch.bailu.gtk.type.PropertyHolder
getBooleanProperty, getIntProperty, getObjectProperty, getStringProperty, getStrProperty, setBooleanProperty, setIntProperty, setObjectProperty, setStringProperty, setStrProperty
Von 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, weakUnref
Von Klasse geerbte Methoden ch.bailu.gtk.type.Pointer
asCPointer, cast, connectSignal, disconnectSignals, disconnectSignals, equals, hashCode, throwIfNull, throwNullPointerException, toString, unregisterCallbacks, unregisterCallbacks
Von Klasse geerbte Methoden ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNull
Von Klasse geerbte Methoden java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Von Schnittstelle geerbte Methoden ch.bailu.gtk.type.PointerInterface
asCPointerNotNull, asJnaPointer, asPointer, isNotNull, isNull
-
Konstruktordetails
-
CellRendererSpin
-
CellRendererSpin
Veraltet.Creates a new `GtkCellRendererSpin`.
-
-
Methodendetails
-
getClassHandler
-
getTypeID
public static long getTypeID() -
getParentTypeID
public static long getParentTypeID() -
getTypeSize
-
getParentTypeSize
-
getInstanceSize
public static int getInstanceSize()
-