module Wpane:sig
..end
typefield =
[ `Compact | `Field | `Panel ]
The form consists of two columns, with one entry per line. Left columns is reserved for (optional) labels. Fields take place in right column. It is also possible to add widget that spans over the two columns.
The form can be horizontally divided into sections.
Elements must be added in left-to-right, top-down order.
class form :unit ->
object
..end
class['a]
notebook :?tabs:Gtk.Tags.position -> default:'a -> unit ->
object
..end
class type entry =object
..end
class['a]
warray :?dir:Gtk.Tags.orientation -> ?entry:'a -> entry -> unit ->
object
..end
type'a
action =[ `ACTION of unit -> unit
| `ALT of 'a
| `APPLY
| `CANCEL
| `DEFAULT of 'a
| `SELECT of 'a ]
Dialog window are asynchronous and modal. To open the dialog,
invoke run
. The method returns immediately. When running, the
main window is no more sensitive (dialog is modal). When an
action-button is pressed, or the method select
is invoked, the
associated signal is emitted, and the dialog is dismissed. Then
focus goes back to the main window, and the dialog can be re-emitted.
class[[> `APPLY | `CANCEL ]]
dialog :title:string -> window:GWindow.window -> ?resize:bool -> unit ->
object
..end