Re: changing icon of button on toolbar



The way I was able to do it was to remove (gtk_widget_destroy()) the button, then toolbar, and then rebuild both. It works but seems like so much work when all I want to do is change the icon associated with the button...... any better ways???


Dennis L. Goyette Sr. wrote:

How do I change the icon associated with a button in a toolbar?? I want to change the icon based on another button that is clicked/pressed after a popup window containing a toolbar with button icons comes up. The button that is clicked on in the popup window/toolbar is the one that is to replace another button icon....

Dennis


_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list







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