Package: gtk

Function gtk-cell-area-context-allocate

Lambda List

gtk-cell-area-context-allocate (context width height)

Arguments

context -- a gtk-cell-area-context object
width -- an integer with the allocated width for all gtk-tree-model rows rendered with context, or -1
height -- an integer with the allocated height for all gtk-tree-model rows rendered with context, or -1

Details

Allocates a width and/or a height for all rows which are to be rendered with context.

Usually allocation is performed only horizontally or sometimes vertically since a group of rows are usually rendered side by side vertically or horizontally and share either the same width or the same height. Sometimes they are allocated in both horizontal and vertical orientations producing a homogeneous effect of the rows. This is generally the case for gtk-tree-view when the fixed-height-mode property is enabled.
 

See also

2020-6-28