]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/matita/matitaGtkMisc.mli
snapshot:
[helm.git] / helm / matita / matitaGtkMisc.mli
index fa12ab42eb0b5ddee2f985dcdeb63275326e6a20..92606176cfc5c61fa9068b2b3aa790a05b1d989c 100644 (file)
@@ -35,6 +35,8 @@ val toggle_win:
 
 val add_key_binding: Gdk.keysym -> (unit -> 'a) -> GBin.event_box -> unit
 
+val connect_button: GButton.button -> (unit -> unit) -> unit
+
   (** single string column list *)
 class stringListModel:
   GTree.view ->
@@ -58,12 +60,10 @@ class type gui =
 
   (** {3 Dialogs} *)
 
-exception Cancel  (* raised when no answer is given by the user *)
-
-  (** @raise Cancel *)
+  (** @raise MatitaTypes.Cancel *)
 val interactive_user_uri_choice: gui:#gui -> MatitaTypes.choose_uris_callback
 
-  (** @raise Cancel *)
+  (** @raise MatitaTypes.Cancel *)
 val interactive_interp_choice: gui:#gui -> MatitaTypes.choose_interp_callback
 
   (** @return true if user hit "ok" button, false if user hit "cancel" button *)