Dear all,

For a particuliar case, I need to copy all the items of
an existing menu (including the separators and sub-menus)
in a new empty one ... Does someone knows how to do that ?
I've tried :
item = menu_orig.findItem(item_id)
menu_new.insertItem(item, item_id)
but it fails with :
TypeError: argument 1 of QMenuData.insertItem() has an invalid type

Thanks in advance,

Cheers,

                 K.

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to