Interface TreeViewColumn.OnTreeCellDataFunc

Enclosing class:
TreeViewColumn
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 TreeViewColumn.OnTreeCellDataFunc
  • Method Details

    • onTreeCellDataFunc

      void onTreeCellDataFunc(CallbackHandler __self, @Nonnull TreeViewColumn tree_column, @Nonnull CellRenderer cell, @Nonnull TreeModel tree_model, @Nonnull TreeIter iter, @Nullable Pointer data)
      A function to set the properties of a cell instead of just using the
      straight mapping between the cell and the model.

      This function is useful for customizing the cell renderer. For example,
      a function might get an* integer from the @tree_model, and render it to
      the “text” attribute of “cell” by converting it to its written equivalent.

      See also: gtk_tree_view_column_set_cell_data_func()
      Parameters:
      tree_column - A `GtkTreeViewColumn`
      cell - The `GtkCellRenderer` that is being rendered by @tree_column
      tree_model - The `GtkTreeModel` being rendered
      iter - A `GtkTreeIter` of the current row rendered
      data - user data