X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fmatita%2FmatitaGtkMisc.mli;h=92606176cfc5c61fa9068b2b3aa790a05b1d989c;hb=f38e8fafcf040258b54b4032562753a876a8a94e;hp=fa12ab42eb0b5ddee2f985dcdeb63275326e6a20;hpb=190e42f1030ea3d459c4040bb0e8503a7c096820;p=helm.git diff --git a/helm/matita/matitaGtkMisc.mli b/helm/matita/matitaGtkMisc.mli index fa12ab42e..92606176c 100644 --- a/helm/matita/matitaGtkMisc.mli +++ b/helm/matita/matitaGtkMisc.mli @@ -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 *)