All Manuals > CAPI User Guide > 5 Host Window System Configuration > 5.1 Properties of the host window system > 5.1.2 Matching resources

NextPrevUpTopContentsIndex Matching resources on GTK+

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:

Example GTK+ resource files are in examples/gtk/ .

CAPI User Guide (Macintosh version) - 30 Aug 2011