[maemo-developers] Unable to display icon using gtk_button_new_from_stock
From: Pallavi Kandhare pallavi.kandhare at yahoo.comDate: Wed Jul 7 09:21:59 EEST 2010
- Previous message: Maemo-launcher does not load in scratchbox
- Next message: Unable to display icon using gtk_button_new_from_stock
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello, I am using GTK 2.0 and "gtk_button_new_from_stock" for displaying icon and label on a button. But "gtk_button_new_from_stock" displays only label and not the icon. Sample code: GtkWidget *button; button = gtk_button_new_with_label(_("Test button")); button = gtk_button_new_from_stock (GTK_STOCK_NEW) ; gtk_container_add(GTK_CONTAINER(window), button); gtk_widget_show_all ( GTK_WIDGET ( window ) ); Any help is appreciated. Thanks.
- Previous message: Maemo-launcher does not load in scratchbox
- Next message: Unable to display icon using gtk_button_new_from_stock
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]