Interface Glib.OnSourceOnceFunc

Enclosing class:
Glib
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 Glib.OnSourceOnceFunc
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    A source function that is only called once before being removed from the main
    context automatically.
  • Method Details

    • onSourceOnceFunc

      void onSourceOnceFunc(CallbackHandler __self, @Nullable Pointer user_data)
      A source function that is only called once before being removed from the main
      context automatically.

      See: g_idle_add_once(), g_timeout_add_once()
      Parameters:
      user_data - data passed to the function, set when the source was created