summaryrefslogtreecommitdiff
path: root/src/trg-tree-view.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/trg-tree-view.c')
-rw-r--r--src/trg-tree-view.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/trg-tree-view.c b/src/trg-tree-view.c
index 069464f..4f091ea 100644
--- a/src/trg-tree-view.c
+++ b/src/trg-tree-view.c
@@ -32,6 +32,17 @@
#include "trg-cell-renderer-priority.h"
#include "trg-cell-renderer-numgteqthan.h"
+/* A subclass of GtkTreeView which allows the user to change column visibility
+ * by right clicking on any column for a menu to hide the clicked column, or
+ * insert any hidden column after.
+ *
+ * This class persists these choices to TrgConf, and restores them when it is
+ * initialised. Column widths are also saved/restored.
+ *
+ * All the columns must be preregistered so it knows what model column,
+ * renderers etc to use if it should be created, and what columns are available.
+ */
+
enum {
PROP_0, PROP_PREFS
};