Package: gtk

Function gtk:render-expander

Lambda List

gtk:render-expander (context cr x y width height)

Arguments

context -- a gtk:style-context object
cr -- a cairo:context-t context
x -- a number, coerced to a double float, with the x origin of the rectangle
y -- a number, coerced to a double float, with the y origin of the rectangle
width -- a number, coerced to a double float, with a rectangle width
height -- a number, coerced to a double float, with a rectangle height

Details

Renders an expander as used in the gtk:tree-view widget and gtk:expander widget in the area defined by x, y, width, height. The :active state of the gtk:state-flags flags determines whether the expander is collapsed or expanded.

Typical expander rendering:

Warning

This function is deprecated since 4.10. Please do not use it in newly written code.
 

See also

#2023-9-17