xpm from char string

2004-10-05 Thread greg wolski
In the toolbar section of the tutorial, there is this xpm "gtk cube" image declared as a string like that: static char * gtk_xpm[] I don't understand how that works. But actually my question is how to use it in the example. I tried to use method gtk_image_new_from_pixmap(), but how do I put this st

learning gtk - callbacks

2004-09-24 Thread greg wolski
Hi there, I am trying to learn gtk and I have a hard time to understand signals. This comes from helloworld in tutorial g_signal_connect (G_OBJECT (window), "delete_event", G_CALLBACK (delete_event), NULL); g_signal_connect (G_OBJECT (window), "destroy", G_CALLB