Package: gtk

Function gtk:render-extension

Lambda List

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

Arguments

context -- a gtk:style-context object
cr -- a cairo:context-t context
x -- a number coerced to a double float for the x origin of the rectangle
y -- a number coerced to a double float for the y origin of the rectangle
width -- a number coerced to a double float for a rectangle width
height -- a number coerced to a double float for a rectangle height
side -- a value of the gtk:position-type enumeration where the gap is

Details

Renders a extension as in a gtk:notebook widget tab in the rectangle defined by x, y, width, height. The side where the extension connects to is defined by side.
 

See also

#2025-07-05