LispWorks Delivery User Guide > 8 Delivery on Linux, FreeBSD and Unix > 8.1 GTK+ considerations

NextPrevUpTopContentsIndex

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 LispWorks 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 LispWorks 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 - 22 Dec 2009

NextPrevUpTopContentsIndex