Interface Glib.OnUnixFDSourceFunc

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.OnUnixFDSourceFunc
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    onUnixFDSourceFunc(CallbackHandler __self, int fd, int condition, Pointer user_data)
    The type of functions to be called when a UNIX fd watch source
    triggers.
  • Method Details

    • onUnixFDSourceFunc

      boolean onUnixFDSourceFunc(CallbackHandler __self, int fd, int condition, @Nullable Pointer user_data)
      The type of functions to be called when a UNIX fd watch source
      triggers.
      Parameters:
      fd - the fd that triggered the event
      condition - the IO conditions reported on @fd
      user_data - user data passed to g_unix_fd_add()
      Returns:
      %FALSE if the source should be removed