print.GtkType              package:RGtk              R Documentation

_P_r_o_d_u_c_e _p_r_e_t_t_i_e_r _o_u_t_p_u_t _f_o_r _a _G_t_k_T_y_p_e _o_b_j_e_c_t

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

     This is a simple method for creating a more human-readable view of
     a 'GtkType' object which represents the underlying ``class'' in
     the C-level Gtk libraries. The simplified representation just
     gives the name of the Gtk class (as defined in the C code that
     declares that class).

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

     print.GtkType(x, ...)

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

       x: the 'GtkType' object to be shown.

     ...: passed on to the 'print' call for the names.

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

     This discards the low-level key used to identify the C-level type
     information and shows ony the name of the Gtk type.

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

     A character vector giving the button.

_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:

     Information on the package is available from <URL:
     http://www.omegahat.org/RGtk>.

     Information on Gtk is available from <URL: http://www.gtk.org>.

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

     'gtkGetType' 'gtkObjectGetType'

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

      gtkInit()

       # Make certain the class is available to us.
       # Either create an instance or
       #  call the C routine to get the type.
       # .C("gtk_button_get_type")
      gtkButton()

      tp <- gtkGetType("GtkButton")
      print(tp)

