Function gtk::render_extension [−][src]
pub fn render_extension<P: IsA<StyleContext>>(
context: &P,
cr: &Context,
x: f64,
y: f64,
width: f64,
height: f64,
gap_side: PositionType
)
Expand description
Renders a extension (as in a Notebook tab) in the rectangle
defined by x, y, width, height. The side where the extension
connects to is defined by gap_side.
Typical extension rendering:

context
cr
x
X origin of the rectangle
y
Y origin of the rectangle
width
rectangle width
height
rectangle height
gap_side
side where the gap is