1. EuGTK - scrollbar
- Posted by Jerry_Story Oct 12, 2010
- 1061 views
How do you put a scrollbar on a listview?
Why does a scrollbar need to be added to a listview? Why does it not come with the listview? Seems to me a listview without a scrollbar is a bit like a car without a steering wheel and the steering wheel is extra.
2. Re: EuGTK - scrollbar
- Posted by irv Oct 12, 2010
- 1022 views
How do you put a scrollbar on a listview?
You don't. You put a listview (or whatever other stuff you want) into a scrolled window.
Why does a scrollbar need to be added to a listview? Why does it not come with the listview? Seems to me a listview without a scrollbar is a bit like a car without a steering wheel and the steering wheel is extra.
A short list wouldn't necessarily need to be scrolled. And there are other things which might be too large to show in their entirety in a window - like a large jpg - so the scrolled window is available for those too.
Since it's impossible to predict which of the 190+ controls someone might want to add scrolling to, it's better to make just one scrolling container that can scroll whatever is put into it.