> class ToolMenuAction(Gtk.Action):This is basically broken API at the GTK+ level :-( ... a virtual
> def do_create_tool_item(self):
>
> return Gtk.MenuToolButton()
function can't return (transfer none) unless it's a getter for an
existing field. It is expected that language bindings will have no way
to create a floating object, so a virtual function cannot expect to be
returned a floating object.
The only thing I can see at the GTK+ level would be to add a
make_tool_item replacement vfunc and use that instead if non-null.