Hoogle Search
Within LTS Haskell 24.28 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
haskell-gi Data.GI.GIR.BasicTypes gboolean
parseBool :: Text -> Parser Boolhaskell-gi Data.GI.GIR.Parser A boolean value given by a numerical constant.
VariantClassBoolean :: VariantClassgi-glib GI.GLib.Enums The GVariant is a boolean.
MarkupCollectTypeBoolean :: MarkupCollectTypegi-glib GI.GLib.Flags expects a parameter of type (gboolean *) and parses the attribute value as a boolean. Sets False if the attribute isn't present. Valid boolean values consist of (case-insensitive) "false", "f", "no", "n", "0" and "true", "t", "yes", "y", "1"
keyFileGetBoolean :: (HasCallStack, MonadIO m) => KeyFile -> Text -> Text -> m ()gi-glib GI.GLib.Structs.KeyFile Returns the value associated with key under groupName as a boolean. If key cannot be found then False is returned and error is set to KeyFileErrorKeyNotFound. Likewise, if the value associated with key cannot be interpreted as a boolean then False is returned and error is set to KeyFileErrorInvalidValue. Since: 2.6
keyFileGetBooleanList :: (HasCallStack, MonadIO m) => KeyFile -> Text -> Text -> m [Bool]gi-glib GI.GLib.Structs.KeyFile Returns the values associated with key under groupName as booleans. If key cannot be found then Nothing is returned and error is set to KeyFileErrorKeyNotFound. Likewise, if the values associated with key cannot be interpreted as booleans then Nothing is returned and error is set to KeyFileErrorInvalidValue. Since: 2.6
keyFileSetBoolean :: (HasCallStack, MonadIO m) => KeyFile -> Text -> Text -> Bool -> m ()gi-glib GI.GLib.Structs.KeyFile Associates a new boolean value with key under groupName. If key cannot be found then it is created. Since: 2.6
keyFileSetBooleanList :: (HasCallStack, MonadIO m) => KeyFile -> Text -> Text -> [Bool] -> m ()gi-glib GI.GLib.Structs.KeyFile Associates a list of boolean values with key under groupName. If key cannot be found then it is created. If groupName is Nothing, the start_group is used. Since: 2.6
BindingFlagsInvertBoolean :: BindingFlagsgi-gobject GI.GObject.Flags If the two properties being bound are booleans, setting one to True will result in the other being set to False and vice versa. This flag will only work for boolean properties, and cannot be used when passing custom transformation functions to g_object_bind_property_full().
-
gi-gobject GI.GObject.Functions Creates a new ParamSpecBoolean instance specifying a G_TYPE_BOOLEAN property. In many cases, it may be more appropriate to use an enum with paramSpecEnum, both to improve code clarity by using explicitly named values, and to allow for more values to be added in future without breaking API. See g_param_spec_internal() for details on property names.