render_extension


Description:

[ Version ( deprecated_since = "vala-0.16" , deprecated = true , replacement = "StyleContext.render_extension" ) ]
public void render_extension (StyleContext context, Context cr, double x, double y, double width, double height, PositionType gap_side)

Warning: render_extension is deprecated since "vala-0.16". Use Gtk.StyleContext.render_extension.

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:

![](extensions.png)

Parameters:

context

a StyleContext

cr

a Context

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


Namespace: Gtk
Package: gtk+-3.0