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. setProxyAddressEnumeratorProxyResolver :: (MonadIO m, IsProxyAddressEnumerator o, IsProxyResolver a) => o -> a -> m ()

    gi-gio GI.Gio.Objects.ProxyAddressEnumerator

    Set the value of the “proxy-resolver” property. When overloading is enabled, this is equivalent to

    set proxyAddressEnumerator [ #proxyResolver := value ]
    

  2. setResolverTimeout :: (MonadIO m, IsResolver o) => o -> Word32 -> m ()

    gi-gio GI.Gio.Objects.Resolver

    Set the value of the “timeout” property. When overloading is enabled, this is equivalent to

    set resolver [ #timeout := value ]
    

  3. settingsApply :: (HasCallStack, MonadIO m, IsSettings a) => a -> m ()

    gi-gio GI.Gio.Objects.Settings

    Applies any changes that have been made to the settings. This function does nothing unless settings is in 'delay-apply' mode; see settingsDelay. In the normal case settings are always applied immediately.

  4. settingsBind :: (HasCallStack, MonadIO m, IsSettings a, IsObject b) => a -> Text -> b -> Text -> [SettingsBindFlags] -> m ()

    gi-gio GI.Gio.Objects.Settings

    Create a binding between the key in the settings object and the property property of object. The binding uses the default GIO mapping functions to map between the settings and property values. These functions handle booleans, numeric types and string types in a straightforward way. Use g_settings_bind_with_mapping() if you need a custom mapping, or map between types that are not supported by the default mapping functions. Unless the flags include SettingsBindFlagsNoSensitivity, this function also establishes a binding between the writability of key and the "sensitive" property of object (if object has a boolean property by that name). See settingsBindWritable for more details about writable bindings. Note that the lifecycle of the binding is tied to object, and that you can have only one binding per object property. If you bind the same property twice on the same object, the second binding overrides the first one. Since: 2.26

  5. settingsBindWritable :: (HasCallStack, MonadIO m, IsSettings a, IsObject b) => a -> Text -> b -> Text -> Bool -> m ()

    gi-gio GI.Gio.Objects.Settings

    Create a binding between the writability of key in the settings object and the property property of object. The property must be boolean; "sensitive" or "visible" properties of widgets are the most likely candidates. Writable bindings are always uni-directional; changes of the writability of the setting will be propagated to the object property, not the other way. When the inverted argument is True, the binding inverts the value as it passes from the setting to the object, i.e. property will be set to True if the key is not writable. Note that the lifecycle of the binding is tied to object, and that you can have only one binding per object property. If you bind the same property twice on the same object, the second binding overrides the first one. Since: 2.26

  6. settingsCreateAction :: (HasCallStack, MonadIO m, IsSettings a) => a -> Text -> m Action

    gi-gio GI.Gio.Objects.Settings

    Creates a Action corresponding to a given Settings key. The action has the same name as the key. The value of the key becomes the state of the action and the action is enabled when the key is writable. Changing the state of the action results in the key being written to. Changes to the value or writability of the key cause appropriate change notifications to be emitted for the action. For boolean-valued keys, action activations take no parameter and result in the toggling of the value. For all other types, activations take the new value for the key (which must have the correct type). Since: 2.32

  7. settingsDelay :: (HasCallStack, MonadIO m, IsSettings a) => a -> m ()

    gi-gio GI.Gio.Objects.Settings

    Changes the Settings object into 'delay-apply' mode. In this mode, changes to settings are not immediately propagated to the backend, but kept locally until settingsApply is called. Since: 2.26

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

    gi-gio GI.Gio.Objects.Settings

    Gets the value that is stored at key in settings. A convenience variant of g_settings_get() for booleans. It is a programmer error to give a key that isn't specified as having a boolean type in the schema for settings. Since: 2.26

  9. settingsGetChild :: (HasCallStack, MonadIO m, IsSettings a) => a -> Text -> m Settings

    gi-gio GI.Gio.Objects.Settings

    Creates a child settings object which has a base path of base-path/@name, where base-path is the base path of settings. The schema for the child settings object must have been declared in the schema of settings using a <child> element. The created child settings object will inherit the Settings:delayApply mode from settings. Since: 2.26

  10. settingsGetDefaultValue :: (HasCallStack, MonadIO m, IsSettings a) => a -> Text -> m (Maybe GVariant)

    gi-gio GI.Gio.Objects.Settings

    Gets the "default value" of a key. This is the value that would be read if settingsReset were to be called on the key. Note that this may be a different value than returned by settingsSchemaKeyGetDefaultValue if the system administrator has provided a default value. Comparing the return values of settingsGetDefaultValue and settingsGetValue is not sufficient for determining if a value has been set because the user may have explicitly set the value to something that happens to be equal to the default. The difference here is that if the default changes in the future, the user's key will still be set. This function may be useful for adding an indication to a UI of what the default value was before the user set it. It is a programmer error to give a key that isn't contained in the schema for settings. Since: 2.40

Page 276 of many | Previous | Next