changeCapitalization  package:RGtkBindingGenerator  R Documentation

_U_t_i_l_i_t_y _f_u_n_c_t_i_o_n_s _f_o_r _g_e_n_e_r_a_t_i_n_g "_v_a_r_i_a_b_l_e" _n_a_m_e_s _i_n _S _a_n_d _C

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

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

     nameToS(name)
     nameToC(name)
     nameToSArg(name)
     changeCapitalization(x, up = TRUE)
     collapseClassName(name)
     mapToClassName(name, classes, capitalize = TRUE)
     toCapPhraseName(name, capitalize = FALSE, classNames = NULL)

     getClassFunctionName(name)

     getEnumCRoutineName(name)

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

    name: the name to be mapped to the appropriate format

       x: the string whose capitalization is to be changed.

      up: a logical value indicating whether to change the first
          character of the string to upper ('TRUE') or lower ('FALSE')
          case.

capitalize: a logical value indicating whether to capitalize the first
          letter of each ``term'' in the class name (e.g. capitalize
          the D and A in GtkDrawingArea.

 classes: a list of the class definitions read from the .defs files.
          This is used only to get the the names of the classes (via a
          call to 'names'. 

classNames: 

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

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

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

