By default, the name of the widget is the name of the class of the element, downcased (except top level interfaces, see next paragraph). You can override the name by either passing
widget-name
when making the element, or by calling
(setf element-widget-name)
before displaying the element.
To make it easier to define resources specific to the application, the CAPI GTK+ library, when using the default name, prepends the
application-class
(see
convert-to-screen
) followed by a dot. So for an interface of class
my-interface
which is displayed in a screen with
application-class
"my-application"
, the default
widget-name
is:
my-application.my-interface
Example GTK+ resource files are in
examples/gtk/
.
CAPI User Guide (Macintosh version) - 30 Aug 2011