Module Import alias Import alias Import alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Num Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Num FunctionDef arguments args NameParam defaults body AugAssignAdd AttributeStore NameLoad attr Num decorator_list Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Num NameLoad decorator_list decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr
N/A N/A unittest N/A GafferUI N/A GafferUITest SelectionMenuTest N/A N/A GafferUITest TestCase N/A testAccessors N/A N/A self N/A N/A N/A s N/A N/A GafferUI SelectionMenu N/A N/A N/A s addItem Test1 N/A N/A N/A s addItem Test2 N/A N/A N/A s addItem Test3 N/A N/A N/A self assertEqual N/A N/A s getTotal 3 N/A N/A N/A s setCurrentIndex 1 N/A N/A N/A self assertEqual N/A N/A s getCurrentItem Test2 N/A N/A N/A self assertEqual N/A N/A s getItem N/A N/A s getCurrentIndex Test2 N/A N/A N/A s removeIndex 0 N/A N/A N/A self assertEqual N/A N/A s getTotal 2 N/A testInsert N/A N/A self N/A N/A N/A s N/A N/A GafferUI SelectionMenu N/A N/A N/A s addItem Test1 N/A N/A N/A s addItem Test2 N/A N/A N/A s addItem Test3 N/A N/A N/A self assertEqual N/A N/A s getTotal 3 N/A N/A N/A s insertItem 1 Test4 N/A N/A N/A self assertEqual N/A N/A s getItem 1 Test4 N/A testCurrentIndexChangedSignal N/A N/A self N/A N/A N/A s N/A N/A GafferUI SelectionMenu N/A N/A self emissions 0 f N/A N/A w N/A N/A N/A N/A self emissions 1 N/A N/A c N/A N/A N/A N/A s currentIndexChangedSignal connect f N/A N/A N/A s addItem Test1 N/A N/A N/A s addItem Test2 N/A N/A N/A self assertEqual N/A self emissions 1 N/A testNoQString N/A N/A self N/A N/A N/A s N/A N/A GafferUI SelectionMenu N/A N/A N/A s addItem Test N/A N/A N/A self failUnless N/A isinstance N/A N/A s getCurrentItem str N/A N/A N/A self failUnless N/A isinstance N/A N/A s getItem 0 str N/A N/A N/A N/A __name__ __main__ N/A N/A N/A N/A unittest main