From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Firstname Lastname" To: guile-gtk@sourceware.cygnus.com Subject: guile-gtk function stubs? Date: Sun, 16 Jan 2000 12:14:00 -0000 Message-id: <20000116201347.20220.qmail@hotmail.com> X-SW-Source: 2000-q1/msg00014.html 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