Re: Implementing my own ScrolledWindow



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
tadeboro gmail com
tadej borovsak gmail com



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