1. EuGTK - scrollbar

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.

new topic     » topic index » view message » categorize

2. Re: EuGTK - scrollbar

Jerry_Story said...

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.

said...

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.

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu