(self, layout=None)
Do the things we can't do in __init__
Do the things we can't do in __init__
Do the things we can t do in __init__
def prepare(self, layout=None):
        """Do the things we can't do in __init__"""
        self.treeview = self.builder.get_object('LayoutTreeView')
        self.treestore = self.builder.get_object('LayoutTreeStore')
        self.update_profiles()
        if layout:
            self.set_layout(layout)
def prepare ( self , layout = None ) : self . treeview = self . builder . get_object ( 'LayoutTreeView' ) self . treestore = self . builder . get_object ( 'LayoutTreeStore' ) self . update_profiles ( ) if layout : self . set_layout ( layout )