thubanframe question
Martin Schulze
joey at infodrom.org
Tue Jun 13 15:27:48 CEST 2006
Didrik Pinte wrote:
> What is the exact aim of the following method in Thuban/UI/ThubanFrame?
>
> def OnClose(self, event):
> # FIXME: Shouldn't this really be in OnDestroy?
> if self.parent.dialogs.has_key(self.name):
> self.parent.remove_dialog(self.name)
> self.Destroy()
It first removes the dialog from the queue of the parent and then
destroys the dialog itself. When a dialog is created, it is placed
into the parent queue.
Regards,
Joey
--
Open source is important from a technical angle. -- Linus Torvalds
More information about the Thuban-devel
mailing list
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)