Package ch.bailu.gtk.gtk
Klasse CellRendererPixbuf
- Alle implementierten Schnittstellen:
PointerInterface
Renders a pixbuf in a cell
A `GtkCellRendererPixbuf` can be used to render an image in a cell. It allows
to render either a given `GdkPixbuf` (set via the
`GtkCellRendererPixbuf:pixbuf` property) or a named icon (set via the
`GtkCellRendererPixbuf:icon-name` property).
To support the tree view, `GtkCellRendererPixbuf` also supports rendering two
alternative pixbufs, when the `GtkCellRenderer:is-expander` property is %TRUE.
If the `GtkCellRenderer:is-expanded property` is %TRUE and the
`GtkCellRendererPixbuf:pixbuf-expander-open` property is set to a pixbuf, it
renders that pixbuf, if the `GtkCellRenderer:is-expanded` property is %FALSE
and the `GtkCellRendererPixbuf:pixbuf-expander-closed` property is set to a
pixbuf, it renders that one.
A `GtkCellRendererPixbuf` can be used to render an image in a cell. It allows
to render either a given `GdkPixbuf` (set via the
`GtkCellRendererPixbuf:pixbuf` property) or a named icon (set via the
`GtkCellRendererPixbuf:icon-name` property).
To support the tree view, `GtkCellRendererPixbuf` also supports rendering two
alternative pixbufs, when the `GtkCellRenderer:is-expander` property is %TRUE.
If the `GtkCellRenderer:is-expanded property` is %TRUE and the
`GtkCellRendererPixbuf:pixbuf-expander-open` property is set to a pixbuf, it
renders that pixbuf, if the `GtkCellRenderer:is-expanded` property is %FALSE
and the `GtkCellRendererPixbuf:pixbuf-expander-closed` property is set to a
pixbuf, it renders that one.
-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen ch.bailu.gtk.gtk.CellRenderer
CellRenderer.OnEditingCanceled, CellRenderer.OnEditingStartedVon 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.CellRenderer
SIGNAL_ON_EDITING_CANCELED, SIGNAL_ON_EDITING_STARTEDVon Klasse geerbte Felder ch.bailu.gtk.gobject.Object
SIGNAL_ON_NOTIFY -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic ClassHandlerstatic intstatic longstatic TypeSystem.TypeSizestatic longstatic TypeSystem.TypeSizeVon 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, stopEditingVon 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
-
Konstruktordetails
-
CellRendererPixbuf
-
CellRendererPixbuf
Veraltet.Creates a new `GtkCellRendererPixbuf`. Adjust rendering
parameters using object properties. Object properties can be set
globally (with g_object_set()). Also, with `GtkTreeViewColumn`, you
can bind a property to a value in a `GtkTreeModel`. For example, you
can bind the “pixbuf” property on the cell renderer to a pixbuf value
in the model, thus rendering a different image in each row of the
`GtkTreeView`.
-
-
Methodendetails
-
getClassHandler
-
getTypeID
public static long getTypeID() -
getParentTypeID
public static long getParentTypeID() -
getTypeSize
-
getParentTypeSize
-
getInstanceSize
public static int getInstanceSize()
-