1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// This file was generated by gir (https://github.com/gtk-rs/gir)
// from gir-files (https://github.com/gtk-rs/gir-files.git)
// DO NOT EDIT

use glib::translate::*;

glib::wrapper! {
    /// The [`TreeIter`][crate::TreeIter] is the primary structure
    /// for accessing a [`TreeModel`][crate::TreeModel]. Models are expected to put a unique
    /// integer in the @stamp member, and put
    /// model-specific data in the three @user_data
    /// members.
    #[derive(Debug)]
    pub struct TreeIter(BoxedInline<ffi::GtkTreeIter>);

    match fn {
        copy => |ptr| ffi::gtk_tree_iter_copy(mut_override(ptr)),
        free => |ptr| ffi::gtk_tree_iter_free(ptr),
        type_ => || ffi::gtk_tree_iter_get_type(),
    }
}