[Gtk-sharp-list] Changing stock item buttons

Clark Endrizzi cendrizzi at gmail.com
Sat Jan 7 14:46:49 EST 2006


Hmmm, for some very strange reason I don't have Gtk.Stock.Edit.  I
have all the others pretty much but not edit.  I know I don't have the
most current version, could this be the problem?  Edit seems like a
pretty common one though so I don't understand how this could be the
case.

Any ideas?

Thanks!

On 1/7/06, Clark Endrizzi <cendrizzi at gmail.com> wrote:
> 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
>


--
-Clark Endrizzi


More information about the Gtk-sharp-list mailing list