I want to have a button on a toolbar with a dropdown arrow that pops up a menu. Here is my Xml:

        "<ui>" +
        "  <toolbar name='Toolbar'>" +
        "       <toolitem action=''>" +
            "      <menu action=''>"+
             "        <menuitem action=''/>"+
            "      </menu>"+
        "        </toolitem>"+
        "  </toolbar>" +
        "</ui>";

Keep getting (<unknown>:2452): Gtk-CRITICAL **: gtk_menu_tool_button_set_menu: assertion `GTK_IS_MENU_TOOL_BUTTON (button)' failed

Seems the ui manager is creating a ToolButton and not a MenuToolButton.
Using latest GTK# on windows.
Thanks

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

Reply via email to