Revision 162,
548 bytes
checked in by bretzel_parpg, 10 years ago
(diff) |
You can now select the file you want to save to or load from. filebrowser.py is actually
built into FIFE, but I copied it to the scripts folder because I had to make some
modifications to it.
|
Line | |
---|
1 | <Window title="Load"> |
---|
2 | <HBox hexpand="1" vexpand="1"> |
---|
3 | <VBox hexpand="1"> |
---|
4 | <Label name="dirLabel" text="Directories:"/> |
---|
5 | <ScrollArea min_size="200,300"> |
---|
6 | <ListBox name="dirList"/> |
---|
7 | </ScrollArea> |
---|
8 | </VBox> |
---|
9 | <VBox name="fileColumn" hexpand="1"> |
---|
10 | <Label name="fileLabel" text="Files:"/> |
---|
11 | <ScrollArea min_size="200,300"> |
---|
12 | <ListBox name="fileList"/> |
---|
13 | </ScrollArea> |
---|
14 | </VBox> |
---|
15 | <VBox hexpand="1"> |
---|
16 | <Spacer /> |
---|
17 | <Button name="selectButton" text="Load"/> |
---|
18 | <Button name="closeButton" text="Cancel"/> |
---|
19 | </VBox> |
---|
20 | </HBox> |
---|
21 | </Window> |
---|
Note: See
TracBrowser
for help on using the repository browser.