tkMessageBox
index
/usr/local/lib/python2.3/lib-tk/tkMessageBox.py

# Instant Python
# $Id: tkMessageBox.py,v 1.2 2003/04/06 09:00:54 rhettinger 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
 
  Data and other attributes defined here:
command = 'tk_messageBox'

Methods inherited from tkCommonDialog.Dialog:
__init__(self, master=None, **options)
show(self, **options)

 
Functions
       
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'