size: Return size (width and height) of widget

Description Usage Arguments

View source: R/methods.R

Description

The size is specified in pixels (integers). Some toolkits allow -1 as a default, but not all.

Usage

1
2
3
4
5
6
7
8
size(obj)

## Default S3 method:
size(obj)

size(obj) <- value

size(obj) <- value

Arguments

obj

object

value

size in pixels


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