[Gtk-sharp-list] Toolbar buttons
John Luke
john.luke at gmail.com
Thu Jun 16 18:22:39 EDT 2005
Hello,
n Thu, 2005-06-16 at 23:07 +0100, Milen Dzhumerov wrote:
> Hello again,
>
> >
> > I want to ask what's the proper way of adding toolbar buttons to the
> > toolbar widget so when users chose toolbars without text, your
> > application automatically does this. Any help is greatly appreciated.
The non-deprecated way is to use ToolButton, ToolItem, etc. and
Gtk.Toolbar.Insert ()
You use it something like this:
Toolbar toolbar = new Toolbar ();
ToolButton button = new ToolButton (Gtk.Stock.New);
button.IsImportant = true;
toolbar.Insert (button, -1);
More information about the Gtk-sharp-list
mailing list