paint_option


Description:


[ Version ( deprecated = true , deprecated_since = "3.0" ) ]
public void paint_option (Style style, Context cr, StateType state_type, ShadowType shadow_type, Widget? widget, string? detail, int x, int y, int width, int height)

Warning: paint_option is deprecated since 3.0.

Draws a radio button indicator in the given rectangle on cr with the given parameters.

Note:

Use render_option instead

Parameters:

style

a Style

cr

a Context

state_type

a state

shadow_type

the type of shadow to draw

widget

the widget

detail

a style detail

x

x origin of the rectangle to draw the option in

y

y origin of the rectangle to draw the option in

width

the width of the rectangle to draw the option in

height

the height of the rectangle to draw the option in


Namespace: Gtk
Package: gtk+-3.0



2022 vala-language.org