(************************************************************************) (* v * The Coq Proof Assistant / The Coq Development Team *) (* if i = real_pos then term else x) 0 term_list; super#set_page ?tab_label ?menu_label page method remove_page index = term_list <- Util.list_filter_i (fun i x -> i <> index) term_list; super#remove_page index method get_nth_term i = List.nth term_list i method term_num p = Util.list_index0 p term_list method pages = term_list method current_term = List.nth term_list super#current_page end let create build = GtkPack.Notebook.make_params [] ~cont:(GContainer.pack_container ~create:(fun pl -> let nb = GtkPack.Notebook.create pl in (new typed_notebook build nb)))