From fc5d54decf344a3104a6c46641b93ea2f7319a62 Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Thu, 12 Dec 2019 14:59:47 +0100 Subject: Add GtkSortable for TreeView columns --- src/Gtk/Widgets.dcl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/Gtk/Widgets.dcl') diff --git a/src/Gtk/Widgets.dcl b/src/Gtk/Widgets.dcl index a9cb44c..27d5677 100644 --- a/src/Gtk/Widgets.dcl +++ b/src/Gtk/Widgets.dcl @@ -29,8 +29,8 @@ from Gtk.Types import :: GtkLineSpacingModifier, :: GtkMargins, :: GtkMarkup, :: GtkMessageType, :: GtkModal, :: GtkOrientation, :: GtkPanedHandleWidth, :: GtkResize, :: GtkResponse, :: GtkScrollbarPolicy, :: GtkSensitivity, :: GtkShrink, - :: GtkSizeRequest, :: GtkSpacing, :: GtkStylePriority, :: GtkText, - :: GtkTitle, :: GtkWrapMode + :: GtkSizeRequest, :: GtkSortable, :: GtkSpacing, :: GtkStylePriority, + :: GtkText, :: GtkTitle, :: GtkWrapMode /** * A `GtkAccelGroup` is needed for a `GtkAccelerator`. 'Accelerator' is Gtk's @@ -365,7 +365,7 @@ 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 !GtkExpand !GtkTreeView -> GtkM GtkTreeView +appendColumnToTreeView :: !String !Int !GtkSortable !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