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.
-
gi-gtk4 GI.Gtk.Objects.NumericSorter Construct a GValueConstruct with valid value for the “expression” property. This is rarely needed directly, but it is used by new.
-
gi-gtk4 GI.Gtk.Objects.NumericSorter Construct a GValueConstruct with valid value for the “sort-order” property. This is rarely needed directly, but it is used by new.
getNumericSorterExpression :: (MonadIO m, IsNumericSorter o) => o -> m (Maybe Expression)gi-gtk4 GI.Gtk.Objects.NumericSorter Get the value of the “expression” property. When overloading is enabled, this is equivalent to
get numericSorter #expression
getNumericSorterSortOrder :: (MonadIO m, IsNumericSorter o) => o -> m SortTypegi-gtk4 GI.Gtk.Objects.NumericSorter Get the value of the “sort-order” property. When overloading is enabled, this is equivalent to
get numericSorter #sortOrder
-
gi-gtk4 GI.Gtk.Objects.NumericSorter Gets the expression that is evaluated to obtain numbers from items.
numericSorterGetSortOrder :: (HasCallStack, MonadIO m, IsNumericSorter a) => a -> m SortTypegi-gtk4 GI.Gtk.Objects.NumericSorter Gets whether this sorter will sort smaller numbers first.
numericSorterNew :: (HasCallStack, MonadIO m, IsExpression a) => Maybe a -> m NumericSortergi-gtk4 GI.Gtk.Objects.NumericSorter Creates a new numeric sorter using the given expression. Smaller numbers will be sorted first. You can call numericSorterSetSortOrder to change this.
-
gi-gtk4 GI.Gtk.Objects.NumericSorter Sets the expression that is evaluated to obtain numbers from items. Unless an expression is set on self, the sorter will always compare items as invalid. The expression must have a return type that can be compared numerically, such as G_TYPE_INT or G_TYPE_DOUBLE.
numericSorterSetSortOrder :: (HasCallStack, MonadIO m, IsNumericSorter a) => a -> SortType -> m ()gi-gtk4 GI.Gtk.Objects.NumericSorter Sets whether to sort smaller numbers before larger ones.
setNumericSorterExpression :: (MonadIO m, IsNumericSorter o, IsExpression a) => o -> a -> m ()gi-gtk4 GI.Gtk.Objects.NumericSorter Set the value of the “expression” property. When overloading is enabled, this is equivalent to
set numericSorter [ #expression := value ]