Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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

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

R Bindings for Gtk 2.8.0 and Above

v2.20.36
GPL
Authors
Michael Lawrence <michafla@gene.com> and Duncan Temple Lang <duncan@wald.ucdavis.edu>
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.