gimage: A widget for displaying an image file

Description Usage Arguments

View source: R/gimage.R

Description

A widget for displaying an image file

generic for toolkit dispatch

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
gimage(
  filename = "",
  dirname = "",
  stock.id = NULL,
  size = "",
  handler = NULL,
  action = NULL,
  container = NULL,
  ...,
  toolkit = guiToolkit()
)

.gimage(
  toolkit,
  filename = "",
  dirname = "",
  stock.id = NULL,
  size = "",
  handler = NULL,
  action = NULL,
  container = NULL,
  ...
)

Arguments

filename

basename of file

dirname

dirname of file

stock.id

stock id of icon (if non NULL)

size

size of icon when a stock id (toolkit dependent)

handler

handler if image is clicked on.

action

passed to handler

container

parent container

...

passed to add method of parent

toolkit

toolkit


gWidgets2 documentation built on Jan. 11, 2022, 1:07 a.m.