Thanks a lot! You helped me find the answer: I had to call
textview.set_size_request(0, 0),
so now the textview doesn't request space for all its contents.

Thanks again,
Noam

On Mon, Jul 5, 2010 at 9:54 AM, Tadej Borovšak <tadeb...@gmail.com> wrote:
> Hello.
>
>> How can I make it not expand?
>
> You cannot do that with GtkTable, since table will always grant all
> the space GtkTextView requested. I see two possible solutions here:
> write GtkScrolledWindow-like widget from scratch (with all the
> scrollbar positioning, ...) or create simple wrapper widget that will
> "underallocate" your text view and place that into a table. Second
> solution is probably easier to implement, but first one is more
> flexible.
>
> Tadej
>
> --
> Tadej Borovšak
> tadeboro.blogspot.com
> tadeb...@gmail.com
> tadej.borov...@gmail.com
>
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to