Picture in menu and button
- From: Arno <dark-arno ifrance com>
- To: Mailling List GTK <gtk-list gnome org>
- Subject: Picture in menu and button
- Date: Wed, 03 Jul 2002 23:09:52 +0200
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]