summaryrefslogtreecommitdiff
path: root/src/Gtk/Widgets.dcl
diff options
context:
space:
mode:
authorCamil Staps2019-12-12 15:56:03 +0100
committerCamil Staps2019-12-12 15:56:03 +0100
commit2a31ffa127305eb9090dad5596d6254ac1d22be9 (patch)
tree6b1d933bedecfdc06a4ba60f115ad24145a2fb77 /src/Gtk/Widgets.dcl
parentAdd GtkSortable for TreeView columns (diff)
Add GtkTreeViewColumnSizing for TreeView columns
Diffstat (limited to 'src/Gtk/Widgets.dcl')
-rw-r--r--src/Gtk/Widgets.dcl6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Gtk/Widgets.dcl b/src/Gtk/Widgets.dcl
index 27d5677..2857045 100644
--- a/src/Gtk/Widgets.dcl
+++ b/src/Gtk/Widgets.dcl
@@ -30,7 +30,7 @@ from Gtk.Types import
:: GtkModal, :: GtkOrientation, :: GtkPanedHandleWidth, :: GtkResize,
:: GtkResponse, :: GtkScrollbarPolicy, :: GtkSensitivity, :: GtkShrink,
:: GtkSizeRequest, :: GtkSortable, :: GtkSpacing, :: GtkStylePriority,
- :: GtkText, :: GtkTitle, :: GtkWrapMode
+ :: GtkText, :: GtkTitle, :: GtkTreeViewColumnSizing, :: GtkWrapMode
/**
* A `GtkAccelGroup` is needed for a `GtkAccelerator`. 'Accelerator' is Gtk's
@@ -365,7 +365,9 @@ newTreeView :: !GtkListStore -> GtkM GtkTreeView
* the column index in the list store that is shown. When `Expand` is used,
* excess space of the tree view is (partially) given to this column.
*/
-appendColumnToTreeView :: !String !Int !GtkSortable !GtkExpand !GtkTreeView -> GtkM GtkTreeView
+appendColumnToTreeView :: !String !Int
+ !GtkSortable !GtkTreeViewColumnSizing !GtkExpand
+ !GtkTreeView -> GtkM GtkTreeView
//* Add a signal handler for the event that the user selects a different row.
addSelectionChangedHandler :: !(GtkM ()) !GtkTreeView -> GtkM GtkTreeView