GdkPixmap



Hi, 
can someone tel me how can i put a pixmap in a menu bar? 
ex:

item_aux = gtk_menu_item_new_with_label("Exit");
        gtk_menu_append(GTK_MENU(file_itens), item_aux);
 
        gtk_signal_connect_object (GTK_OBJECT (item_aux), "activate",
                                 GTK_SIGNAL_FUNC ( mata ), 0);

file = gtk_menu_item_new_with_label("File");
 
        gtk_widget_show(file);
 
        gtk_menu_item_set_submenu (GTK_MENU_ITEM (file), file_itens);

how can i put an pixmap on the "Exit" item?

thank you for your time, 
Nuno Afonso




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