[9618] in The GTK GIMP ToolKit mailing list archive
[gtk-list] Re: Line Drawing
daemon@ATHENA.MIT.EDU (Federico Mena Quintero)
Wed Oct 28 15:18:06 1998
Date: Wed, 28 Oct 1998 14:53:33 -0500
From: Federico Mena Quintero <federico@nuclecu.unam.mx>
To: gtk-list@redhat.com
In-reply-to: <Pine.LNX.3.93.981028132558.7851B-100000@chem4823.usask.ca>
(message from Keith Brown on Wed, 28 Oct 1998 13:29:26 -0600 (CST))
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com
> I'd like to develop an application for drawing simple molecular
> structures but I'm stuck at the starting gate. How does one draw a
> straight line, erase a drawn line, change the colour of the line and
> change the colour of the background? Admittedly, I haven't read the
> tutorial cover to cover but there doesn't seem to be anything about these
> questions there. Any help is much appreciated.
The easiest thing may be to use the GnomeCanvas widget. There is
partial documentation for it, but you can get good examples of its use
from the rest of the Gnome sources.
Federico
--
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null