Re: Ann: GtkCanvas 0.1



On Mon, 24 Jul 2000, Andy Tai wrote:

> Simply, this canvas offers the GnomeCanvas on a more stand alone basis,  
> making the functionalities available to gtk+ programs which do not use
> GNOME.
> 
> There were people requesting this from time to time.

Hmmm... well - to get canvas functionality, you have to incorporate 4
files:

gnome-canvas.c
gnome-canvas.h
gnome-canvas-util.c
gnome-canvas-util.h

into your Gtk+ program - plus some very-very small corrections.
It is quite little amount of code, so I am not sure, whether having it as
separate library helps or confuses Gtk+ programmers. Do not forget, that
USERS have to install that little beast too...

If you want stock canvas items, you need more code, but most real programs
tend to define their own canvas items anyway...

P.S. Even so little code is worth sharing - but having too much too tiny
libraries will become a problem one day.

Lauris






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