Debian Codegraph @

ide/rocqide/wg_Notebook.mli

raw symbols SCIP
1 (************************************************************************)
2 (* * The Rocq Prover / The Rocq Development Team *)
3 (* v * Copyright INRIA, CNRS and contributors *)
4 (* <O___,, * (see version control and CREDITS file for authors & dates) *)
5 (* \VV/ **************************************************************)
6 (* // * This file is distributed under the terms of the *)
7 (* * GNU Lesser General Public License Version 2.1 *)
8 (* * (see LICENSE file for the text of the license) *)
9 (************************************************************************)
10
11 class ['a] typed_notebook :
12 ('a -> GObj.widget option * GObj.widget option * GObj.widget) ->
13 ('a -> unit) ->
14 Gtk.notebook Gtk.obj ->
15 object
16 inherit GPack.notebook
17 method append_term : 'a -> int
18 method prepend_term : 'a -> int
19 method insert_term : ?pos:int -> 'a -> int
20 method set_term : 'a -> unit
21 method get_nth_term : int -> 'a
22 method pages : 'a list
23 method remove_page : int -> unit
24 method current_term : 'a
25 method goto_term : 'a -> unit
26 end
27
28 val create :
29 ('a -> GObj.widget option * GObj.widget option * GObj.widget) ->
30 ('a -> unit) ->
31 ?enable_popup:bool ->
32 ?group_name:string ->
33 ?scrollable:bool ->
34 ?show_border:bool ->
35 ?show_tabs:bool ->
36 ?tab_pos:Gtk.Tags.position ->
37 ?border_width:int ->
38 ?width:int ->
39 ?height:int ->
40 ?packing:(GObj.widget -> unit) -> ?show:bool -> unit -> 'a typed_notebook