package ocgtk

  1. Overview
  2. Docs
OCaml bindings for GTK 4

Install

dune-project
 Dependency

Authors

Maintainers

Sources

v0.1-preview2.tar.gz
sha256=4e50fdb5093136a10fc8ffbe388e44cbcb70d52f8afdd48863ec7e22580ff054

doc/ocgtk.gtk/Ocgtk_gtk/Gtk/Dialog/class-dialog/index.html

Class Dialog.dialog

inherit Ocgtk_gtk__.GApplication_and__window_and__window_group.window_t
method on_close : ?after:bool -> callback:(unit -> unit) -> unit -> Gobject.Signal.handler_id
method on_response : ?after:bool -> callback:(response_id:int -> unit) -> unit -> Gobject.Signal.handler_id
method add_action_widget : Ocgtk_gtk__.GEvent_controller_and__layout_child_and__layout_manager_and__root_and__tooltip_and__widget.widget_t -> int -> unit
method add_button : string -> int -> Ocgtk_gtk__.GEvent_controller_and__layout_child_and__layout_manager_and__root_and__tooltip_and__widget.widget_t
method get_content_area : unit -> Ocgtk_gtk__.GBox.box_t
method get_header_bar : unit -> Ocgtk_gtk__.GHeader_bar.header_bar_t
method get_response_for_widget : Ocgtk_gtk__.GEvent_controller_and__layout_child_and__layout_manager_and__root_and__tooltip_and__widget.widget_t -> int
method get_widget_for_response : int -> Ocgtk_gtk__.GEvent_controller_and__layout_child_and__layout_manager_and__root_and__tooltip_and__widget.widget_t option
method response : int -> unit
method set_default_response : int -> unit
method set_response_sensitive : int -> bool -> unit
method use_header_bar : int
method as_dialog : Ocgtk_gtk__.Dialog.t