Hoogle Search
Within LTS Haskell 24.33 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
module GI.Gtk.Interfaces.
TreeSortable The interface for sortable models used by GtkTreeView GtkTreeSortable is an interface to be implemented by tree models which support sorting. The GtkTreeView uses the methods provided by this interface to sort the model.
class (GObject o, IsDescendantOf TreeSortable o) =>
IsTreeSortable ogi-gtk4 GI.Gtk.Interfaces.TreeSortable Type class for types which can be safely cast to TreeSortable, for instance with toTreeSortable.
-
gi-gtk4 GI.Gtk.Interfaces.TreeSortable Deprecated: (Since version 4.10)There is no replacement for this interface. You shoulduse SortListModel to wrap your list model instead
TreeSortable :: ManagedPtr TreeSortable -> TreeSortablegi-gtk4 GI.Gtk.Interfaces.TreeSortable Deprecated: (Since version 4.10)There is no replacement for this interface. You shoulduse SortListModel to wrap your list model instead
type
TreeSortableSortColumnChangedCallback = IO ()gi-gtk4 GI.Gtk.Interfaces.TreeSortable The sortColumnChanged signal is emitted when the sort column or sort order of sortable is changed. The signal is emitted before the contents of sortable are resorted.
-
gi-gtk4 GI.Gtk.Interfaces.TreeSortable Connect a signal handler for the sortColumnChanged signal, to be run after the default handler. When overloading is enabled, this is equivalent to
after treeSortable #sortColumnChanged callback
By default the object invoking the signal is not passed to the callback. If you need to access it, you can use the implit ?self parameter. Note that this requires activating the ImplicitParams GHC extension. -
gi-gtk4 GI.Gtk.Interfaces.TreeSortable Connect a signal handler for the sortColumnChanged signal, to be run before the default handler. When overloading is enabled, this is equivalent to
on treeSortable #sortColumnChanged callback
toTreeSortable :: (MonadIO m, IsTreeSortable o) => o -> m TreeSortablegi-gtk4 GI.Gtk.Interfaces.TreeSortable Cast to TreeSortable, for types for which this is known to be safe. For general casts, use castTo.
-
gi-gtk4 GI.Gtk.Interfaces.TreeSortable Deprecated: (Since version 4.10)
treeSortableHasDefaultSortFunc :: (HasCallStack, MonadIO m, IsTreeSortable a) => a -> m Boolgi-gtk4 GI.Gtk.Interfaces.TreeSortable Deprecated: (Since version 4.10)