Style.paintDiamond

Warning gtk_paint_diamond has been deprecated since version 3.0 and should not be used in newly-written code. Use cairo instead Draws a diamond in the given rectangle on window using the given parameters.

class Style
deprecated
void
paintDiamond

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 diamond in

y int

y origin of the rectangle to draw the diamond in

width int

width of the rectangle to draw the diamond in

height int

height of the rectangle to draw the diamond in

Meta