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/Text/class-text/index.html

Class Text.text

inherit Ocgtk_gtk__.GEvent_controller_and__layout_child_and__layout_manager_and__root_and__tooltip_and__widget.widget_t
inherit Ocgtk_gtk__.GAccessible_text.accessible_text_t
inherit Ocgtk_gtk__.GEditable.editable_t
method on_activate : ?after:bool -> callback:(unit -> unit) -> unit -> Gobject.Signal.handler_id
method on_backspace : ?after:bool -> callback:(unit -> unit) -> unit -> Gobject.Signal.handler_id
method on_copy_clipboard : ?after:bool -> callback:(unit -> unit) -> unit -> Gobject.Signal.handler_id
method on_cut_clipboard : ?after:bool -> callback:(unit -> unit) -> unit -> Gobject.Signal.handler_id
method on_delete_from_cursor : ?after:bool -> callback:(type_:Ocgtk_gtk__.Gtk_enums.deletetype -> count:int -> unit) -> unit -> Gobject.Signal.handler_id
method on_insert_at_cursor : ?after:bool -> callback:(string:string -> unit) -> unit -> Gobject.Signal.handler_id
method on_insert_emoji : ?after:bool -> callback:(unit -> unit) -> unit -> Gobject.Signal.handler_id
method on_move_cursor : ?after:bool -> callback: (step:Ocgtk_gtk__.Gtk_enums.movementstep -> count:int -> extend:bool -> unit) -> unit -> Gobject.Signal.handler_id
method on_paste_clipboard : ?after:bool -> callback:(unit -> unit) -> unit -> Gobject.Signal.handler_id
method on_preedit_changed : ?after:bool -> callback:(preedit:string -> unit) -> unit -> Gobject.Signal.handler_id
method on_toggle_overwrite : ?after:bool -> callback:(unit -> unit) -> unit -> Gobject.Signal.handler_id
method get_activates_default : unit -> bool
method get_attributes : unit -> Ocgtk_pango.Pango.Attr_list.attr_list_t option
method get_buffer : unit -> Ocgtk_gtk__.GEntry_buffer.entry_buffer_t
method get_enable_emoji_completion : unit -> bool
method get_extra_menu : unit -> Ocgtk_gio.Gio.Menu_model.menu_model_t option
method get_input_hints : unit -> Ocgtk_gtk__.Gtk_enums.inputhints
method get_input_purpose : unit -> Ocgtk_gtk__.Gtk_enums.inputpurpose
method get_invisible_char : unit -> int
method get_max_length : unit -> int
method get_overwrite_mode : unit -> bool
method get_placeholder_text : unit -> string option
method get_propagate_text_width : unit -> bool
method get_tabs : unit -> Ocgtk_pango.Pango.Tab_array.tab_array_t option
method get_text_length : unit -> UInt16.t
method get_truncate_multiline : unit -> bool
method get_visibility : unit -> bool
method grab_focus_without_selecting : unit -> bool
method set_activates_default : bool -> unit
method set_attributes : Ocgtk_pango.Pango.Attr_list.attr_list_t option -> unit
method set_buffer : Ocgtk_gtk__.GEntry_buffer.entry_buffer_t -> unit
method set_enable_emoji_completion : bool -> unit
method set_extra_menu : Ocgtk_gio.Gio.Menu_model.menu_model_t option -> unit
method set_input_hints : Ocgtk_gtk__.Gtk_enums.inputhints -> unit
method set_input_purpose : Ocgtk_gtk__.Gtk_enums.inputpurpose -> unit
method set_invisible_char : int -> unit
method set_max_length : int -> unit
method set_overwrite_mode : bool -> unit
method set_placeholder_text : string option -> unit
method set_propagate_text_width : bool -> unit
method set_tabs : Ocgtk_pango.Pango.Tab_array.tab_array_t option -> unit
method set_truncate_multiline : bool -> unit
method set_visibility : bool -> unit
method unset_invisible_char : unit -> unit
method im_module : string
method set_im_module : string -> unit
method invisible_char_set : bool
method set_invisible_char_set : bool -> unit
method scroll_offset : int
method as_text : Ocgtk_gtk__.Text.t