craf wrote:
Hi.
The query code is as follows:
--
import Tkinter
import tkMessageBox
class App:
def __init__(self, master):
master.protocol(WM_DELETE_WINDOW,quit)
def quit():
if
- Mensaje reenviado
De: Peter Otten __pete...@web.de
Para: python-list@python.org
Asunto: Re: Calling function from another module
Fecha: Thu, 16 Dec 2010 13:16:30 +0100
Grupos de noticias: comp.lang.python
craf wrote:
Hi.
The query code is as follows
Hi.
The query code is as follows:
--
import Tkinter
import tkMessageBox
class App:
def __init__(self, master):
master.protocol(WM_DELETE_WINDOW,quit)
def quit():
if tkMessageBox.askyesno('','Exit'):
master.quit()
On Dec 15, 6:46 pm, craf p...@vtr.net wrote:
Hi.
The query code is as follows:
--
import Tkinter
import tkMessageBox
class App:
def __init__(self, master):
master.protocol(WM_DELETE_WINDOW,quit)
def quit():
if