Package: gtk

Function gtk:cell-area-context-allocation

Lambda List

gtk:cell-area-context-allocation (context)

Arguments

context -- a gtk:cell-area-context object

Return Value

width -- an integer with the allocated width, or nil
height -- an integer with the allocated height, or nil

Details

Fetches the current allocation size for context. If the context was not allocated in width or height, or if the context was recently reset with the gtk:cell-area-context-reset function, the returned value will be -1.

Warning

The gtk:cell-area-context implementation is deprecated since 4.10. This object will be removed in GTK 5.
 

See also

#2024-2-21