Learn R Programming

RSurvey (version 0.6-4)

GetBitmapImage: Icon Bitmap Image

Description

Create a small Tk bitmap image.

Usage

GetBitmapImage(type)

Arguments

type
character; icon image type, see Details.

Value

Details

Icon image types include: left, right, up, down, top, bottom, upleft, upright, downleft, downright arrows; copy, paste, find, and delete.

See Also

tkimage.create

Examples

Run this code
image.obj <- GetBitmapImage("left")
tt <- tktoplevel(padx = 50, pady = 50)
button <- ttkbutton(tt, width = 2, image = image.obj)
tkpack(button)

Run the code above in your browser using DataLab