LordGolem wrote:

Can I use stock icons in a button without displaying the label?


Yep, button is a binary container, so you can pack stock image inside it with code like this:
{
GtkWidget *button, *image;


   button = gtk_button_new();
   image = gtk_image_new_from_stock (GTK_STOCK_OPEN, GTK_ICON_SIZE_BUTTON);
   gtk_container_add (GTK_CONTAINER (button), image);
}

   Olexiy

_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to