pike.git / src / post_modules / GTK2 / source / gtktreemodel.pre

version» Context lines:

pike.git/src/post_modules/GTK2/source/gtktreemodel.pre:140:       get_all_args("get_value",args,"%o%i",&o1,&col);    gtk_tree_model_get_value(GTK_TREE_MODEL(THIS->obj),    (GtkTreeIter *)get_pg2object(o1,pgtk2_tree_iter_program),col,&v);    pgtk2_pop_n_elems(args);    pgtk2_push_gvalue_rt(&v);    g_value_unset(&v);    }   }    - +GTK2.TreeIter iter_next(GTK2.TreeIter iter) + int iter_next(GTK2.TreeIter iter)   //! Go to next node.   {    pgtk2_verify_inited();    {    struct object *o1;    int res;    GtkTreeIter *iter;       get_all_args("iter_next",args,"%o",&o1);    iter=(GtkTreeIter *)get_pg2object(o1,pgtk2_tree_iter_program);    res=gtk_tree_model_iter_next(GTK_TREE_MODEL(THIS->obj),iter);    pgtk2_pop_n_elems(args); -  if (res) { -  push_pgdk2object(iter,pgtk2_tree_iter_program,1); -  } else { -  push_int(0); +  PGTK_PUSH_INT(res);    }   } - } +       +GTK2.TreeIter iter_children(GTK2.TreeIter parent)   //! Get first child of parent.   {    pgtk2_verify_inited();    {    GtkTreeIter *iter;    struct object *o1;    int res;    get_all_args("iter_children",args,"%o",&o1);