Back to Seed Clases

Gtk


Classes

Interfaces

Structs

Unions

Enums

GObject.Object
parent-child marker Gtk.TreeModelFilter

Class Gtk.TreeModelFilter

Import line: Gtk = imports.gi.Gtk;
GIR File: Gtk-3.0.gir
C documentation: GtkTreeModelFilter
Class : TreeModelFilter
Implements: Gtk.TreeDragSource, Gtk.TreeModel
Extends: GObject.Object
A GtkTreeModelFilter is a tree model which wraps another tree model,
and can do the following things:


Filter specific rows, based on data from a "visible column", a column
storing booleans indicating whether the row should be filtered or not,
or based on the return value of a "visible function", which gets a
model, iter and user_data and returns a boolean indicating whether the
row should be filtered or not.


Modify the "appearance" of the model, using a modify function.
This is extremely powerful and allows for just changing
some values and also for creating a completely different model based on
the given child model.


Set a different root node, also known as a "virtual root". You can pass in
a GtkTreePath indicating the root node for the filter at construction time.

Properties
Properties Defined By
Methods / Constructors
Method / Constructor Defined By
Events - usage syntax: this.signals.EVENTNAME.connect( Function )
Event Defined By
Used by These Methods / Signals / Properties- Nowhere other than here
Documentation generated by Introspection Doc Generator Loosely Based on JsDoc Toolkit on Sat Apr 16 2011 17:14:19 GMT+0800 (HKT)