Cheemeng wrote: > the doc for ToolStripItemCollection.AddRange list the 2 overloads as: > ToolStripItemCollection.AddRange (ToolStripItem[]) > ToolStripItemCollection.AddRange (ToolStripItemCollection) > > in prev ironpython version, we can pass a python list as argument, > in the newest version, this gives TypeError: no applicable overload > > ctxMenu.Items.AddRange([ms]) # doesn't work in new version
Oddly enough, the list syntax doesn't work but using a tuple does: >>> ctxMenu.Items.AddRange((ms,)) >>> -- Jonathan _______________________________________________ users mailing list [email protected] http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
