widgetView            package:RGtkViewers            R Documentation

_G_U_I _f_o_r _e_x_p_l_o_r_i_n_g _w_i_d_g_e_t _h_i_e_r_a_r_c_h_y _f_o_r _a _G_t_k _G_U_I

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

     This is the top-level user entry point for a tool that displays
     the hierarchical structure of widgets within a particular Gtk GUI.
     It can be used as a simple device for learning how existing GUIs
     have been constructed. It can also be customized to provide
     facilities for interactively modifying aspects of a GUI after it
     has been created, as an 'editres'-like facility.

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

     widgetView(top, callback = NULL, expand = TRUE)

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

     top: the top-most widget of the hierarchy. This must be an object
          of class 'GtkWidget', and presumably of class 'GtkContainer'
          to have any children. 

callback: A callback function that is to be registered for each node
          (tree item) in the tree which is called when it is selected.
          This is used to customize the behavior and utility of the
          tree.

  expand: a logical value indicating whether the sub-nodes are to be
          expanded in the initial view. (This currently does not work
          as one might expect!)

_V_a_l_u_e:

     The top-level Gtk GUI window displaying the class hierarchy. This
     is an object of class   'GtkWindow'.

_A_u_t_h_o_r(_s):

     Duncan Temple Lang <duncan@research.bell-labs.com>

_R_e_f_e_r_e_n_c_e_s:

     <URL: http://www.omegahat.org/RGtk>

_S_e_e _A_l_s_o:

     'gtkChildren' 'gtkChildren'

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

      tmp <- viewHtml(system.file("examples", "form.html"))
      widgetView(tmp$win)

