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_view/class-text_view/index.html

Class Text_view.text_view

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__.GScrollable.scrollable_t
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_selection:bool -> unit) -> unit -> Gobject.Signal.handler_id
method on_move_viewport : ?after:bool -> callback:(step:Ocgtk_gtk__.Gtk_enums.scrollstep -> count:int -> 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_select_all : ?after:bool -> callback:(select:bool -> unit) -> unit -> Gobject.Signal.handler_id
method on_set_anchor : ?after:bool -> callback:(unit -> unit) -> unit -> Gobject.Signal.handler_id
method on_toggle_cursor_visible : ?after:bool -> callback:(unit -> unit) -> unit -> Gobject.Signal.handler_id
method on_toggle_overwrite : ?after:bool -> callback:(unit -> unit) -> unit -> Gobject.Signal.handler_id
method add_child_at_anchor : Ocgtk_gtk__.GEvent_controller_and__layout_child_and__layout_manager_and__root_and__tooltip_and__widget.widget_t -> Ocgtk_gtk__.GText_child_anchor.text_child_anchor_t -> unit
method add_overlay : Ocgtk_gtk__.GEvent_controller_and__layout_child_and__layout_manager_and__root_and__tooltip_and__widget.widget_t -> int -> int -> unit
method backward_display_line : Ocgtk_gtk__.Text_buffer_and__text_iter_and__text_mark.Text_iter.t -> bool
method backward_display_line_start : Ocgtk_gtk__.Text_buffer_and__text_iter_and__text_mark.Text_iter.t -> bool
method forward_display_line : Ocgtk_gtk__.Text_buffer_and__text_iter_and__text_mark.Text_iter.t -> bool
method forward_display_line_end : Ocgtk_gtk__.Text_buffer_and__text_iter_and__text_mark.Text_iter.t -> bool
method get_accepts_tab : unit -> bool
method get_bottom_margin : unit -> int
method get_buffer : unit -> Ocgtk_gtk__.GText_buffer_and__text_iter_and__text_mark.text_buffer_t
method get_cursor_visible : unit -> bool
method get_editable : unit -> bool
method get_extra_menu : unit -> Ocgtk_gio.Gio.Menu_model.menu_model_t
method get_gutter : Ocgtk_gtk__.Gtk_enums.textwindowtype -> Ocgtk_gtk__.GEvent_controller_and__layout_child_and__layout_manager_and__root_and__tooltip_and__widget.widget_t option
method get_indent : unit -> int
method get_input_hints : unit -> Ocgtk_gtk__.Gtk_enums.inputhints
method get_input_purpose : unit -> Ocgtk_gtk__.Gtk_enums.inputpurpose
method get_justification : unit -> Ocgtk_gtk__.Gtk_enums.justification
method get_left_margin : unit -> int
method get_ltr_context : unit -> Ocgtk_pango.Pango.Context.context_t
method get_monospace : unit -> bool
method get_overwrite : unit -> bool
method get_pixels_above_lines : unit -> int
method get_pixels_below_lines : unit -> int
method get_pixels_inside_wrap : unit -> int
method get_right_margin : unit -> int
method get_rtl_context : unit -> Ocgtk_pango.Pango.Context.context_t
method get_tabs : unit -> Ocgtk_pango.Pango.Tab_array.tab_array_t option
method get_top_margin : unit -> int
method get_wrap_mode : unit -> Ocgtk_gtk__.Gtk_enums.wrapmode
method im_context_filter_keypress : Ocgtk_gdk.Gdk.Event.event_t -> bool
method move_mark_onscreen : Ocgtk_gtk__.GText_buffer_and__text_iter_and__text_mark.text_mark_t -> bool
method move_overlay : Ocgtk_gtk__.GEvent_controller_and__layout_child_and__layout_manager_and__root_and__tooltip_and__widget.widget_t -> int -> int -> unit
method move_visually : Ocgtk_gtk__.Text_buffer_and__text_iter_and__text_mark.Text_iter.t -> int -> bool
method place_cursor_onscreen : unit -> bool
method remove : Ocgtk_gtk__.GEvent_controller_and__layout_child_and__layout_manager_and__root_and__tooltip_and__widget.widget_t -> unit
method reset_im_context : unit -> unit
method scroll_mark_onscreen : Ocgtk_gtk__.GText_buffer_and__text_iter_and__text_mark.text_mark_t -> unit
method scroll_to_iter : Ocgtk_gtk__.Text_buffer_and__text_iter_and__text_mark.Text_iter.t -> float -> bool -> float -> float -> bool
method scroll_to_mark : Ocgtk_gtk__.GText_buffer_and__text_iter_and__text_mark.text_mark_t -> float -> bool -> float -> float -> unit
method set_accepts_tab : bool -> unit
method set_bottom_margin : int -> unit
method set_buffer : Ocgtk_gtk__.GText_buffer_and__text_iter_and__text_mark.text_buffer_t option -> unit
method set_cursor_visible : bool -> unit
method set_editable : bool -> unit
method set_extra_menu : Ocgtk_gio.Gio.Menu_model.menu_model_t option -> unit
method set_gutter : Ocgtk_gtk__.Gtk_enums.textwindowtype -> Ocgtk_gtk__.GEvent_controller_and__layout_child_and__layout_manager_and__root_and__tooltip_and__widget.widget_t option -> unit
method set_indent : int -> unit
method set_input_hints : Ocgtk_gtk__.Gtk_enums.inputhints -> unit
method set_input_purpose : Ocgtk_gtk__.Gtk_enums.inputpurpose -> unit
method set_justification : Ocgtk_gtk__.Gtk_enums.justification -> unit
method set_left_margin : int -> unit
method set_monospace : bool -> unit
method set_overwrite : bool -> unit
method set_pixels_above_lines : int -> unit
method set_pixels_below_lines : int -> unit
method set_pixels_inside_wrap : int -> unit
method set_right_margin : int -> unit
method set_tabs : Ocgtk_pango.Pango.Tab_array.tab_array_t -> unit
method set_top_margin : int -> unit
method set_wrap_mode : Ocgtk_gtk__.Gtk_enums.wrapmode -> unit
method starts_display_line : Ocgtk_gtk__.Text_buffer_and__text_iter_and__text_mark.Text_iter.t -> bool
method im_module : string
method set_im_module : string -> unit
method as_text_view : Ocgtk_gtk__.Text_view.t