Interface SettingsBindFlags


public interface SettingsBindFlags
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Equivalent to `G_SETTINGS_BIND_GET|G_SETTINGS_BIND_SET`
    static final int
    Update the #GObject property when the setting changes.
    static final int
    When set in addition to %G_SETTINGS_BIND_GET, set the #GObject property
    value initially from the setting, but do not listen for changes of the setting
    static final int
    When passed to g_settings_bind(), uses a pair of mapping functions that invert
    the boolean value when mapping between the setting and the property.
    static final int
    Do not try to bind a "sensitivity" property to the writability of the setting
    static final int
    Update the setting when the #GObject property changes.
  • Field Details

    • DEFAULT

      static final int DEFAULT
      Equivalent to `G_SETTINGS_BIND_GET|G_SETTINGS_BIND_SET`
      See Also:
    • GET

      static final int GET
      Update the #GObject property when the setting changes.
      It is an error to use this flag if the property is not writable.
      See Also:
    • SET

      static final int SET
      Update the setting when the #GObject property changes.
      It is an error to use this flag if the property is not readable.
      See Also:
    • NO_SENSITIVITY

      static final int NO_SENSITIVITY
      Do not try to bind a "sensitivity" property to the writability of the setting
      See Also:
    • GET_NO_CHANGES

      static final int GET_NO_CHANGES
      When set in addition to %G_SETTINGS_BIND_GET, set the #GObject property
      value initially from the setting, but do not listen for changes of the setting
      See Also:
    • INVERT_BOOLEAN

      static final int INVERT_BOOLEAN
      When passed to g_settings_bind(), uses a pair of mapping functions that invert
      the boolean value when mapping between the setting and the property. The setting and property must both
      be booleans. You cannot pass this flag to g_settings_bind_with_mapping().
      See Also: