Re: The correct way to implement a large scrolled canvas
- From: Paul Davis <paul linuxaudiosystems com>
- To: "David J. Singer" <doc deadvirgins org uk>
- Cc: gtk-list gnome org
- Subject: Re: The correct way to implement a large scrolled canvas
- Date: Tue, 19 Oct 2004 15:56:16 -0400
>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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]