GTree.custom_tree_model_type.3o

Langue: en

Version: 271204 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

GTree.custom_tree_model_type - no description

Class type

Class type GTree.custom_tree_model_type

Documentation

class type virtual ['a, 'b, 'c, 'd, 'e] custom_tree_model_type = object end

val obj : 'a

method connect : GTree.model_signals

method custom_row_changed : Gtk.tree_path -> 'b -> unit

Signal emitters

method custom_row_deleted : Gtk.tree_path -> unit

method custom_row_has_child_toggled : Gtk.tree_path -> 'b -> unit

method custom_row_inserted : Gtk.tree_path -> 'b -> unit

method custom_rows_reordered : Gtk.tree_path -> 'b option -> int array -> unit

method custom_unref_node : 'b -> unit

Override these to implement a cache of rows

method custom_ref_node : 'b -> unit

method custom_flags : GtkEnums.tree_model_flags list

method virtual custom_get_iter : Gtk.tree_path -> 'b option

Functions of the custom model. They must act exactly as described in the documentation of Gtk orelse Gtk may emit fatal errors.

method virtual custom_get_path : 'b -> Gtk.tree_path

method virtual custom_value : Gobject.g_type -> 'b -> column:int -> Gobject.basic

=== custom_value typ row ~column is the value to set in row for column column. It must must be of the type typ, i.e. the type declared for column column. ===

method virtual custom_iter_children : 'b option -> 'b option

method virtual custom_iter_has_child : 'b -> bool

method virtual custom_iter_n_children : 'b option -> int

method virtual custom_iter_next : 'b -> 'b option

method virtual custom_iter_nth_child : 'b option -> int -> 'b option

method virtual custom_iter_parent : 'b -> 'b option

method virtual custom_decode_iter : 'c -> 'd -> 'e -> 'b

method virtual custom_encode_iter : 'b -> 'c * 'd * 'e

method custom_n_columns : int

For internal use only. Do not override these methods.

method custom_get_column_type : int -> Gobject.g_type

method custom_get_value : 'b -> int -> Gobject.g_value -> unit