LispWorks CAPI User Guide > 3 General Considerations > 3.2 Properties of the host window system > 3.2.2 Matching resources

NextPrevUpTopContentsIndex

3.2.2.1 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 on GTK+, see the GTK+ specific part). 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/ .


LispWorks CAPI User Guide (Unix version) - 22 Dec 2009

NextPrevUpTopContentsIndex