CellRendererPixbuf

open class CellRendererPixbuf(val gtkCellRendererPixbufPointer: <Error class: unknown class><<Error class: unknown class>>) : CellRenderer(source)

⚠️ Deprecated ⚠️

This is deprecated since version 4.10.

List views use widgets to display their contents. You should use class@Gtk.Image for icons, and class@Gtk.Picture for images

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.

Skipped during bindings generation

  • method gicon: Property has no getter nor setter

  • method icon-name: Property has no getter nor setter

  • method icon-size: Property has no getter nor setter

  • method pixbuf: Property has no getter nor setter

  • method pixbuf-expander-closed: Property has no getter nor setter

  • method pixbuf-expander-open: Property has no getter nor setter

  • method texture: Property has no getter nor setter

Constructors

Link copied to clipboard
constructor()

This is deprecated since version 4.10.

---

constructor(gtkCellRendererPixbufPointer: <Error class: unknown class><<Error class: unknown class>>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val gtkCellRendererPixbufPointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
val gtkCellRendererPointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open var sensitive: Boolean
Link copied to clipboard
open var visible: Boolean

Functions

Link copied to clipboard
open fun activate(    event: <Error class: unknown class>,     widget: Widget,     path: String,     backgroundArea: <Error class: unknown class>,     cellArea: <Error class: unknown class>,     flags: CellRendererState): Boolean

This is deprecated since version 4.10.

---

Link copied to clipboard

Emits the "editing-canceled" signal. See onEditingCanceled.

Link copied to clipboard
fun emitEditingStarted(editable: CellEditable, path: String)

Emits the "editing-started" signal. See onEditingStarted.

Link copied to clipboard
open fun getAlignedArea(    widget: Widget,     flags: CellRendererState,     cellArea: <Error class: unknown class>,     alignedArea: <Error class: unknown class>)

This is deprecated since version 4.10.

---

Link copied to clipboard
open fun getPreferredSize(widget: Widget, minimumSize: Requisition?, naturalSize: Requisition?)

This is deprecated since version 4.10.

---

Link copied to clipboard

This is deprecated since version 4.10.

---

Link copied to clipboard
open fun getState(widget: Widget? = null, cellState: CellRendererState): StateFlags

This is deprecated since version 4.10.

---

Link copied to clipboard

This is deprecated since version 4.10.

---

Link copied to clipboard
fun onEditingCanceled(connectFlags: <Error class: unknown class> = ConnectFlags(0u), handler: () -> Unit): <Error class: unknown class>

This signal gets emitted when the user cancels the process of editing a cell. For example, an editable cell renderer could be written to cancel editing when the user presses Escape.

Link copied to clipboard
fun onEditingStarted(    connectFlags: <Error class: unknown class> = ConnectFlags(0u),     handler: (editable: CellEditable, path: String) -> Unit): <Error class: unknown class>

This signal gets emitted when a cell starts to be edited. The intended use of this signal is to do special setup on @editable, e.g. adding a GtkEntryCompletion or setting up additional columns in a GtkComboBox.

Link copied to clipboard
open fun setAlignment(xalign: <Error class: unknown class>, yalign: <Error class: unknown class>)

This is deprecated since version 4.10.

---

Link copied to clipboard
open fun setFixedSize(width: <Error class: unknown class>, height: <Error class: unknown class>)

This is deprecated since version 4.10.

---

Link copied to clipboard
open fun setPadding(xpad: <Error class: unknown class>, ypad: <Error class: unknown class>)

This is deprecated since version 4.10.

---

Link copied to clipboard
open fun snapshot(    snapshot: Snapshot,     widget: Widget,     backgroundArea: <Error class: unknown class>,     cellArea: <Error class: unknown class>,     flags: CellRendererState)

This is deprecated since version 4.10.

---

Link copied to clipboard
open fun startEditing(    event: <Error class: unknown class>? = null,     widget: Widget,     path: String,     backgroundArea: <Error class: unknown class>,     cellArea: <Error class: unknown class>,     flags: CellRendererState): CellEditable?

This is deprecated since version 4.10.

---

Link copied to clipboard
open fun stopEditing(canceled: Boolean)

This is deprecated since version 4.10.

---