Learn R Programming

gWidgets (version 0.0-53)

gseparator: Widget to draw separator line

Description

Simple widget to draw a line used clarify layout of widgets.

Usage

gseparator(horizontal = TRUE, container = NULL, ..., toolkit = guiToolkit())

Arguments

horizontal
If TRUE line is horizontal, otherwise vertical.
container
Optional container to attach widget to
...
Ignored
toolkit
Which GUI toolkit to use

Examples

Run this code
w <- gwindow("separator example")
  gp <- ggroup(container=w)
  glabel("left widget", container=gp)
  gseparator(horizontal=FALSE, container=gp, expand=TRUE)
  glabel("right widget", container=gp)

Run the code above in your browser using DataLab