[Gtk-sharp-list] Changing stock item buttons

Fredrik Nilsson jymdman at home.se
Sat Jan 7 14:16:31 EST 2006


button.Label = Gtk.Stock.Add;

should do the work for you!

> Hi, I define a button in Glade as the stock edit button.  Later in my
> progrma I want to change it to the stock add button.
> The problem is, and I've looked at this for over an hour, it looks
> like you define a button using the stock stuff at creation time, not
> allowing you to dynamically change it.  Is this correct?
> Does this mean I'm going to have destroy and recreate the buttons?
> --
> -Clark Endrizzi
> _______________________________________________
> Gtk-sharp-list maillist  -  Gtk-sharp-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

More information about the Gtk-sharp-list mailing list