[Gtk-sharp-list] Changing stock item buttons

Clark Endrizzi cendrizzi at gmail.com
Sat Jan 7 14:34:32 EST 2006


Thank you!

I'll try it out.

On 1/7/06, Fredrik Nilsson <jymdman at home.se> wrote:
> Hi!
>
> button.Label = Gtk.Stock.Add;
>
> should do the work for you!
>
> /Fredrik
> > 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
> >
> >
> >
>
>


--
-Clark Endrizzi


More information about the Gtk-sharp-list mailing list