arsd.minigui_xml

A small extension module to arsd.minigu that adds functions for creating widgets and windows from short XML descriptions.

If you choose to use this, it will require arsd.dom to be compiled into your project too.

1 import arsd.minigui_xml;
2 Window window = createWindow(`
3 	<MainWindow>
4 		<Button label="Hi!" />
5 	</MainWindow>
6 `);

Members

Functions

createWindowFromXml
Window createWindowFromXml(string xml)
createWindowFromXml
Window createWindowFromXml(Document document)
makeWidgetFromString
Widget makeWidgetFromString(string xml, Widget parent)
miniguiWidgetFromXml
Widget miniguiWidgetFromXml(Element element, Widget parent)
Suggestion Box / Bug Report