RGtk2 (version 2.20.31)

gtkDrawDiamond: gtkDrawDiamond

Description

Draws a diamond in the given rectangle on window using the given parameters. WARNING: gtk_draw_diamond has been deprecated since version 2.0 and should not be used in newly-written code. Use gtkPaintDiamond instead.

Usage

gtkDrawDiamond(object, window, state.type, shadow.type, x, y, width, height)

Arguments

object
window
state.type
a state
shadow.type
the type of shadow to draw
x
x origin of the rectangle to draw the diamond in
y
y origin of the rectangle to draw the diamond in
width
width of the rectangle to draw the diamond in
height
height of the rectangle to draw the diamond in