render_option


Description:

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

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

Renders an option mark (as in a RadioButton), the gtk_state_flag_checked state will determine whether the option is on or off, and gtk_state_flag_inconsistent whether it should be marked as undefined.

Typical option mark rendering:

![](options.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


Namespace: Gtk
Package: gtk+-3.0