size: Return size (width and height) of widget

View source: R/methods.R

sizeR Documentation

Return size (width and height) of widget

Description

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

Usage

size(obj)

## Default S3 method:
size(obj)

size(obj) <- value

size(obj) <- value

Arguments

obj

object

value

size in pixels


gWidgets2 documentation built on April 3, 2025, 6:18 p.m.