Re: Implementing my own ScrolledWindow
- From: Tadej BorovÅak <tadeboro gmail com>
- To: Noam Yorav-Raphael <noamraph gmail com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Implementing my own ScrolledWindow
- Date: Mon, 5 Jul 2010 08:54:24 +0200
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]