Re: GTK+2.0 image widget (bmp, jpeg)



Quoted by a team of mega dolphins
For `ritwik kumar <linux4ritwik yahoo com>' 
On Friday, 11 July 2003 (04:20):


    Please indicate some tutorials or send some
examples (easy ones) so that i can proceed with my
development. please help so that i can proceed with my
dev work


        Use GtkImage -- it'll open any format that GdkPixbuf supports.

        GtkWidget *wid;

        wid = gtk_image_new_from_file("test.jpeg");
        gtk_widget_show(wid);


-- 

 Leandro Pereira              (oO)           <leandro linuxmag com br>
                              /||\                  www.mindcrisis.tk
<glommer> cartão perfurado orientado a objetos, imagina ?
<UdontKnow> cartao eh objeto, ora




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