ghtml                package:gWidgets                R Documentation

_C_o_n_s_t_r_u_c_t_o_r_s _f_o_r _w_i_d_g_e_t_s _t_o _h_a_n_d_l_e _t_e_x_t _i_n_p_u_t

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

     The ghtml widget is used to enter single lines of text. The gtext
     widget creates a text buffer for handling multiple lines of text.

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

     ghtml(url, handler = NULL, action = NULL, container = NULL, ..., toolkit = guiToolkit())

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

     url: url to load.

 handler: Handles a click on a URL. The default is to open the clicked
          url in the widget. To override, the first argument, a list
          'h', has component 'h\$url' containing the url.

  action: Passed along to the  handler as 'h\$action'

container: Optional container to attach widget to

     ...: ignored

 toolkit: Which GUI toolkit to use

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

     This widget loads the given url into a widget. Currently no
     toolkits support this.

     The 'svalue' method returns the current url.

     The 'svalue<-' method loads the current url in the widget.

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

     ## Not run: 
       ghtml(system.file("html","gedit.html",package="gWidgets"),
         container = gwindow())
     ## End(Not run)

