gstatusbar {gWidgets} | R Documentation |
A status bar widget is used to send message to the user. A familiar instance is the bottom area of a web browser.
gstatusbar(text = "", container = NULL, ..., toolkit = guiToolkit())
text |
Initial text of status bar |
container |
Optional container to attach widget to |
... |
Ignored |
toolkit |
Which GUI toolkit to use |
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.
## Not run: 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") ## End(Not run)