Rechercher une page de manuel
GTree.custom_tree_model.3o
Langue: en
Version: 282429 (debian - 07/07/09)
Section: 3 (Bibliothèques de fonctions)
Sommaire
NAME
GTree.custom_tree_model - A base class to inherit from to make a custom tree model.Class
Class GTree.custom_tree_modelDocumentation
class virtual ['a, 'b, 'c, 'd] custom_tree_model : column_list -> [Gtk.tree_model_custom, 'a, 'b, 'c, 'd] custom_tree_model_type
A base class to inherit from to make a custom tree model.
Parameters:
""
GTree.column_list
val obj : 'e
method connect : GTree.model_signals
method custom_row_changed : Gtk.tree_path -> 'f -> unit
Signal emitters
method custom_row_deleted : Gtk.tree_path -> unit
method custom_row_has_child_toggled : Gtk.tree_path -> 'f -> unit
method custom_row_inserted : Gtk.tree_path -> 'f -> unit
method custom_rows_reordered : Gtk.tree_path -> 'f option -> int array -> unit
method custom_unref_node : 'f -> unit
Override these to implement a cache of rows
method custom_ref_node : 'f -> unit
method custom_flags : GtkEnums.tree_model_flags list
method virtual custom_get_iter : Gtk.tree_path -> 'f 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 : 'f -> Gtk.tree_path
method virtual custom_value : Gobject.g_type -> 'f -> 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 : 'f option -> 'f option
method virtual custom_iter_has_child : 'f -> bool
method virtual custom_iter_n_children : 'f option -> int
method virtual custom_iter_next : 'f -> 'f option
method virtual custom_iter_nth_child : 'f option -> int -> 'f option
method virtual custom_iter_parent : 'f -> 'f option
method virtual custom_decode_iter : 'g -> 'h -> 'i -> 'f
method virtual custom_encode_iter : 'f -> 'g * 'h * 'i
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 : 'f -> int -> Gobject.g_value -> unit
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre