gtkGetType               package:RGtk2               R Documentation

_G_e_t _t_h_e _G_t_k_T_y_p_e _o_b_j_e_c_t _f_r_o_m _a _G_t_k _o_b_j_e_c_t _o_r _n_a_m_e

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

     *DEPRECATED!! (compatibility wrappers for RGtk 1!)* 

     This retrieves the 'GtkType' object  for a given 'GtkObject' or
     directly by name. This can be used to dynamically discover
     information about a Gtk class such as its signals, properties,
     inheritance hierarchy, etc.

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

     gtkGetType(name)
     gtkObjectGetType(w, check=TRUE)

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

    name: a character vector giving the name of the Gtk class/type to
          be retrieved.

       w: a GtkObject whose type is to be queried and returned.

   check: a logical value indicating whether we should first verify
          that the 'w' object inherits from GtkObject. Typically one
          passes 'TRUE' for this. It is useful when one gets an
          incomplete object constructed directly in C code and we want
          to construct its class information ('gtkObjectGetClasses')
          manually.   

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

     If one calls 'gtkGetType' with a string giving the name of the Gtk
     class, the associated Gtk class must have been initialized first.
     Specifically an object of that class must have been created
     earlier or the associated 'gtk_<class>_get_type' called. This can
     be done using the '.C' function as in '.C("gtk_button_get_type",
     PACKAGE= "RGtk")'.

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

     A single real value giving the internal C-level identifier for the
     Gtk type value. The name of the type is used as the 'names' vector
     for the numeric vector.

_N_o_t_e:

     THIS STUFF IS VERY OLD AND DEPRECATED (compatibility wrappers for
     RGtk 1)

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

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

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

     'gtkObjectGetClasses' 'gtkTypeGetClasses'

