Re: [gtk-list] Proposal: how about a gtk_canvas widget?



Des Herriott <des@ops.netcom.net.uk> writes:

> One thing I've always liked about Tk is the canvas widget.
> 
> For those who haven't used it, it's a widget which allows you to add
> simple graphical elements (lines, arcs, polygons, text etc.) to it, as
> well as widgets.  Each element on the canvas has a unique ID, and
> elements' attributes (geometry, colour, line width...) can be updated
> by their ID.  It's also possible to tag a whole bunch of elements and
> update elements by tag.  Each element can also respond to various
> events - mouse & keyboard events, mainly.

If you do this, make sure you leave hooks/provisions for postscript
dumping.  Then I, or someone else, can go back in and add the actual
postscript code later.

-- 
Rob Browning <rlb@cs.utexas.edu>
PGP fingerprint = E8 0E 0D 04 F5 21 A0 94  53 2B 97 F5 D6 4E 39 30



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