I'm new with maya and python, and i've some problems with the creation of a treeview.
how can i assign a function with the selectCommand ?
I tried several ways to write it, but always got errors back.
mc.treeView(tView, e=True, addItem = (f, os.path.basename(fol)),selectCommand = 'testFn() 1')
and get this error back
// Error: testFn() 1 "df.py" 1; //
// Error: Syntax error //