Hoogle Search

Within LTS Haskell 24.45 (ghc-9.10.3)

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

  1. settingsSetFlags :: (HasCallStack, MonadIO m, IsSettings a) => a -> Text -> Word32 -> m Bool

    gi-gio GI.Gio.Objects.Settings

    Looks up the flags type nicks for the bits specified by value, puts them in an array of strings and writes the array to key, within settings. It is a programmer error to give a key that isn't contained in the schema for settings or is not marked as a flags type, or for value to contain any bits that are not value for the named type. After performing the write, accessing key directly with settingsGetStrv will return an array of 'nicks'; one for each bit in value.

  2. settingsSetInt :: (HasCallStack, MonadIO m, IsSettings a) => a -> Text -> Int32 -> m Bool

    gi-gio GI.Gio.Objects.Settings

    Sets key in settings to value. A convenience variant of g_settings_set() for 32-bit integers. It is a programmer error to give a key that isn't specified as having a int32 type in the schema for settings. Since: 2.26

  3. settingsSetInt64 :: (HasCallStack, MonadIO m, IsSettings a) => a -> Text -> Int64 -> m Bool

    gi-gio GI.Gio.Objects.Settings

    Sets key in settings to value. A convenience variant of g_settings_set() for 64-bit integers. It is a programmer error to give a key that isn't specified as having a int64 type in the schema for settings. Since: 2.50

  4. settingsSetString :: (HasCallStack, MonadIO m, IsSettings a) => a -> Text -> Text -> m Bool

    gi-gio GI.Gio.Objects.Settings

    Sets key in settings to value. A convenience variant of g_settings_set() 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

  5. settingsSetStrv :: (HasCallStack, MonadIO m, IsSettings a) => a -> Text -> Maybe [Text] -> m Bool

    gi-gio GI.Gio.Objects.Settings

    Sets key in settings to value. A convenience variant of g_settings_set() for string arrays. If value is Nothing, then key is set to be the empty array. 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

  6. settingsSetUint :: (HasCallStack, MonadIO m, IsSettings a) => a -> Text -> Word32 -> m Bool

    gi-gio GI.Gio.Objects.Settings

    Sets key in settings to value. A convenience variant of g_settings_set() 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

  7. settingsSetUint64 :: (HasCallStack, MonadIO m, IsSettings a) => a -> Text -> Word64 -> m Bool

    gi-gio GI.Gio.Objects.Settings

    Sets key in settings to value. A convenience variant of g_settings_set() 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

  8. settingsSetValue :: (HasCallStack, MonadIO m, IsSettings a) => a -> Text -> GVariant -> m Bool

    gi-gio GI.Gio.Objects.Settings

    Sets key in settings to value. It is a programmer error to give a key that isn't contained in the schema for settings or for value to have the incorrect type, per the schema. If value is floating then this function consumes the reference. Since: 2.26

  9. settingsSync :: (HasCallStack, MonadIO m) => m ()

    gi-gio GI.Gio.Objects.Settings

    Ensures that all pending operations are complete for the default backend. Writes made to a Settings are handled asynchronously. For this reason, it is very unlikely that the changes have it to disk by the time g_settings_set() returns. This call will block until all of the writes have made it to the backend. Since the mainloop is not running, no change notifications will be dispatched during this call (but some may be queued by the time the call is done).

  10. settingsUnbind :: (HasCallStack, MonadIO m, IsObject a) => a -> Text -> m ()

    gi-gio GI.Gio.Objects.Settings

    Removes an existing binding for property on object. Note that bindings are automatically removed when the object is finalized, so it is rarely necessary to call this function. Since: 2.26

Page 280 of many | Previous | Next