Style.paintOption

Warning gtk_paint_option has been deprecated since version 3.0 and should not be used in newly-written code. Use gtk_render_option() instead Draws a radio button indicator in the given rectangle on cr with the given parameters.

class Style
deprecated
void
paintOption

Parameters

cr Context

a cairo_t

stateType GtkStateType

a state

shadowType GtkShadowType

the type of shadow to draw

widget Widget

the widget. [allow-none]

detail string

a style detail. [allow-none]

x int

x origin of the rectangle to draw the option in

y int

y origin of the rectangle to draw the option in

width int

the width of the rectangle to draw the option in

height int

the height of the rectangle to draw the option in

Meta