GladeXML                package:RGtk2                R Documentation

_G_l_a_d_e_X_M_L

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

     Allows dynamic loading of user interfaces from XML descriptions.

_M_e_t_h_o_d_s _a_n_d _F_u_n_c_t_i_o_n_s:

     'gladeXMLNew(fname, root = NULL, domain = NULL)'
      'gladeXMLNewFromBuffer(buffer, size = nchar(buffer), root = NULL,
     domain = NULL)'
      'gladeXMLConstruct(object, fname, root = NULL, domain = NULL)'
      'gladeXMLSignalConnect(object, handlername, func)'
      'gladeXMLSignalConnectData(object, handlername, func, user.data)'
      'gladeXMLSignalAutoconnect(object)'
      'gladeXMLGetWidget(object, name)'
      'gladeXMLGetWidgetPrefix(object, name)'
      'gladeGetWidgetName(widget)'
      'gladeGetWidgetTree(widget)'
      'gladeXMLSignalConnectFull(object, handler.name, func,
     user.data)'
      'gladeXMLSignalAutoconnectFull(object, func, user.data)'
      'gladeSetCustomHandler(handler, user.data)'
      'gladeXML(root = NULL, domain = NULL, fname, buffer, size =
     nchar(buffer))'

_H_i_e_r_a_r_c_h_y:

     GObject
        +----GladeXML 

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

     This object represents an `instantiation' of an XML interface
     description. When one of these objects is created, the XML file is
     read, and the interface is created.  The GladeXML object then
     provides an interface for accessing the widgets in the interface
     by the names assigned to them inside the XML description.

     The GladeXML object can also be used to connect handlers to the
     named signals in the description.  Libglade also provides an
     interface by which it can look up the signal handler names in the
     program's symbol table and automatically connect as many handlers
     up as it can that way.

_S_t_r_u_c_t_u_r_e_s:


     '_G_l_a_d_e_X_M_L' _undocumented _


_C_o_n_v_e_n_i_e_n_t _C_o_n_s_t_r_u_c_t_i_o_n:

     'gladeXML' is the result of collapsing the constructors of
     'GladeXML' ('gladeXMLNew', 'gladeXMLNewFromBuffer') and accepts a
     subset of its arguments matching the required arguments of one of
     its delegate constructors.

_U_s_e_r _F_u_n_c_t_i_o_n_s:


     '_G_l_a_d_e_X_M_L_C_o_n_n_e_c_t_F_u_n_c(_h_a_n_d_l_e_r._n_a_m_e, _o_b_j_e_c_t, _s_i_g_n_a_l._n_a_m_e, _s_i_g_n_a_l._d_a_t_a, _c_o_n_n_e_c_t._o_b_j_e_c_t, _a_f_t_e_r, _u_s_e_r._d_a_t_a)' 
          This is the signature of a function used to connect signals. 
          It is used by the glade_xml_signal_connect_full and
          glade_xml_signal_autoconnect_full functions.  It is mainly
          intented for interpreted language bindings, but could be
          useful where the programmer wants more control over the
          signal connection process.  

          '_h_a_n_d_l_e_r._n_a_m_e' [character]  the name of the handler function
               to connect.

          '_o_b_j_e_c_t' ['GObject']  the object to connect the signal to.

          '_s_i_g_n_a_l._n_a_m_e' [character]  the name of the signal.

          '_s_i_g_n_a_l._d_a_t_a' [character]  the string value of the signal
               data given in the XML file.

          '_c_o_n_n_e_c_t._o_b_j_e_c_t' ['GObject']  non NULL if
               g_signal_connect_object should be used.

          '_a_f_t_e_r' [logical]  TRUE if the connection should be made with
               g_signal_connect_after.

          '_u_s_e_r._d_a_t_a' [R object]  the user data argument.


     '_G_l_a_d_e_X_M_L_C_u_s_t_o_m_W_i_d_g_e_t_H_a_n_d_l_e_r(_x_m_l, _f_u_n_c._n_a_m_e, _n_a_m_e, _s_t_r_i_n_g_1, _s_t_r_i_n_g_2, _i_n_t_1, _i_n_t_2, _u_s_e_r._d_a_t_a)' 
          This prototype is for a function that creates custom widgets.            

          '_x_m_l' ['GladeXML']  the GladeXML object.

          '_f_u_n_c._n_a_m_e' [character]  the function name.

          '_n_a_m_e' [character]  the name of the widget to be created.

          '_s_t_r_i_n_g_1' [character]  the string1 property.

          '_s_t_r_i_n_g_2' [character]  the string2 property.

          '_i_n_t_1' [integer]  the int1 property.

          '_i_n_t_2' [integer]  the int2 property.

          '_u_s_e_r._d_a_t_a' [R object]  the data passed to
               'gladeSetCustomHandler'

          _Returns:_ ['GtkWidget']  the GtkWidget.


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

     Derived by RGtkGen from GTK+ documentation

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

     <URL:
     http://developer.gnome.org/doc/API/2.0/libglade/GladeXML.html>

