From: "Firstname Lastname" <msnsux@hotmail.com>
To: guile-gtk@sourceware.cygnus.com
Subject: pixmaps and drawing areas
Date: Thu, 13 Jan 2000 20:51:00 -0000 [thread overview]
Message-ID: <20000114045124.27080.qmail@hotmail.com> (raw)
I've been trying to create some animations for a small game i want to write
in guile-gtk. My plan was to create a drawing-area, then create a bunch of
pixmaps from .xmp files that i have, then draw them in the drawing area.
Things are not working as i planned. It's been several days and i have yet
to figure how to get the pixmap to draw on the drawing area.
my code:
;test
(let ((drawing (gtk-drawing-area-new)))
(let((picture3 (gtk-pixmap-new "./peon3-4.xpm" drawing)))
(gtk-drawing-area-size drawing 50 50)
(gdk-draw-pixmap drawing picture3)
(gtk-box-pack-start main-box drawing #t #t 0)
(gtk-widget-show drawing)
))
now the fact that i did gtk-pixmap-new, makes me think it might be
incompatible with the gdk-pixmap-draw routine (one in gtk one is gdk), but
gdk-pixmap-new will not accept a filename as it's parameter.
How do i get this to work, or am i taking the entirely wrong approach to
this?
Thanx,
Corey
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
reply other threads:[~2000-01-13 20:51 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20000114045124.27080.qmail@hotmail.com \
--to=msnsux@hotmail.com \
--cc=guile-gtk@sourceware.cygnus.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).