CellAreaContext

open class CellAreaContext(val gtkCellAreaContextPointer: <Error class: unknown class><<Error class: unknown class>>)(source)

⚠️ Deprecated ⚠️

This is deprecated since version 4.10.

This object will be removed in GTK 5

---

Stores geometrical information for a series of rows in a GtkCellArea

The GtkCellAreaContext object is created by a given GtkCellArea implementation via its GtkCellAreaClass.create_context() virtual method and is used to store cell sizes and alignments for a series of GtkTreeModel rows that are requested and rendered in the same context.

GtkCellLayout widgets can create any number of contexts in which to request and render groups of data rows. However, it’s important that the same context which was used to request sizes for a given GtkTreeModel row also be used for the same row when calling other GtkCellArea APIs such as gtk_cell_area_render() and gtk_cell_area_event().

Skipped during bindings generation

  • parameter width: width: Out parameter is not supported

  • parameter minimum_height: minimum_height: Out parameter is not supported

  • parameter minimum_height: minimum_height: Out parameter is not supported

  • parameter minimum_width: minimum_width: Out parameter is not supported

  • parameter minimum_width: minimum_width: Out parameter is not supported

  • method minimum-height: Property has no getter nor setter

  • method minimum-width: Property has no getter nor setter

  • method natural-height: Property has no getter nor setter

  • method natural-width: Property has no getter nor setter

Constructors

Link copied to clipboard
constructor(gtkCellAreaContextPointer: <Error class: unknown class><<Error class: unknown class>>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open val area: CellArea

This is deprecated since version 4.10.

Link copied to clipboard
val gtkCellAreaContextPointer: <Error class: unknown class><<Error class: unknown class>>

Functions

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

This is deprecated since version 4.10.

Link copied to clipboard
open fun pushPreferredHeight(minimumHeight: <Error class: unknown class>, naturalHeight: <Error class: unknown class>)

This is deprecated since version 4.10.

Link copied to clipboard
open fun pushPreferredWidth(minimumWidth: <Error class: unknown class>, naturalWidth: <Error class: unknown class>)

This is deprecated since version 4.10.

Link copied to clipboard
open fun reset()

This is deprecated since version 4.10.