Package: gtk

Function gtk-cell-area-copy-context

Lambda List

gtk-cell-area-copy-context (area context)

Arguments

area -- a gtk-cell-area object
context -- a gtk-cell-area-context object to copy

Return Value

A newly created gtk-cell-area-context object copy of context.

Details

This is sometimes needed for cases where rows need to share alignments in one orientation but may be separately grouped in the opposing orientation.

For instance, the gtk-icon-view widget creates all icons (rows) to have the same width and the cells theirin to have the same horizontal alignments. However each row of icons may have a separate collective height. The gtk-icon-view widget uses this to request the heights of each row based on a context which was already used to request all the row widths that are to be displayed.
 

See also

2021-12-19