You are not logged in! Log in or Register

Your first widget

I can imagine you are eager to get started on writing your first widget. The minimal widget imaginable looks something like this:

<?xml version="1.0" standalone="yes" ?>
<DrawnXmlWidget PreferredWidgetMode="Block1x1" Name="Hello world" LanguageVersion="1">
	<Global></Global>
	<WidgetMode>
		<VisualPage>
			<VisualContent>
				<VisualText Text="Hello world"/>
			</VisualContent>
		</VisualPage>
	</WidgetMode>
	<FullScreenMode>
		<VisualPage>
			<VisualContent>
				<VisualText Text="Hello world in full screen!"/> 
			</VisualContent>
		</VisualPage>
	</FullScreenMode>
</DrawnXmlWidget>

This will display the text "Hello world!" in widget mode and "Hello world in full screen!" in full screen mode.