Package nltk :: Package draw :: Module util :: Class ShowText
[hide private]
[frames] | no frames]

type ShowText

source code

object --+
         |
        ShowText

A Tkinter window used to display a text. ShowText is typically used by graphical tools to display help text, or similar information.

Instance Methods [hide private]
 
__init__(self, root, title, text, width=None, height=None, **textbox_options) source code
 
find_dimentions(self, text, width, height) source code
 
destroy(self, *e) source code
 
mainloop(self, *args, **kwargs)
Enter the Tkinter mainloop.
source code
Method Details [hide private]

__init__(self, root, title, text, width=None, height=None, **textbox_options)
(Constructor)

source code 
Overrides: object.__init__
(inherited documentation)

mainloop(self, *args, **kwargs)

source code 

Enter the Tkinter mainloop. This function must be called if this window is created from a non-interactive program (e.g. from a secript); otherwise, the window will close as soon as the script completes.