From 2a31ffa127305eb9090dad5596d6254ac1d22be9 Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Thu, 12 Dec 2019 15:56:03 +0100 Subject: Add GtkTreeViewColumnSizing for TreeView columns --- src/Gtk/Widgets.dcl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/Gtk/Widgets.dcl') 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 -- cgit v1.2.3