size {gWidgets2} | R Documentation

## Return size (width and height) of widget

### Description

Return size (width and height) of widget

S3 method for size

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

S3 method for size

### Usage

    size(obj)

    ## Default S3 method:
    size(obj)

    size(obj) <- value

    size(obj) <- value

### Arguments

`obj` | object
`value` | size in pixels

[Package gWidgets2 version 1.0-8 Index]