view clients/pychan_demo/gui/demoapp.xml @ 170:f55979111ba1

- minor change to filebrowser - you now can specify the directory and the filename (!) of the xml file for the filebrowser (previous one was hardcoded) FEATURES: - use guixmlpath="my_path_to/my_filebrowser.xml" as argument when creating a new filebrowser instance NOTE: - if you create your own filebrowser.xml, make sure to meet the names / widgets the browser needs to work
author chewie@33b003aa-7bff-0310-803a-e67f0ece8222
date Wed, 21 Jan 2009 15:35:44 +0000
parents fe7ff4808529
children 756b895e1dab
line wrap: on
line source

<Window title="This is the PyChan demo application.">
	<HBox>
		<Slider size="100,15" name="slider" orientation="0" scale_start="0.1" scale_end="1.5" base_color="93,161,102" />
		<Label name="slider_desc" text="Move the slider!" />
		<TextBox name="slider_value" text="0" base_color="0,0,0,0"/>
	</HBox>
	<VBox>
		<HBox>
			<ScrollArea size="200,500">
				<ListBox name="demoList" min_size="100,100" />
			</ScrollArea>
			<VBox margins="0,0">
				<Label text=" Select one example from the listbox and press 'Start Example'"/>
				<Label text=" You can also execute this script with an Gui XML file as argument."/>
				<HBox margins="0,0">
					<Button text="XML code"/>
				</HBox>
				<ScrollArea size="600,200">
					<TextBox name="xmlSource" filename="gui/all_widgets.xml"/>
				</ScrollArea>
				<Spacer />
			</VBox>
		</HBox>
		<HBox>
			<ClickLabel name="creditsLink" text="Credits"/>
			<Spacer />
			<Button name="closeButton" text="Quit Demo"/>
		</HBox>
	</VBox>
</Window>