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.


      

_______________________________________________
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers

Reply via email to