(self)
Update the contents of the layout
Update the contents of the layout
Update the contents of the layout
def update_layouts(self):
        """Update the contents of the layout"""
        self.layouttreestore.clear()
        layouts = self.config.list_layouts()
        for layout in sorted(layouts, key=str.lower):
            if layout != "default":
                self.layouttreestore.append([layout])
            else:
                self.layouttreestore.prepend([layout])
def update_layouts ( self ) : self . layouttreestore . clear ( ) layouts = self . config . list_layouts ( ) for layout in sorted ( layouts , key = str . lower ) : if layout != "default" : self . layouttreestore . append ( [ layout ] ) else : self . layouttreestore . prepend ( [ layout ] )