Deprecatedcontext: Gtk.StyleContext
Deprecatedcr: default.Context
Deprecatedx: number
X origin of the rectangle
Deprecatedy: number
Y origin of the rectangle
Deprecatedwidth: number
rectangle width
Deprecatedheight: number
rectangle height
Deprecatedgap_side: Gtk.PositionType
side where the gap is
Deprecatedxy0_gap: number
initial coordinate (X or Y depending on gap_side) for the gap
Deprecatedxy1_gap: number
end coordinate (X or Y depending on gap_side) for the gap
Renders a frame around the rectangle defined by (
x,y,width,height), leaving a gap on one side.xy0_gapandxy1_gapwill mean X coordinates for Gtk.PositionType.TOP and Gtk.PositionType.BOTTOM gap sides, and Y coordinates for Gtk.PositionType.LEFT and Gtk.PositionType.RIGHT.Typical rendering of a frame with a gap: