Next: gnome gw generics, Previous: gnome gobject generics, Up: Top
Common utility routines.
Expand the StudlyCaps nstr to a more schemey-form, according to the conventions of GLib libraries. For example:
(GStudlyCapsExpand "GSource") ⇒ g-source (GStudlyCapsExpand "GtkIMContext") ⇒ gtk-im-context (GStudlyCapsExpand "GtkHBox") ⇒ gtk-hbox
An alist of exceptions to the name transformation algorithm implemented in
GStudlyCapsExpand.
Transform a name of a
<gtype>, such as "GtkWindow", to a scheme form, such asgtk-window, taking into account the exceptions ingtype-name->scheme-name-alist, and trimming trailing dashes if any.
Transform a name of a
<gtype>, such as "GtkWindow", to a suitable name of a Scheme class, such as<gtk-window>. Usesgtype-name->scheme-name.
Generate the name of a method given the name of a
<gtype>and the name of the operation. For example:(gtype-name->method-name "GtkFoo" "bar") ⇒ gtk-foo:barUses
gtype-name->scheme-name.
Re-export the public interface of a module or modules. Invoked as
(re-export-modules (mod1) (mod2)...).
Define name as val, documenting the value with docs.
Define a generic named name, with documentation documentation.
Define a class named name, with superclasses supers, with documentation docs.