Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def __init__(self, columns, store, clickCB=None, sensitivity=False):
checklist.CheckList.__init__(self, columns=columns,
custom_store=store,
sensitivity=sensitivity)
# make checkbox column wider
column = self.get_column(columns)
self.set_expander_column(column)
column = self.get_column(0)
column.set_sizing(gtk.TREE_VIEW_COLUMN_FIXED)
column.set_fixed_width(25)
self.clickCB = clickCB
def __init__(self, columns, store, clickCB=None, sensitivity=False):
checklist.CheckList.__init__(self, columns=columns,
custom_store=store,
sensitivity=sensitivity)
# make checkbox column wider
column = self.get_column(len(columns))
self.set_expander_column(column)
column = self.get_column(0)
column.set_sizing(gtk.TREE_VIEW_COLUMN_FIXED)
column.set_fixed_width(25)
self.clickCB = clickCB