gtk.cell_area_context
Module for [CellAreaContext] class
Types 3
Stores geometrical information for a series of rows in a GtkCellArea
The gtk.cell_area_context.CellAreaContext object is created by a given gtk.cell_area.CellArea implementation via its GtkCellAreaClass.create_context() virtual method and is used to store cell sizes and alignments for a series of gtk.tree_model.TreeModel rows that are requested and rendered in the same context.
gtk.cell_layout.CellLayout 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 gtk.tree_model.TreeModel row also be used for the same row when calling other gtk.cell_area.CellArea APIs such as gtk.cell_area.CellArea.render and gtk.cell_area.CellArea.event.
Deprecated
CellAreaContextGidBuilder builder() static nothrowGet builder for [gtk.cell_area_context.CellAreaContext] Returns: New builder objectgtk.cell_area.CellArea area() @property nothrowGet `area` property. Returns: The [gtk.cell_area.CellArea] this context was created byint minimumHeight() @property nothrowGet `minimumHeight` property. Returns: The minimum height for the [gtk.cell_area.CellArea] in this context for all [gtk.tree_model.TreeModel] rows that this context was requested for using [gtk.cel...int minimumWidth() @property nothrowGet `minimumWidth` property. Returns: The minimum width for the [gtk.cell_area.CellArea] in this context for all [gtk.tree_model.TreeModel] rows that this context was requested for using [gtk.cell_...int naturalHeight() @property nothrowGet `naturalHeight` property. Returns: The natural height for the [gtk.cell_area.CellArea] in this context for all [gtk.tree_model.TreeModel] rows that this context was requested for using [gtk.cel...int naturalWidth() @property nothrowGet `naturalWidth` property. Returns: The natural width for the [gtk.cell_area.CellArea] in this context for all [gtk.tree_model.TreeModel] rows that this context was requested for using [gtk.cell_...void allocate(int width, int height) nothrowAllocates a width and/or a height for all rows which are to be rendered with context.void getAllocation(out int width, out int height) nothrowFetches the current allocation size for context.gtk.cell_area.CellArea getArea() nothrowFetches the [gtk.cell_area.CellArea] this context was created by.void getPreferredHeight(out int minimumHeight, out int naturalHeight) nothrowGets the accumulative preferred height for all rows which have been requested with this context.void getPreferredHeightForWidth(int width, out int minimumHeight, out int naturalHeight) nothrowGets the accumulative preferred height for width for all rows which have been requested for the same said width with this context.void getPreferredWidth(out int minimumWidth, out int naturalWidth) nothrowGets the accumulative preferred width for all rows which have been requested with this context.void getPreferredWidthForHeight(int height, out int minimumWidth, out int naturalWidth) nothrowGets the accumulative preferred width for height for all rows which have been requested for the same said height with this context.void pushPreferredHeight(int minimumHeight, int naturalHeight) nothrowCauses the minimum and/or natural height to grow if the new proposed sizes exceed the current minimum and natural height.void pushPreferredWidth(int minimumWidth, int naturalWidth) nothrowCauses the minimum and/or natural width to grow if the new proposed sizes exceed the current minimum and natural width.Fluent builder implementation template for gtk.cell_area_context.CellAreaContext
T area(gtk.cell_area.CellArea propval) nothrowSet `area` property. Params: propval = The [gtk.cell_area.CellArea] this context was created by Returns: Builder instance for fluent chainingFluent builder for gtk.cell_area_context.CellAreaContext