Repacking a widget
- From: Richard Jones <rich annexia org>
- To: gtk-app-devel-list gnome org
- Subject: Repacking a widget
- Date: Thu, 10 Jul 2003 13:23:00 +0100
Hi:
I have a widget packed into a table (with other widgets). As part of
the UI I need to have a "zoom" button which takes the widget, removes
the table, and repacks the widget into the table's parent. ie. The
widget will appear to zoom to full screen.
When I try to zoom my existing widget, I get this assertion, and
nothing displays:
Gtk-CRITICAL **: file gtkbox.c: line 332 (gtk_box_pack_start): assertion `child->parent == NULL' failed.
I've been told that I can only pack widgets if they are "floating"
(presumably meaning they don't have a parent?). But I see no way to
"float" a widget.
How can I do this?
Rich.
--
Richard Jones. http://www.annexia.org/ http://freshmeat.net/users/rwmj
Merjis Ltd. http://www.merjis.com/ - all your business data are belong to you.
MONOLITH is an advanced framework for writing web applications in C, easier
than using Perl & Java, much faster and smaller, reusable widget-based arch,
database-backed, discussion, chat, calendaring:
http://www.annexia.org/freeware/monolith/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]