Exemplo n.º 1
0
 internal override Gtk.MenuItem CreateMenuItem(CommandManager manager)
 {
     Gtk.MenuItem mi;
     if (autoHide)
     {
         mi = new AutoHideMenuItem(name != null ? name : "");
     }
     else
     {
         mi = new Gtk.MenuItem(name != null ? name : "");
     }
     mi.Submenu = new CommandMenu(manager, this);
     return(mi);
 }
		internal protected override Gtk.MenuItem CreateMenuItem (CommandManager manager)
		{
			Gtk.MenuItem mi;
			if (autoHide)
				mi = new AutoHideMenuItem (name != null ? name : "");
			else
				mi = new Gtk.MenuItem (name != null ? name : "");
			mi.Submenu = new CommandMenu (manager, this);
			return mi;
		}