Learn R Programming

gWidgets2 (version 1.0-9)

addSpring: Add a spring to box containers

Description

A spring will separate the children packed in the box container prior to the spring be added and those being added, pushing the two as far apart as the allocated space will allow.

Add spring to GContainer class

Inserts a specific amount of space between the previously packed child and next one.

Add space to GContainer class

Usage

addSpring(obj)

# S3 method for GContainer addSpring(obj)

addSpace(obj, value)

# S3 method for GContainer addSpace(obj, value)

Arguments

obj

GContainer object

value

space in pixels to add