On Wed, 10 Nov 1999, James Henstridge wrote:
> If you have a reference to the toplevel, you can just call its destroy()
> method. This will remove it from screen and destroy it. Any references
> to the widget you still have will still be valid, as GtkWidgets are
> reference counted objects. Of course, if you have connected a handler to
> the destroy event that calls mainquit(), you may have to either change the
> way the application quits, or block that signal handler.
Thanks. This explains that question.
> Currently libglade does not support the default width/height tags in glade
> files. I will be releasing a new version of libglade soon, which should
> do this.
In this case, I'll wait rather than add code. Thanks. :)
> I don't know about the third problem. If you call get_widget again, you
> should get a pointer to the same widget. If you have destroyed the widget
> since creating the interface, it may cause problems. If you want another
> copy of the interface, you will have to create another GladeXML object
> (note that this does not entail reparsing the XML file -- libglade will
> use a cached version provided the interface file has not changed on disk).
I think, rather than reget, I'll hide objects rather than destroy them.
--
_Deirdre * http://www.linuxcabal.net * http://www.deirdre.net
"Mars has been a tough target" -- Peter G. Neumann, Risks Digest Moderator
"That's because the Martians keep shooting things down." -- Harlan Rosenthal
<[EMAIL PROTECTED]>, retorting in Risks Digest 20.60
To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]