gstatusbar             package:gWidgets             R Documentation

_C_o_n_s_t_r_u_c_t_o_r _o_f _s_t_a_t_u_s _b_a_r _w_i_d_g_e_t

_D_e_s_c_r_i_p_t_i_o_n:

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

_U_s_a_g_e:

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

_A_r_g_u_m_e_n_t_s:

    text: Initial text of status bar

container: Optional container to attach widget to

     ...: Ignored

 toolkit: Which GUI toolkit to use

_D_e_t_a_i_l_s:

     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.

_E_x_a_m_p_l_e_s:

     ## 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)

