All Manuals > LispWorks Delivery User Guide > 8 Delivery on Linux, FreeBSD, x86/x64 Solaris and Unix > 8.1 GTK+ considerations


8.1.2 Fallback resources

If your CAPI/GTK application needs fallback resources then it should pass the :application-class and :fallback-resources arguments when calling capi:display and/or capi:convert-to-screen .

See capi:convert-to-screen in the CAPI Reference Manual for a full description of these arguments.

You could use the LispWorks resources as a starting point when constructing your application's resources. You can see the LispWorks fallback resources (these are for application class Lispworks ) as described under "Using X resources" in the CAPI User Guide .

You can override the default resource name using the capi:element initarg :widget-name or the accessor (setf capi:element-widget-name) . There is an example in examples/capi/elements/gtk-resources.lisp .

LispWorks Delivery User Guide - 13 Dec 2011