Hi,

A quick look in the gtk API docs on developer.gnome.org says that GTK_STOCK_EDIT was added in gtk+ 2.6.
So this means that you have to use gtk# 2.6 or better.

/Fredrik

P.S. You can find a lot of useful information how to use gtk# by looking at the docs for C on developer.gnome.org.

Clark Endrizzi wrote:
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 <[EMAIL PROTECTED]> wrote:
Thank you!

I'll try it out.

On 1/7/06, Fredrik Nilsson <[EMAIL PROTECTED]> 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  -  [email protected]
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list



--
-Clark Endrizzi



--
-Clark Endrizzi
_______________________________________________
Gtk-sharp-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list



_______________________________________________
Gtk-sharp-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Reply via email to