Object / Family / Application / XMLApplication

The XMLApplication class extends the Application class with XML support. That is you can provide an XML defined UI to build the application by simply using the Source attribute.

preview
<?xml version="1.0" ?>
<!ENTITY hello "Hello world !">
<Application> <Window Id="win" Title="Feelin : &hello;" Open="true"> <Button>_&hello;</Button> </Window> </Application>

Attributes

Overrides

Source -- (04.00) [I..], STRPTR

The path to the XML file defining the application's UI.

Example

FObject app = XMLApplicationObject,
"Source", "hello.xml",
End;
if (app) { F_Do(app, FM_Application_Run);
F_DisposeObj(app); }

Development