public inbox for guile-gtk@sourceware.org
 help / color / mirror / Atom feed
From: Marius Vollmer <mvo@zagadka.ping.de>
To: "Firstname Lastname" <msnsux@hotmail.com>
Cc: guile-gtk@sourceware.cygnus.com
Subject: Re: guile-gtk function stubs?
Date: Sun, 16 Jan 2000 14:50:00 -0000	[thread overview]
Message-ID: <87d7r1rbci.fsf@zagadka.ping.de> (raw)
In-Reply-To: <20000116201347.20220.qmail@hotmail.com>

"Firstname Lastname" <msnsux@hotmail.com> writes:

> Im guessing it's moddified cause i keep getting error messages like:
> 
> $ ./interface.scm
> ERROR: In procedure primitive-load in expression (primitive-load name):
> ERROR: end of file in
> $
> 
> 
> from :
> 
> (let((picture3 (gdk-pixmap-create-from-xpm drawing 0 0 "./peon3-4.xpm"))

This is not a complete Scheme expression.  You can tell because there
are to few closing parentheses.
 
> (i couldn't find a NULL defined anywhere, so i assumed were supposed to use 
> 0)

Use `#f' (the Scheme `false' value) for NULL.

> actually, of interest, it gives me the same message when using:
> 
> (let ((drawing (gtk-drawing-area-new)))
>   (let((picture3 (gdk-pixmap-create-from-xpm))

This is also a incomplete Scheme expression.
 
But, unfortunately, I don't think there is a Scheme equivalent of
gdk_pixmap_create_from_xpm yet.  I don't exactly remember why, tho.
Something to do with the type confusions between GdkPixmap, GdkBitmap
and GdkWindow, I guess.

So, I think you are out of luck with Gdk pixmaps and guile-gtk,
currently.  Maybe there is someone out there on this list who can take
a look at this issue?

      reply	other threads:[~2000-01-16 14:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-01-16 12:14 Firstname Lastname
2000-01-16 14:50 ` Marius Vollmer [this message]

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=87d7r1rbci.fsf@zagadka.ping.de \
    --to=mvo@zagadka.ping.de \
    --cc=guile-gtk@sourceware.cygnus.com \
    --cc=msnsux@hotmail.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).