20,741
edits
m (→Replacing native PUI widgets with Canvas widgets: https://gitorious.org/~hooray/fg/hoorays-fgdata/commits/topics/canvas-loglist) |
|||
Line 42: | Line 42: | ||
For example, to replace the loglist widget (prototype available at: https://gitorious.org/~hooray/fg/hoorays-fgdata/commits/topics/canvas-loglist ) : | For example, to replace the loglist widget (prototype available at: https://gitorious.org/~hooray/fg/hoorays-fgdata/commits/topics/canvas-loglist ) : | ||
Provide an PropertyList-XML that declares the canvas and its default settings, including a Nasal section that implements the logic: | Provide an PropertyList-XML that declares the canvas and its default settings, including a Nasal section that implements the logic, saved as gui/widgets/loglist.xml: | ||
<syntaxhighlight lang="xml"> | <syntaxhighlight lang="xml"> | ||
<?xml version="1.0"?> | <?xml version="1.0"?> |