Hoogle Search
Within LTS Haskell 24.67 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
settingsGetRange :: (HasCallStack, MonadIO m, IsSettings a) => a -> Text -> m GVariantgi-gio GI.Gio.Objects.Settings Deprecated: (Since version 2.40)Use settingsSchemaKeyGetRange instead.
settingsGetString :: (HasCallStack, MonadIO m, IsSettings a) => a -> Text -> m Textgi-gio GI.Gio.Objects.Settings Gets the value that is stored at key in settings. A convenience variant of g_settings_get() for strings. It is a programmer error to give a key that isn't specified as having a string type in the schema for settings. Since: 2.26
settingsGetStrv :: (HasCallStack, MonadIO m, IsSettings a) => a -> Text -> m [Text]gi-gio GI.Gio.Objects.Settings A convenience variant of g_settings_get() for string arrays. It is a programmer error to give a key that isn't specified as having an array of strings type in the schema for settings. Since: 2.26
settingsGetUint :: (HasCallStack, MonadIO m, IsSettings a) => a -> Text -> m Word32gi-gio GI.Gio.Objects.Settings Gets the value that is stored at key in settings. A convenience variant of g_settings_get() for 32-bit unsigned integers. It is a programmer error to give a key that isn't specified as having a uint32 type in the schema for settings. Since: 2.30
settingsGetUint64 :: (HasCallStack, MonadIO m, IsSettings a) => a -> Text -> m Word64gi-gio GI.Gio.Objects.Settings Gets the value that is stored at key in settings. A convenience variant of g_settings_get() for 64-bit unsigned integers. It is a programmer error to give a key that isn't specified as having a uint64 type in the schema for settings. Since: 2.50
settingsGetUserValue :: (HasCallStack, MonadIO m, IsSettings a) => a -> Text -> m (Maybe GVariant)gi-gio GI.Gio.Objects.Settings Checks the "user value" of a key, if there is one. The user value of a key is the last value that was set by the user. After calling settingsReset this function should always return Nothing (assuming something is not wrong with the system configuration). It is possible that settingsGetValue will return a different value than this function. This can happen in the case that the user set a value for a key that was subsequently locked down by the system administrator -- this function will return the user's old value. This function may be useful for adding a "reset" option to a UI or for providing indication that a particular value has been changed. It is a programmer error to give a key that isn't contained in the schema for settings. Since: 2.40
settingsGetValue :: (HasCallStack, MonadIO m, IsSettings a) => a -> Text -> m GVariantgi-gio GI.Gio.Objects.Settings Gets the value that is stored in settings for key. It is a programmer error to give a key that isn't contained in the schema for settings. Since: 2.26
settingsIsWritable :: (HasCallStack, MonadIO m, IsSettings a) => a -> Text -> m Boolgi-gio GI.Gio.Objects.Settings Finds out if a key can be written or not Since: 2.26
settingsListChildren :: (HasCallStack, MonadIO m, IsSettings a) => a -> m [Text]gi-gio GI.Gio.Objects.Settings Gets the list of children on settings. The list is exactly the list of strings for which it is not an error to call settingsGetChild. There is little reason to call this function from "normal" code, since you should already know what children are in your schema. This function may still be useful there for introspection reasons, however. You should free the return value with strfreev when you are done with it.
settingsListKeys :: (HasCallStack, MonadIO m, IsSettings a) => a -> m [Text]gi-gio GI.Gio.Objects.Settings Deprecated: (Since version 2.46)Use settingsSchemaListKeys instead.