Interface TreeModelFilter.OnTreeModelFilterModifyFunc

Enclosing class:
TreeModelFilter
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 TreeModelFilter.OnTreeModelFilterModifyFunc
  • Method Details

    • onTreeModelFilterModifyFunc

      void onTreeModelFilterModifyFunc(CallbackHandler __self, @Nonnull TreeModel model, @Nonnull TreeIter iter, @Nonnull Value value, int column, @Nullable Pointer data)
      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
      data - user data given to gtk_tree_model_filter_set_modify_func()