Right, but the actual data string passed to gtk_bitmap_create_from_data() is not a C string, but a packed array of bytes. (Bitmap data.) The correct type for such a string seems to be const-guchar*; if you use const-gchar*, pygtk barfs when you try to pass a string with embedded zero characters, which are perfectly legal for bitmap data.
E _______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/