Re: The correct way to implement a large scrolled canvas

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

 



>I understand the standard way of doing this (i.e. create a drawing area
>of an appropriate size, then insert it in to a scrolled window) but it strikes
>me that this is an inefficient way of doing things for a large drawing area,
>as the complete drawing area needs to be maintained in memory, even 
>though only a small part of it is visible at any time.   This seems to be the
>way that most programs of this sort work (for example - dia).

GnomeCanvas. 

Despite its name, its really a GtkWidget that requires no part of
GNOME other than what GTK already requires.

Dia uses its own modified version of GnomeCanvas. Likewise for
Sodipodi. And for my project (http://ardour.org), we use an older
version of the Canvas that was backported to be a pure Gtk widget - we
will upgrade to GTK2 in the very near future.

--p
_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux