Re: gtk_container_add failed



Quoted by a cadre of power worms
For `weiwu <weiwu mpnet com cn>' 
On Tuesday, 10 June 2003 (10:35):

 pixmapwid = gtk_pixmap_new (pixmap, mask);
 button = gtk_button_new_with_label ("beautiful");
 gtk_signal_connect (GTK_OBJECT (button), "clicked",
                        GTK_SIGNAL_FUNC (callback), (gpointer) "beautiful");
 gtk_container_add (GTK_CONTAINER (pixmapwid), button); 

        gtk_container_add(GTK_CONTAINER(button), pixmapwid);
        gtk_widget_show_all(button);

-- 

 Leandro Pereira              (oO)           <leandro linuxmag com br>
                              /||\                  www.mindcrisis.tk

         "Se você obedece a todas as regras, acaba perdendo
                toda a diversão." --Katherine Hepburn




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]