Contents Up Previous Next

Resource overview

From version 1.49, wxCLIPS can load panels and dialog boxes from wxWindows resource files (extension .wxr). You may create dialog resources using the wxWindows Dialog Editor, which can be downloaded from:

ftp.aiai.ed.ac.uk/pub/packages/wxwin/binary/dialoged10.zip
Before creating a panel or dialog, load the resource file using load-resource-file. Then use panel-create-from-resource or dialog-box-create-from-resource. Alternatively you can use the wxCOOL panel or dialog box instance creation syntax, supplying the resource slot value).

To find an arbitrary panel item, you may need to use find-window-by-name or find-window-by-label.