Learn R Programming

gWidgets (version 0.0-25)

gstatusbar: Constructor of status bar widget

Description

A status bar widget is used to send message to the user. A familiar instance is the bottom area of a web browser.

Usage

gstatusbar(text = "", container = NULL, ..., toolkit = guiToolkit())

Arguments

Details

The statusbar keeps a message stack. The svalue method pops the last message from the stack. The svalue<- method pushes a new message onto the stack.

Examples

Run this code
group = ggroup(horizontal=FALSE, container=TRUE)
  add(group, obj <- gedit(), expand=TRUE)
  add(group, sb <- gstatusbar("Type in box"))
addhandlerchanged(obj, handler=function(h,...) svalue(sb) <- "You typed 
in box")

Run the code above in your browser using DataLab