Picture in menu and button



Hello,

I found new fonction today in gtk 2.0. The possibility to add picture in menu created with GtkItemFactory. We have just to add GTK_STOCK_QUIT for example to have an image. But I would like to know if it's possible to use my picture ? If yes, how ?

Then, I found : gtk_button_new_from_stock which one we can create button with image. Before I use : gtk_button_new_with_label. But with the new function, I can't specifie the label of the button. So how could I change the label if I use gtk_button_new_from_stock (GTK_STOCK_QUIT) for example ? I think that it's the same methode that for menu but i don't now.

Thank you.
Arno


______________________________________________________________________________
ifrance.com, l'email gratuit le plus complet de l'Internet !
vos emails depuis un navigateur, en POP3, sur Minitel, sur le WAP...
http://www.ifrance.com/_reloc/email.emailif





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