Alert - EndingOsprey317/jlib GitHub Wiki
__init__
jlib.alert.__init__(*args)
This code creates a tkinter message box which will contain a title and some text. There are two optional arguments. Argument 1 is what text will be shown in the text area of the message box. Argument 2 is the title of the message box. If either argument is left blank, the default values are text = "JLIB: alert" and title = "ALERT!". If argument 1 is "!pass", the function will not provide any code. This is used for when the function is called as a string.
__str__
jlib.alert.__str__()
When the module is called as a string it will return the following text:
JLIB: alert
--jlib.alert(): send an alert message box