Next: GObject Signals, Previous: GType, Up: Working with GObjects [Contents][Index]
Guile-GI exports object methods as GOOPS methods in the formats
type:method and method, where type is the
class on which the method is defined and method is its
name. Unbound methods (i.e. functions) are only bound to method.
In either case, the following transformations are made to type and method:
kebab-case.
? is appended to its name.
! is appended to its name.
This comes from a Scheme naming convention for “destructive” functions –
i.e. functions, which may modify their inputs in-place.
Use whichever bindings you prefer or alternatively rename them using the
#:rename argument to use-modules or use-typelibs
respectively. Note that Guile currently warns if a binding is imported
from multiple libraries (e.g. both GLib and Gtk), but this should not
concern you in most cases, as both internally specialize the same
generic method.