view clients/pychan_demo/gui/demoapp.xml @ 164:5b04a7d3ded6

typo fix some missing event (de)registrations ability to capture one event multiple times (instead of only having one slot, we have groups and each group has an own slot, the default group is "default" so we are backward compatible
author spq@33b003aa-7bff-0310-803a-e67f0ece8222
date Wed, 15 Oct 2008 14:57:04 +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>