Style.paintBox

Warning gtk_paint_box has been deprecated since version 3.0 and should not be used in newly-written code. Use gtk_render_frame() and gtk_render_background() instead Draws a box on cr with the given parameters.

class Style
deprecated
void
paintBox

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 box

y int

y origin of the box

width int

the width of the box

height int

the height of the box

Meta