Module ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Num Num Expr Call AttributeLoad NameLoad attr Call NameLoad Str Expr Call AttributeLoad NameLoad attr Call NameLoad Str TryExcept body Expr Call AttributeLoad NameLoad attr Num handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Num NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Num NameLoad Str Expr Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr decorator_list decorator_list
N/A unittest TestCase muntjac.ui.grid_layout GridLayout muntjac.ui.label Label TestGridLayoutLastRowRemoval N/A TestCase N/A testRemovingLastRow N/A N/A self N/A N/A N/A grid N/A GridLayout 2 1 N/A N/A N/A grid addComponent N/A Label Col1 N/A N/A N/A grid addComponent N/A Label Col2 N/A N/A N/A N/A N/A grid removeRow 0 N/A N/A N/A ValueError N/A N/A N/A N/A self fail removeRow(0) threw an ValueError when removing the last row N/A N/A N/A self assertEquals 2 N/A N/A grid getColumns N/A N/A N/A self assertEquals 1 N/A N/A grid getRows N/A N/A N/A self assertEquals N/A N/A grid getComponent 0 0 None A component should not be left in the layout N/A N/A N/A self assertEquals N/A N/A grid getComponent 1 0 None A component should not be left in the layout N/A N/A N/A self assertEquals 0 N/A N/A grid getCursorX N/A N/A N/A self assertEquals 0 N/A N/A grid getCursorY N/A N/A