Lambda Listgtk-render-frame-gap (context cr x y width height side xy0 xy1) Argumentscontext -- a gtk-style-context object cr -- a cairo-t context x -- a number, coerced to a double float, with a x origin of the rectangle y -- a number, coerced to a double float, with a 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 side -- a value of the gtk-position-type enumeration where the gap is xy0 -- a number, coerced to a double float, with the initial coordinate for the gap xy1 -- a number, coerced to a double float, with the end coordinate for the gap
Details Renders a frame around the rectangle defined by x, y, width, height leaving a gap on one side. The arguments xy0 and xy1 will mean x coordinates for :top and :bottom gap sides, and y coordinates for :left and :right gap sides. Warning The gtk-render-frame-gap function has been deprecated since version
3.24 and should not be used in newly written code. Use the gtk-render-frame function instead. Themes can create gaps by omitting
borders via CSS. |
| See also |