diff options
Diffstat (limited to 'ide/wg_MessageView.mli')
| -rw-r--r-- | ide/wg_MessageView.mli | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/ide/wg_MessageView.mli b/ide/wg_MessageView.mli new file mode 100644 index 0000000000..613f1b4190 --- /dev/null +++ b/ide/wg_MessageView.mli @@ -0,0 +1,34 @@ +(************************************************************************) +(* * The Coq Proof Assistant / The Coq Development Team *) +(* v * INRIA, CNRS and contributors - Copyright 1999-2018 *) +(* <O___,, * (see CREDITS file for the list of authors) *) +(* \VV/ **************************************************************) +(* // * This file is distributed under the terms of the *) +(* * GNU Lesser General Public License Version 2.1 *) +(* * (see LICENSE file for the text of the license) *) +(************************************************************************) + +class type message_view_signals = +object + inherit GObj.misc_signals + inherit GUtil.add_ml_signals + method pushed : callback:Ideutils.logger -> GtkSignal.id +end + +class type message_view = + object + inherit GObj.widget + method connect : message_view_signals + method clear : unit + method add : Pp.t -> unit + method add_string : string -> unit + method set : Pp.t -> unit + method refresh : bool -> unit + method push : Ideutils.logger + (** same as [add], but with an explicit level instead of [Notice] *) + + method has_selection : bool + method get_selected_text : string + end + +val message_view : unit -> message_view |
