Made column headers resizeable on GTK+ Tables.

This commit is contained in:
Pietro Gagliardi 2014-07-29 04:30:58 -04:00
parent abb77b7a5c
commit b37f32c142
2 changed files with 2 additions and 3 deletions

View File

@ -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);
}

View File

@ -13,9 +13,6 @@ import (
// #include "gtk_unix.h"
import "C"
// TODOs
// - make column headers resizeable
type table struct {
*widgetbase
*tablebase