示例#1
0
    def on_column_position_changed(self, column, _param):
        """ Save column position and width to config """

        col_title = column.get_title()
        offset = column.get_x_offset()

        if self.column_offsets[col_title] == offset:
            return

        self.column_offsets[col_title] = offset
        save_columns(self.treeview_name, self.ResultsList.get_columns())
示例#2
0
 def save_columns(self):
     save_columns(self.type, self.widget.get_columns())
示例#3
0
 def save_columns(self):
     save_columns("chat_room",
                  self.UserList.get_columns(),
                  subpage=self.room)
示例#4
0
 def save_columns(self):
     save_columns("buddy_list", self.UserListTree.get_columns())
示例#5
0
 def save_columns(self):
     save_columns("user_browse", self.FileTreeView.get_columns())
示例#6
0
 def save_columns(self):
     save_columns("file_search", self.ResultsList.get_columns())
示例#7
0
 def save_columns(self):
     save_columns(self.type, self.Transfers.get_columns())