On 18/02/2008, Lindley M French <[EMAIL PROTECTED]> wrote:
> I have a GtkTable containing labels and entries. I don't want all label/entry 
> pairs to be visible at all times. To control this, I use gtk_widget_show/hide 
> on the labels and entries of a given row.
>
> Previously, this worked just fine. After I refactored slightly, it no longer 
> does, and I cannot pin down the reason.

I find I have to call gtk_widget_queue_resize() on the widget
enclosing the table after a table's member changes size. I'd try
putting in a few of them after you change the visibility of your
labels and entries.

If your table is large, you'll also find that having many gtkentries
is very slow. If possible, it's much faster to create and destroy them
rather than to show and hide.

John
_______________________________________________
gtk-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to