Re: RFC: scrolling

2011-12-08 Thread Benjamin Otte
On Fri, Dec 9, 2011 at 3:48 AM, Matthias Clasen wrote: > gtk_scrolled_window_add_with_viewport lets you largely get away with > pretending you are in case C), right ? > It just automatically inserts a GtkViewport between the > GtkScrolledWindow and your 'large canvas' widget. Taken together > GtkS

Re: RFC: scrolling

2011-12-08 Thread Matthias Clasen
Hey Benjamin, what a long, detailed mail. You managed to break the kill-the-discussion threshold, I fear... I'll try to comment on a few points below. > I can come up with a few methods to implement this split: > > A) Don't implement it > Instead, just rely on scrollables to do the scrolling the

Re: RFC: scrolling (typo)

2011-12-06 Thread Benjamin Otte
On Tue, Dec 6, 2011 at 6:26 AM, Benjamin Otte wrote: > - "viewport" > This is the widget that is actually managing the scrolling by drawing > scrollbars, reacting to scroll events and such. This is roughly > equivalent to GtkViewport from the GTK side. > typo: This should read: This is roughly equ

Re: RFC: scrolling

2011-12-06 Thread Kristian Rietveld
On Dec 6, 2011, at 6:26 AM, Benjamin Otte wrote: > A) Don't implement it > B) Let the scrollable do the scrolling > C) Let the viewport do the scrolling > In this approach, one treats the scrollable as just a large canvas and > the viewport provides a view onto an area of the scrollable. Scrolling

RFC: scrolling

2011-12-05 Thread Benjamin Otte
Hey, Here's another one of those mails about stuff to think about for the hackfest. This time I have no clue at all what I consider the solution we should take and I've been thinking about this since at least the last hackfest. Relevant links to this are: https://live.gnome.org/GnomeOS/Design/Wh