[Gtk-sharp-list] Opening / Closing Windows
Peter Williams
peter@newton.cx
Tue, 09 Dec 2003 00:38:26 -0500
On Mon, 2003-12-08 at 20:04, Met @ Uber wrote:
> Within a glade file I have a Window widget which I don't want opened
> until a specific event. Upon that event I want to show it (.Show()
> presumably) and then on closing the window by hitting the X or by
> clicking "Close" I would like to destroy it. Since this is an applet,
> I'm guessing for memory purposes its better to create the Window and
> then destroy it again?
You might also check how Monodoc does its about box. That goes over
creation and destruction, and also makes sure that the about box is
unique too.
Peter
--
Peter Williams peter@newton.cx
"[Ninjas] are cool; and by cool, I mean totally sweet."
-- REAL Ultimate Power