Back to index

python3.2  3.2.2
Classes | Functions | Variables
tkinter.dialog Namespace Reference

Classes

class  Dialog

Functions

def _test

Variables

string DIALOG_ICON = 'warning'
tuple t
tuple q

Function Documentation

def tkinter.dialog._test ( ) [private]

Definition at line 27 of file dialog.py.

00027 
00028 def _test():
00029     d = Dialog(None, {'title': 'File Modified',
00030                       'text':
00031                       'File "Python.h" has been modified'
00032                       ' since the last time it was saved.'
00033                       ' Do you want to save it before'
00034                       ' exiting the application.',
00035                       'bitmap': DIALOG_ICON,
00036                       'default': 0,
00037                       'strings': ('Save File',
00038                                   'Discard Changes',
00039                                   'Return to Editor')})
00040     print(d.num)
00041 


Variable Documentation

Definition at line 7 of file dialog.py.

Initial value:
00001 Button(None, {'text': 'Quit',
00002                       'command': t.quit,
00003                       Pack: {}})

Definition at line 46 of file dialog.py.

Initial value:
00001 Button(None, {'text': 'Test',
00002                       'command': _test,
00003                       Pack: {}})

Definition at line 43 of file dialog.py.