Debian Codegraph @

ide/rocqide/wg_MessageView.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 type message_view_signals =
12 object
13 inherit GObj.misc_signals
14 inherit GUtil.add_ml_signals
15 method pushed : callback:Ideutils.logger -> GtkSignal.id
16 end
17
18 class type message_view =
19 object
20 inherit GObj.widget
21 method source_buffer : GSourceView3.source_buffer
22 method connect : message_view_signals
23 method clear : unit
24 method add : Pp.t -> unit
25 method add_string : string -> unit
26 method set : Pp.t -> unit
27 method push : Ideutils.logger
28 (** same as [add], but with an explicit level instead of [Notice] *)
29
30 method debug_prompt : Pp.t -> unit
31 method select_all : unit -> unit
32 method has_selection : bool
33 method get_selected_text : string
34 method editable2 : bool
35 method set_editable2 : bool -> unit
36 method set_forward_send_db_cmd : (string -> unit) -> unit
37 method set_forward_send_db_stack : (unit -> unit) -> unit
38 method set_forward_show_debugger : (unit -> unit) -> unit
39 end
40
41 val message_view : int -> message_view
42
43 val forward_keystroke : (Gdk.keysym * Gdk.Tags.modifier list -> int -> bool) ref