Package org.gnome.gtk
Class CellRendererPixbuf.Builder<B extends CellRendererPixbuf.Builder<B>>
java.lang.Object
io.github.jwharm.javagi.gobject.Builder<B>
org.gnome.gobject.GObject.Builder<B>
org.gnome.gobject.InitiallyUnowned.Builder<B>
org.gnome.gtk.CellRenderer.Builder<B>
org.gnome.gtk.CellRendererPixbuf.Builder<B>
- Type Parameters:
B
- the type of the Builder that is returned
- All Implemented Interfaces:
BuilderInterface
- Enclosing class:
CellRendererPixbuf
public static class CellRendererPixbuf.Builder<B extends CellRendererPixbuf.Builder<B>>
extends CellRenderer.Builder<B>
Inner class implementing a builder pattern to construct a GObject with
properties.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Finish building theCellRendererPixbuf
object.The GIcon representing the icon to display.setIconName
(String iconName) The name of the themed icon to display.setIconSize
(IconSize iconSize) TheGtkIconSize
value that specifies the size of the rendered icon.setPixbufExpanderClosed
(Pixbuf pixbufExpanderClosed) setPixbufExpanderOpen
(Pixbuf pixbufExpanderOpen) setTexture
(Texture texture) Methods inherited from class org.gnome.gtk.CellRenderer.Builder
onEditingCanceled, onEditingStarted, setCellBackground, setCellBackgroundRgba, setCellBackgroundSet, setHeight, setIsExpanded, setIsExpander, setMode, setSensitive, setVisible, setWidth, setXalign, setXpad, setYalign, setYpad
Methods inherited from class org.gnome.gobject.GObject.Builder
onNotify
Methods inherited from class io.github.jwharm.javagi.gobject.Builder
addBuilderProperty, connect, connect, connectSignals, getArena, getNames, getValues
-
Constructor Details
-
Builder
protected Builder()Default constructor for aBuilder
object.
-
-
Method Details
-
build
Finish building theCellRendererPixbuf
object. 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 toCellRendererPixbuf
.- Overrides:
build
in classCellRenderer.Builder<B extends CellRendererPixbuf.Builder<B>>
- Returns:
- a new instance of
CellRendererPixbuf
with the properties that were set in the Builder object.
-
setGicon
-
setIconName
-
setIconSize
-
setPixbuf
-
setPixbufExpanderClosed
-
setPixbufExpanderOpen
-
setTexture
-