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 a generic named name, with documentation documentation.