]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/matita/matitaGuiTypes.mli
cicNotation* ==> notation*
[helm.git] / matita / matita / matitaGuiTypes.mli
index d25735d4aebf1abd36271ede520e6f1964efdd9f..af4a6b31d9a8d234852b99a362c9fea256b40e1c 100644 (file)
@@ -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 *)