tkMessageBox
index
/usr/lib/python2.1/lib-tk/tkMessageBox.py

# Instant Python
# $Id: tkMessageBox.py,v 1.1 1997/07/19 20:02:36 guido Exp $
#
# tk common message boxes
#
# this module provides an interface to the native message boxes
# available in Tk 4.2 and newer.
#
# written by Fredrik Lundh, May 1997
#

 
Classes
            
tkCommonDialog.Dialog
Message

 
class Message(tkCommonDialog.Dialog)
      A message box
 
  
__init__(self, master=None, **options) from tkCommonDialog.Dialog
_fixoptions(self) from tkCommonDialog.Dialog
_fixresult(self, widget, result) from tkCommonDialog.Dialog
show(self, **options) from tkCommonDialog.Dialog

 
Functions
            
_show(title=None, message=None, icon=None, type=None, **options)
askokcancel(title=None, message=None, **options)
Ask if operation should proceed; return true if the answer is ok
askquestion(title=None, message=None, **options)
Ask a question
askretrycancel(title=None, message=None, **options)
Ask if operation should be retried; return true if the answer is yes
askyesno(title=None, message=None, **options)
Ask a question; return true if the answer is yes
showerror(title=None, message=None, **options)
Show an error message
showinfo(title=None, message=None, **options)
Show an info message
showwarning(title=None, message=None, **options)
Show a warning message

 
Data
             ABORT = 'abort'
ABORTRETRYIGNORE = 'abortretryignore'
CANCEL = 'cancel'
ERROR = 'error'
IGNORE = 'ignore'
INFO = 'info'
NO = 'no'
OK = 'ok'
OKCANCEL = 'okcancel'
QUESTION = 'question'
RETRY = 'retry'
RETRYCANCEL = 'retrycancel'
WARNING = 'warning'
YES = 'yes'
YESNO = 'yesno'
YESNOCANCEL = 'yesnocancel'
__file__ = '/usr/lib/python2.1/lib-tk/tkMessageBox.pyc'
__name__ = 'tkMessageBox'