Mercurial > fife-parpg
view clients/pychan_demo/gui/demoapp.xml @ 220:6d09d310943b
Pass mouseWheelMovedUp and mouseWheelMovedDown events to pychan.
Fixed(?) dragging, mouse events are proceessed by the GUI if the last move was inside the gui.
author | phoku@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Thu, 19 Mar 2009 18:23:00 +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>