diff --git a/redo/table_unix.c b/redo/table_unix.c index 9e1f4b6..0fa9c5a 100644 --- a/redo/table_unix.c +++ b/redo/table_unix.c @@ -14,6 +14,8 @@ void tableAppendColumn(GtkTreeView *table, gint index, gchar *name) col = gtk_tree_view_column_new_with_attributes(name, renderer, "text", index, NULL); + /* allow columns to be resized */ + gtk_tree_view_column_set_resizable(col, TRUE); gtk_tree_view_append_column(table, col); } diff --git a/redo/table_unix.go b/redo/table_unix.go index 6ca0cec..4d47405 100644 --- a/redo/table_unix.go +++ b/redo/table_unix.go @@ -13,9 +13,6 @@ import ( // #include "gtk_unix.h" import "C" -// TODOs -// - make column headers resizeable - type table struct { *widgetbase *tablebase