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/Wrappers/Message_dialog/index.html

Module Wrappers.Message_dialog

type t = [ `message_dialog | `dialog | `window | `widget | `initially_unowned | `object_ ] Gobject.obj
val set_markup : t -> string -> unit

Sets the text of the message dialog.

val get_message_area : t -> [ `widget | `initially_unowned | `object_ ] Gobject.obj

Returns the message area of the dialog.

This is the box where the dialog’s primary and secondary labels are packed. You can add your own extra content to that box and it will appear below those labels. See method@Gtk.Dialog.get_content_area for the corresponding function in the parent class@Gtk.Dialog.

val get_message_type : t -> Gtk_enums.messagetype

Get property: message-type

val set_message_type : t -> Gtk_enums.messagetype -> unit

Set property: message-type

val get_secondary_text : t -> string

Get property: secondary-text

val set_secondary_text : t -> string -> unit

Set property: secondary-text

val get_secondary_use_markup : t -> bool

Get property: secondary-use-markup

val set_secondary_use_markup : t -> bool -> unit

Set property: secondary-use-markup

val get_text : t -> string

Get property: text

val set_text : t -> string -> unit

Set property: text

val get_use_markup : t -> bool

Get property: use-markup

val set_use_markup : t -> bool -> unit

Set property: use-markup