Sizing text widgets



[I sent this earlier, but it didn't seem to go through.  Apologies if
you get two copies]

Is it possible to size a text widget so it is exactly tall enough to
hold its contents?  The closest I've been able to come is to connect to
the "changed" signal of text->vadj, and call gtk_widget_set_usize to set
the height to text->vadj->upper.  However, this change does not take
place immediately.  Is there any way to make the change happen
immediately, or is there another way to do this?

Ben Darnell
bgdarnel@unity.ncsu.edu



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