paintDiamond

Draws a diamond in the given rectangle on window using the given parameters.

More...

Parameters

style gtk.style.Style

a #GtkStyle

cr cairo.context.Context

a #cairo_t

stateType gtk.types.StateType

a state

shadowType gtk.types.ShadowType

the type of shadow to draw

widget gtk.widget.Widget

the widget

detail string

a style detail

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

Detailed Description

Deprecated: Use cairo instead