All pastes #63514 Raw Edit

Anonymous

public text v1 · immutable
#63514 ·published 2006-06-10 04:48 UTC
rendered paste body
#main class call editColDialog
    def showEditColDialog(self,treeview, path, view_column):
        model = treeview.get_model()
        modelRow = model[path]
        import editColDialog
        d = editColDialog.editColDialog(self,modelRow)
        d.show()
        return None

## ModelRow is passed ie TreeModelRow
    def __init__(self,main,modelRow):
        print "initEditColDialog():"
        print modelRow
        ## want to get at MOdelRow's columns values here eg row[0], row[1]