renderFrameGap

Renders a frame around the rectangle defined by (x, y, width, height), leaving a gap on one side. xy0_gap and xy1_gap will mean X coordinates for gtk.types.PositionType.Top and gtk.types.PositionType.Bottom gap sides, and Y coordinates for gtk.types.PositionType.Left and gtk.types.PositionType.Right.

Typical rendering of a frame with a gap:

More...

Parameters

context gtk.style_context.StyleContext

a #GtkStyleContext

cr cairo.context.Context

a #cairo_t

x double

X origin of the rectangle

y double

Y origin of the rectangle

width double

rectangle width

height double

rectangle height

gapSide gtk.types.PositionType

side where the gap is

xy0Gap double

initial coordinate (X or Y depending on gap_side) for the gap

xy1Gap double

end coordinate (X or Y depending on gap_side) for the gap

Detailed Description

Deprecated: Use gtk.global.renderFrame instead. Themes can create gaps by omitting borders via CSS.