| 1 | (************************************************************************) |
| 2 | (* * The Rocq Prover / The Rocq Development Team *) |
| 3 | (* v * Copyright INRIA, CNRS and contributors *) |
| 4 | (* <O___,, * (see version control and CREDITS file for authors & dates) *) |
| 5 | (* \VV/ **************************************************************) |
| 6 | (* // * This file is distributed under the terms of the *) |
| 7 | (* * GNU Lesser General Public License Version 2.1 *) |
| 8 | (* * (see LICENSE file for the text of the license) *) |
| 9 | (************************************************************************) |
| 10 | |
| 11 | type button_contents = |
| 12 | | ButtonWithStock of GtkStock.id |
| 13 | | ButtonWithLabel of string |
| 14 | |
| 15 | val question_box : |
| 16 | ?parent:GWindow.window -> ?icon:#GObj.widget -> title:string -> |
| 17 | ?buttons:button_contents list -> ?default:int -> string -> int |
| 18 | |
| 19 | val message_box : |
| 20 | ?parent:GWindow.window -> ?icon:#GObj.widget -> title:string -> |
| 21 | ?ok:button_contents -> string -> unit |