(self, count, parent, global_layout, child_order)
return count
Describe our layout
Describe our layout
Describe our layout
def describe_layout(self, count, parent, global_layout, child_order):
        """Describe our layout"""
        layout = {'type': 'Terminal', 'parent': parent, 'order': child_order}
        if self.group:
            layout['group'] = self.group
        profile = self.get_profile()
        if layout != "default":
            # There's no point explicitly noting default profiles
            layout['profile'] = profile
        title = self.titlebar.get_custom_string()
        if title:
            layout['title'] = title
        layout['uuid'] = self.uuid
        name = 'terminal%d' % count
        count = count + 1
        global_layout[name] = layout
        return count
def describe_layout ( self , count , parent , global_layout , child_order ) : layout = { 'type' : 'Terminal' , 'parent' : parent , 'order' : child_order } if self . group : layout [ 'group' ] = self . group profile = self . get_profile ( ) if layout != "default" : # There's no point explicitly noting default profiles layout [ 'profile' ] = profile title = self . titlebar . get_custom_string ( ) if title : layout [ 'title' ] = title layout [ 'uuid' ] = self . uuid name = 'terminal%d' % count count = count + 1 global_layout [ name ] = layout return count