Interface Settings.OnWritableChanged

Enclosing class:
Settings
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface Settings.OnWritableChanged
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    The "writable-changed" signal is emitted when the writability of a
    key has potentially changed.
  • Method Details

    • onWritableChanged

      void onWritableChanged(@Nonnull Str key)
      The "writable-changed" signal is emitted when the writability of a
      key has potentially changed. You should call
      g_settings_is_writable() in order to determine the new status.

      This signal supports detailed connections. You can connect to the
      detailed signal "writable-changed::x" in order to only receive
      callbacks when the writability of "x" changes.
      Parameters:
      key - the key