Interface TreeModelFilterModifyFunc

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 TreeModelFilterModifyFunc extends FunctionPointer
Deprecated.

Functional interface declaration of the TreeModelFilterModifyFunc callback.

See Also:
  • Method Details

    • run

      @Deprecated void run(TreeModel model, TreeIter iter, Value value, int column)
      Deprecated.
      There is no replacement

      A function which calculates display values from raw values in the model. It must fill value with the display value for the column column in the row indicated by iter.

      Since this function is called for each data access, it’s not a particularly efficient operation.

      Parameters:
      model - the GtkTreeModelFilter
      iter - a GtkTreeIter pointing to the row whose display values are determined
      value - A GValue which is already initialized for with the correct type for the column column.
      column - the column whose display value is determined
    • upcall

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

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