Re: GtkTable isn't updating properly

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 18/02/2008, Lindley M French <lfrench1@xxxxxxx> 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
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux