Re: AGAIN: Reducing the size of a table
- From: Owen Taylor <otaylor redhat com>
- To: Justin Hopper <gus gusalmighty com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: AGAIN: Reducing the size of a table
- Date: 04 Jun 2003 22:04:19 -0400
On Wed, 2003-06-04 at 20:17, Justin Hopper wrote:
Hello,
Did anyone have any thoughts about the table issue I was having? I
pasted the original message in below. Perhaps it's so easy that no one
thought to answer it? =)
-----------------
Hello list members,
It seems that dynamically growing a table widget works just fine, but if
you use gtk_table_resize(...) to reset the size to something smaller,
the table is not reduced. Perhaps I need to call some function to
redraw it? Perhaps I need to deallocate the widgets that are in the
rows that will be snipped?
Any help is greatly appreciated.
-----------------
For non-homogenous tables, there is no reason to ever worry about how
big a table is -- GTK+ will add rows/columns as necessary automatically
and if you delete widgets, the unused rows/columns will have no effect.
Just delete the widgets that you don't want in the table any more.
For a homogenous table, resize() does have some effect, but you should
certainly remove any widgets in those rows/columns before resizing
smaller.
Regards,
Owen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]