[Gtk-sharp-list] Glade - problem when menu entries specified

Fredrik Nilsson jymdman@home.se
Wed, 16 Jun 2004 22:11:00 +0200


On ons, 2004-06-16 at 21:08 +0200, Viktor Stansvik wrote:
> Okay, thanks.
> To illustrate the problem I created a new minimal Glade# project using
> MonoDevelop and edited the gui.glade file with Glade. I added a MenuBar,
> removed all the stock items that's in it by default and added one
> non-stock item to it. It compiles but I get the error messages I
> mentioned previously.
> 
> Some version numbers:
> mono - 0.91
> gtk-sharp - 0.91
> 
> I've attached the source code file, the glade file and the error
> message.
> Sorry for not getting your hint about providing more information -
> English isn't my native language you know :)
> 
> Viktor

Hi,

Works for me if I add the following code to your example:

public void on_item1_activate (object o, EventArgs args)
{
	Console.WriteLine ("item1 activate");
}



I'm using mono 0.95 and gtk-sharp 0.93

/Fredrik