[Gtk-sharp-list] Glade# and toolbar buttons

Todd Berman tberman@off.net
Thu, 23 Dec 2004 11:11:49 -0800

On Thu, 2004-12-23 at 14:54 +0000, Hasan Veldstra wrote:
> > Does this mean that I can't use toolbar buttons from gtk#? 
> > If yes this might explain the situation.

The problem is a mismatch between the version of gtk+ api glade is
generating and the version that gtk-sharp 1.0 binds. Newer [lib]glades
(which is what you are using) use Gtk.Toolbar and Gtk.ToolbarItem.
Gtk.Toolbar exists in gtk-sharp 1.0, but Gtk.ToolbarItem does not, as
Gtk.ToolbarItem is a gtk+ 2.4 class. Older versions of glade, which used
the gtk+ 2.2 api for adding items worked with gtk# and this new version
of glade and gtk-sharp-2.0 (SVN HEAD and the gtk-sharp-1.9.x release
series) work fine.