changeCapitalization {RGtkBindingGenerator}R Documentation

Utility functions for generating "variable" names in S and C

Description

Usage

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)

Arguments

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

Details

Value

Author(s)

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

References

http://www.omegahat.org/RGtk, http://www.omegahat.org/RGtkBindingGenerator, http://www.gtk.org http://www.pygtk.org(?)

See Also

Examples



[Package RGtkBindingGenerator version 0.3 Index]