Re: scrolled window design



Helmethead <hoshem mel comcen com au> writes:
> gtkscrolledwindow seems designed to have a viewport child OR any
> other scrollable child.  What is this needed for?  I don't like it
> >:/
> 

Your mail doesn't present a single reason why this is a problem, btw. 

But, the reason: because you may not want to scroll the entire widget,
just part of it. Try putting a CList in a viewport, put that in a
scrolled window, and note the problem.

If you are going to get rid of something for API cleanliness, viewport
is the thing to go - conceptually there's a GtkScrollable interface,
and Viewport is just a hack to allow you to avoid implementing it.

Insisting on that API cleanliness would just be pedantic and make the
thing hard to use.

Havoc




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