# Class GTree.model

    class model : [> `treemodel ] Gtk.obj -> object .. end

    val obj : ([> `treemodel ] as 'a) Gtk.obj

    val id : int

    method as_model : Gtk.tree_model

    method misc : GObj.gobject_ops

    method coerce : model

    method flags : GtkEnums.tree_model_flags list

    method n_columns : int

    method get_column_type : int -> Gobject.g_type

    method get_iter : Gtk.tree_path -> Gtk.tree_iter

    method get_path : Gtk.tree_iter -> Gtk.tree_path

    method get_row_reference : Gtk.tree_path -> row_reference

    method get : 'b. row:Gtk.tree_iter -> column:'b column -> 'b

    method get_iter_first : Gtk.tree_iter option

    method iter_next : Gtk.tree_iter -> bool

    method iter_has_child : Gtk.tree_iter -> bool

    method iter_n_children : Gtk.tree_iter option -> int

    method iter_children : ?nth:int -> Gtk.tree_iter option -> Gtk.tree_iter

- Raises `Invalid_argument` if arguments do not designate a valid node

    method iter_parent : Gtk.tree_iter -> Gtk.tree_iter option

    method foreach : (Gtk.tree_path -> Gtk.tree_iter -> bool) -> unit

    method row_changed : Gtk.tree_path -> Gtk.tree_iter -> unit