Interface TreeViewRowSeparatorFunc

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

@FunctionalInterface @Deprecated @Generated("org.javagi.JavaGI") public interface TreeViewRowSeparatorFunc extends FunctionPointer
Deprecated.

Functional interface declaration of the TreeViewRowSeparatorFunc callback.

See Also:
  • Method Details

    • run

      @Deprecated boolean run(TreeModel model, TreeIter iter)
      Deprecated.
      There is no replacement.
      Function type for determining whether the row pointed to by iter should be rendered as a separator. A common way to implement this is to have a boolean column in the model, whose values the GtkTreeViewRowSeparatorFunc returns.
      Parameters:
      model - the GtkTreeModel
      iter - a GtkTreeIter pointing at a row in model
      Returns:
      true if the row is a separator
    • upcall

      default int upcall(MemorySegment model, MemorySegment iter, MemorySegment data)
      Deprecated.
      The upcall method is called from native code. The parameters are marshaled and run(TreeModel, TreeIter) is executed.
    • toCallback

      default MemorySegment toCallback(Arena arena)
      Deprecated.
      Creates a native function pointer to the upcall(MemorySegment, MemorySegment, MemorySegment) method.
      Specified by:
      toCallback in interface FunctionPointer
      Parameters:
      arena - the arena in which the function pointer is allocated
      Returns:
      the native function pointer