Package: gtk

Function gtk:render-frame

Lambda List

gtk:render-frame (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 the rectangle width
height -- a number, coerced to a double float, with the rectangle height

Details

Renders a frame around the rectangle defined by x, y, width, height.

Examples of frame rendering, showing the effect of border-image, border-color, border-width, border-radius and junctions:

Warning

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

See also

#2023-9-17