Mercurial > fife-parpg
view clients/pychan_demo/gui/scrollarea.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 | c305c5eda7ed |
children | 2cdce58c1109 |
line wrap: on
line source
<Window title="ScrollArea"> <Label text="A bullet list in a ScrollArea" /> <ScrollArea size="400,200"> <VBox> <HBox name="hbox1"> <Button text="*"/><Spacer/><Label text="1. Documentation"/> </HBox> <HBox name="hbox2"> <Button text="*"/><Spacer/><Label text="2. Documentation"/> </HBox> <HBox name="hbox3"> <Button text="*"/><Spacer/><Label text="3. Documentation"/> </HBox> <HBox name="hbox4"> <VBox> <HBox name="hbox3_1"> <Button text="*"/><Spacer/><Label text="3.1. Documentation"/> </HBox> <HBox name="hbox3_2"> <Button text="*"/><Spacer/><Label text="3.2. Documentation"/> </HBox> <HBox name="hbox3_3"> <Button text="*"/><Spacer/><Label text="3.3. Documentation"/> </HBox> </VBox> </HBox> <HBox name="hbox5"> <Button text="*"/><Spacer/><Label text="1. Documentation"/> </HBox> </VBox> </ScrollArea> <HBox> <Spacer /> <Button name="okButton" text="Close"/> </HBox> </Window>