james donohue <[EMAIL PROTECTED]> writes:

> Hi all,
> 
> Could somebody help me to understand the meaning of this intriguing quote:
> 
> "This means that you can implement scrolling by simply creating a huge
> GdkWindow and calling gdk_window_scroll() to move it around.
> gdk_window_scroll() will perform a fast, flicker-free scroll. Look at
> GtkTextView and GtkTreeView for example code."
>  -- from Malcolm Tredinnick's porting guide for GNOME 2.0

Hmmm, this got a little mangled.

You have your choice of either:

 - Creating a huge window and moving it around 
   with gdk_window_move()

 - Scrolling a small window with gdk_window_scroll()

The 32 bit coordinates still help you in the latter case if
you have subwindows .... if you scroll a subwindow more
than 16-bits of coordinates worth, it won't wrap around.

Regards,
                                        Owen
_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to