[9625] in The GTK GIMP ToolKit mailing list archive

home help back first fref pref prev next nref lref last post

[gtk-list] Re: Line Drawing

daemon@ATHENA.MIT.EDU (Eric Harlow)
Wed Oct 28 21:33:47 1998

Date: Wed, 28 Oct 1998 18:32:01 -0800 (PST)
From: Eric Harlow <linuxgeek@yahoo.com>
To: gtk-list@redhat.com, brownk@chem4823.usask.ca
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com


I've already done this with gtk and a drawing area widget.  Visit

http://www.bcpl.net/~eharlow/book

Chapter 12 is GDK and the drawing area widget.
Chapter 13 is a molecule viewer for pdb files in GTK with a drawing
area.  I'm planning on putting the source for that chapter on-line
this weekend if you want to use it as a starting point.

 -Eric



---Keith Brown <brownk@chem4823.usask.ca> wrote:
>
> 
>    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.
> 
> Keith
> 
> 
> 
> -- 
> To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com <
/dev/null
> 
> 

_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com

-- 
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post