Gtk.TreeModelFilter.SetModifyFunc Method
Sets a function to modify the display of the model.

Syntax

public void SetModifyFunc (int n_columns, GLib.GType[] types, TreeModelFilterModifyFunc func)

Parameters

n_columns
a int
types
an array of GLib.GType
func
a Gtk.TreeModelFilterModifyFunc

Remarks

With the n_columns and types parameters, you give an array of column types for this model (which will be exposed to the parent model/view). The modify function, func, will get called for each data access; the goal of the modify function is to return the data which should be displayed at the location specified using the parameters of the modify function.

Requirements

Namespace: Gtk
Assembly: gtk-sharp (in gtk-sharp.dll)
Since: Gtk# 2.4