From: "Firstname Lastname" <msnsux@hotmail.com>
To: guile-gtk@sourceware.cygnus.com
Subject: guile-gtk function stubs?
Date: Sun, 16 Jan 2000 12:14:00 -0000 [thread overview]
Message-ID: <20000116201347.20220.qmail@hotmail.com> (raw)
I found a C function as follows:
GdkPixmap* gdk_pixmap_create_from_xpm (GdkWindow *window,
GdkBitmap **mask,
GdkColor *transparent_color,
const gchar *filename);
which obviously translates to gdk-pixmap-create-from-xpm, but i'm uncertain
how the paramteres may have changed. are there stub files anywhere which
can tell me the modifications to the parameter list? 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"))
(i couldn't find a NULL defined anywhere, so i assumed were supposed to use
0)
actually, of interest, it gives me the same message when using:
(let ((drawing (gtk-drawing-area-new)))
(let((picture3 (gdk-pixmap-create-from-xpm))
which since it's not saying "wrong numer of parameters", shows that
somethings wrong somwhere.
Of interest,
(let ((qbutton (gtk-button-new-with-label "stubble2")))
(let((picture2 (gtk-pixmap-new "./peon3-2.xpm" qbutton)))
(gtk-box-pack-start main-box picture2 #t #t 0)
(gtk-widget-show picture2)
))
works perfectly fine (except that it's not in a drawing-area). Any ideas?
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
next reply other threads:[~2000-01-16 12:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-01-16 12:14 Firstname Lastname [this message]
2000-01-16 14:50 ` Marius Vollmer
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=20000116201347.20220.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).