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.

It now takes two "events" (clicks in this case) to get everything correct. When 
I first start the program, only one pair is visible. I make one click, and the 
data in that pair is updated correctly, and tracing through it's apparent that 
show() is being called on all the other pairs; but they do not appear. If I 
click again in the same place, they show up just fine.

If I then click somewhere else that requires a different set of label/entry 
pairs, the set of visible pairs correctly changes immediately, but the spacing 
of the two columns in the GtkTable does *not* update until the second click. So 
I've got labels partially visible or incorrectly aligned in the meantime.

Anyone know what could possibly be wrong here?
_______________________________________________
gtk-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to