Hoogle Search

Within LTS Haskell 24.34 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. type TreeSortableSortColumnChangedCallback = IO ()

    gi-gtk3 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.

  2. afterTreeSortableSortColumnChanged :: (IsTreeSortable a, MonadIO m) => a -> ((?self :: a) => TreeSortableSortColumnChangedCallback) -> m SignalHandlerId

    gi-gtk3 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.

  3. onTreeSortableSortColumnChanged :: (IsTreeSortable a, MonadIO m) => a -> ((?self :: a) => TreeSortableSortColumnChangedCallback) -> m SignalHandlerId

    gi-gtk3 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
    

  4. toTreeSortable :: (MonadIO m, IsTreeSortable o) => o -> m TreeSortable

    gi-gtk3 GI.Gtk.Interfaces.TreeSortable

    Cast to TreeSortable, for types for which this is known to be safe. For general casts, use castTo.

  5. treeSortableGetSortColumnId :: (HasCallStack, MonadIO m, IsTreeSortable a) => a -> m (Bool, Int32, SortType)

    gi-gtk3 GI.Gtk.Interfaces.TreeSortable

    Fills in sortColumnId and order with the current sort column and the order. It returns True unless the sortColumnId is TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID or TREE_SORTABLE_UNSORTED_SORT_COLUMN_ID.

  6. treeSortableHasDefaultSortFunc :: (HasCallStack, MonadIO m, IsTreeSortable a) => a -> m Bool

    gi-gtk3 GI.Gtk.Interfaces.TreeSortable

    Returns True if the model has a default sort function. This is used primarily by GtkTreeViewColumns in order to determine if a model can go back to the default state, or not.

  7. treeSortableSetDefaultSortFunc :: (HasCallStack, MonadIO m, IsTreeSortable a) => a -> TreeIterCompareFunc -> m ()

    gi-gtk3 GI.Gtk.Interfaces.TreeSortable

    Sets the default comparison function used when sorting to be sortFunc. If the current sort column id of sortable is TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID, then the model will sort using this function. If sortFunc is Nothing, then there will be no default comparison function. This means that once the model has been sorted, it can’t go back to the default state. In this case, when the current sort column id of sortable is TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID, the model will be unsorted.

  8. treeSortableSetSortColumnId :: (HasCallStack, MonadIO m, IsTreeSortable a) => a -> Int32 -> SortType -> m ()

    gi-gtk3 GI.Gtk.Interfaces.TreeSortable

    Sets the current sort column to be sortColumnId. The sortable will resort itself to reflect this change, after emitting a TreeSortable::sortColumnChanged signal. sortColumnId may either be a regular column id, or one of the following special values:

  9. treeSortableSetSortFunc :: (HasCallStack, MonadIO m, IsTreeSortable a) => a -> Int32 -> TreeIterCompareFunc -> m ()

    gi-gtk3 GI.Gtk.Interfaces.TreeSortable

    Sets the comparison function used when sorting to be sortFunc. If the current sort column id of sortable is the same as sortColumnId, then the model will sort using this function.

  10. treeSortableSortColumnChanged :: (HasCallStack, MonadIO m, IsTreeSortable a) => a -> m ()

    gi-gtk3 GI.Gtk.Interfaces.TreeSortable

    Emits a TreeSortable::sortColumnChanged signal on sortable.

Page 147 of many | Previous | Next