X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;ds=sidebyside;f=matita%2Fmatita%2FmatitaGuiTypes.mli;h=af4a6b31d9a8d234852b99a362c9fea256b40e1c;hb=8a660ee06d72cfee52c707bb1d8d8be3bab0d682;hp=d25735d4aebf1abd36271ede520e6f1964efdd9f;hpb=2c01ff6094173915e7023076ea48b5804dca7778;p=helm.git diff --git a/matita/matita/matitaGuiTypes.mli b/matita/matita/matitaGuiTypes.mli index d25735d4a..af4a6b31d 100644 --- a/matita/matita/matitaGuiTypes.mli +++ b/matita/matita/matitaGuiTypes.mli @@ -105,7 +105,14 @@ type paste_kind = [ `Term | `Pattern ] * callback *) class type clickableMathView = object - inherit GMathViewAux.multi_selection_math_view + inherit GSourceView2.source_view + + method load_root : root:string -> unit + method remove_selections: unit + method set_selection: Gdome.element option -> unit + method get_selections: Gdome.element list + method set_font_size: int -> unit + (** set hyperlink callback. None disable hyperlink handling *) method set_href_callback: (string -> unit) option -> unit @@ -123,11 +130,9 @@ object inherit clickableMathView (** load a sequent and render it into parent widget *) - method load_sequent: Cic.metasenv -> int -> unit method nload_sequent: #NCicCoercion.status -> NCic.metasenv -> NCic.substitution -> int -> unit - method load_object: Cic.obj -> unit method load_nobject: #NCicCoercion.status -> NCic.obj -> unit end @@ -136,8 +141,6 @@ object method reset: unit method load_logo: unit method load_logo_with_qed: unit - method load_sequents: - #NCicCoercion.status -> GrafiteTypes.incomplete_proof -> unit method nload_sequents: #NTacStatus.tac_status -> unit method goto_sequent: #NCicCoercion.status -> int -> unit (* to be called _after_ load_sequents *)