gtkDrawDiamond: gtkDrawDiamond

Description Usage Arguments Author(s)

View source: R/gtkFuncs.R

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

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

Arguments

object

a GtkStyle

window

a GdkWindow

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

Author(s)

Derived by RGtkGen from GTK+ documentation


RGtk2 documentation built on June 12, 2018, 5:06 p.m.