Package: gtk

Function gtk:cell-area-context-allocation

Lambda List

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

Syntax

(gtk:cell-area-context-allocation context) => width, height

Arguments

context -- a gtk:cell-area-context object
width -- an integer for the allocated width, or nil
height -- an integer for 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

#2025-07-22