]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/matita/matitaMathView.mli
update in basic_2
[helm.git] / matita / matita / matitaMathView.mli
index 47b1e4a83eb6584762ae715fdae0e847ebab43db..dd1e189557ba88cb7bdba3a0b063d9d091631823 100644 (file)
  * http://helm.cs.unibo.it/
  *)
 
-(** {2 Instances} *)
-val cicBrowser: unit -> MatitaGuiTypes.cicBrowser
-
-(** {2 Singleton instances} *)
-val sequentsViewer_instance:  unit -> MatitaGuiTypes.sequentsViewer
-val mathViewer:               unit -> MatitaTypes.mathViewer
+(** {2 To be called just once} *)
+val sequentsViewer_instance: GPack.notebook -> MatitaGuiTypes.sequentsViewer
 
 (** {2 Global changes} *)
-
 val refresh_all_browsers: unit -> unit  (** act on all cicBrowsers *)
-val update_font_sizes:    unit -> unit
 
-  (** {3 Clipboard & Selection handling} *)
+(** {2 Rendering in a browser} *)
+(** @param reuse if set reused last opened cic browser otherwise 
+*  opens a new one. default is false *)
+val cicBrowser: ?reuse:bool -> MatitaTypes.mathViewer_entry option -> unit
+
+(** {2 Clipboard & Selection handling} *)
 
 val has_selection: unit -> bool