Package fife :: Package extensions :: Package pychan :: Module dialogs
[hide private]
[frames] | no frames]

Module dialogs

source code

Classes [hide private]
  XMLDialog
Functions [hide private]
 
print_event(**kwargs) source code
 
_make_text(message) source code
 
message(message="", caption="Message") source code
 
yesNo(message="", caption="Message") source code
 
yesNoCancel(message="", caption="Message") source code
 
select(message="", options=[], caption="Message") source code
 
trace(f) source code
Variables [hide private]
  MESSAGE_BOX_XML = "...
  YESNO_BOX_XML = "...
  YESNOCANCEL_BOX_XML = "...
  SELECT_BOX_XML = "...
  EXCEPTION_CATCHER_XML = "...
Variables Details [hide private]

MESSAGE_BOX_XML

Value:
"""\
<Window name="window" title="Message">
<ScrollArea>
<Label wrap_text="1" text="$MESSAGE" name="message" vexpand="1"/>
</ScrollArea>
<HBox>
<Spacer/><Button min_size="50,0" name="okButton" text="OK"/>
</HBox>
...

YESNO_BOX_XML

Value:
"""\
<Window name="window" title="Question">
<ScrollArea>
<Label wrap_text="1" text="$MESSAGE" name="message" vexpand="1"/>
</ScrollArea>
<HBox>
<Spacer/>
<Button min_size="50,0" name="yesButton" text="Yes"/>
...

YESNOCANCEL_BOX_XML

Value:
"""\
<Window name="window" title="Question">
<ScrollArea>
<Label wrap_text="1" text="$MESSAGE" name="message" vexpand="1"/>
</ScrollArea>
<HBox>
<Spacer/>
<Button min_width="50" name="yesButton" text="Yes"/>
...

SELECT_BOX_XML

Value:
"""\
<Window name="window" title="Select">
<Label wrap_text="1" text="$MESSAGE" name="message"/>
<ScrollArea>
<ListBox name="selection">
</ListBox>
</ScrollArea>
<HBox>
...

EXCEPTION_CATCHER_XML

Value:
"""\
<Window name="window" title="An exception occurred - what now?">
  <VBox hexpand="1">
    <Label wrap_text="1" max_size="400,90000" text="$MESSAGE" name="me\
ssage"/>
    <ScrollArea>
    <Label text="$MESSAGE" name="traceback"/>
    </ScrollArea>
...