isEnum         package:RGtkBindingGenerator         R Documentation

_P_r_e_d_i_c_a_t_e _f_u_n_c_t_i_o_n_s _f_o_r _i_d_e_n_t_i_f_y_i_n_g _t_y_p_e _o_f _s_y_m_b_o_l_i_c _d_e_f_i_n_i_t_i_o_n

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

     These are a collection of logical or predicate functions used to
     determine if a given name in the symbolic definitions identifies a
     particular type of definition such as a class, enumeration value,
     flag or a primitive type.

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

     isEnum(type, enums)
     isFlag(type, flags)
     isWidgetClass(name, classes, gtkType = "GtkWidget")
     isConstructor(name)
     isPrimitiveType(x)

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

    type: the name of the element in the definitions being queried

    name: the name of the element in the definitions being queried

       x: the name of the element in the definitions being queried

   enums: the collection of all enumeration definitions

   flags: the collection of all flag definitions

 classes: the collection of class definitions

 gtkType: the identifier for the class for which we want to determine
          if the class 'name' extends. This is used by looking for a
          corresponding entry in the class hierarchy for 'name'. This
          allows us to use this function not simply for widgets, but
          any class. 

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

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

     A logical value indicating whether the identified element is of
     the queried type.

_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>, <URL:
     http://www.omegahat.org/RGtkBindingGenerator>, <URL:
     http://www.gtk.org> <URL: http://www.pygtk.org>(?)

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

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

