[lambda-gtk-devel] gdk::pixmap-create-from-xpm-d argument type

Todd Dukes tdukes at freescale.com
Thu May 19 20:03:15 UTC 2005


What type should the literal xpm data be for
a call to gdk::pixmap-create-from-xpm-d.

The data in c is shown below. Looking at the types defined
with defalien-type in gtkffi-cmusbcl.lisp, the closest I
see is:

(defalien-type gchararray (* t))

How would this need to be altered to represent an array
of character arrays?

How then would the literal data appear in the lisp file?

Is there any more documentation for sbcl-af other than the
comments in the source distribution?

Thanks for any help.

Todd.


/* XPM */
static char * plus_xpm[] = {
"64 64 3 1",
"       c None",
".      c #FFFFFF",
"+      c #000000",
".......................+++++++++++++++++++......................",
".......................+++++++++++++++++++......................",
".......................+++++++++++++++++++......................",
".......................+++++++++++++++++++......................",
".......................+++++++++++++++++++......................",
".......................+++++++++++++++++++......................",
".......................+++++++++++++++++++......................",
".......................+++++++++++++++++++......................",
".......................+++++++++++++++++++......................",
".......................+++++++++++++++++++......................",
".......................+++++++++++++++++++......................",
".......................+++++++++++++++++++......................",
".......................+++++++++++++++++++......................",
".......................+++++++++++++++++++......................",
".......................+++++++++++++++++++......................",
".......................+++++++++++++++++++......................",
".......................+++++++++++++++++++......................",
".......................+++++++++++++++++++......................",
".......................+++++++++++++++++++......................",
".......................+++++++++++++++++++......................",
".......................+++++++++++++++++++......................",
".......................+++++++++++++++++++......................",
".......................+++++++++++++++++++......................",
"++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++",
"++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++",
"++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++",
"++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++",
"++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++",
"++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++",
"++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++",
"++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++",
"++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++",
"++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++",
"++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++",
"++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++",
"++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++",
"++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++",
"++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++",
"++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++",
"++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++",
"++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++",
"++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++",
".......................+++++++++++++++++++......................",
".......................+++++++++++++++++++......................",
".......................+++++++++++++++++++......................",
".......................+++++++++++++++++++......................",
".......................+++++++++++++++++++......................",
".......................+++++++++++++++++++......................",
".......................+++++++++++++++++++......................",
".......................+++++++++++++++++++......................",
".......................+++++++++++++++++++......................",
".......................+++++++++++++++++++......................",
".......................+++++++++++++++++++......................",
".......................+++++++++++++++++++......................",
".......................+++++++++++++++++++......................",
".......................+++++++++++++++++++......................",
".......................+++++++++++++++++++......................",
".......................+++++++++++++++++++......................",
".......................+++++++++++++++++++......................",
".......................+++++++++++++++++++......................",
".......................+++++++++++++++++++......................",
".......................+++++++++++++++++++......................",
".......................+++++++++++++++++++......................",
".......................+++++++++++++++++++......................"};



More information about the Lambda-gtk-devel mailing list