]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/matita/matitaGui.mli
snapshot (notably: implemented "check")
[helm.git] / helm / matita / matitaGui.mli
index 848f52bf680c1e465daf48b7f05d06777c67dbca..425406a587be653562f23428817ec2f850be7db0 100644 (file)
@@ -36,16 +36,22 @@ class gui :
   string ->
   object
 
-    method setQuitCallback : (unit -> unit) -> unit
+    method setQuitCallback    : (unit -> unit) -> unit
+    method setPhraseCallback  : (string -> unit) -> unit
 
-      (** {2 Access to low-level GTK widgets} *)
+      (** {2 Access to lower-level GTK widgets} *)
 
     method about :        MatitaGeneratedGui.aboutWin
+    method check :        MatitaGeneratedGui.checkWin
     method fileSel :      MatitaGeneratedGui.fileSelectionWin
     method main :         MatitaGeneratedGui.mainWin
     method proof :        MatitaGeneratedGui.proofWin
     method toolbar :      MatitaGeneratedGui.toolBarWin
 
+      (** {2 Access to GUI useful components} *)
+
+    method console:       MatitaConsole.console
+
       (** {2 Dialogs instantiation}
        * methods below create a new window on each invocation. You should
        * remember to destroy windows after use *)
@@ -57,3 +63,6 @@ class gui :
 
   end
 
+  (** singleton instance of the gui *)
+val instance: unit -> gui
+