Style.paintFlatBox

Warning gtk_paint_flat_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 flat box on cr with the given parameters.

class Style
deprecated
void
paintFlatBox

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