package lablgtk3

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Stores attributed text for display in a GText.view @gtkdoc gtk GtkTextBuffer

method as_buffer : Gtk.text_buffer
method add_selection_clipboard : GData.clipboard -> unit
method apply_tag : tag -> start:iter -> stop:iter -> unit
method apply_tag_by_name : string -> start:iter -> stop:iter -> unit
method begin_user_action : unit -> unit
method bounds : iter * iter
method char_count : int
method copy_clipboard : GData.clipboard -> unit
method create_child_anchor : iter -> child_anchor
method create_mark : ?name:string -> ?left_gravity:bool -> iter -> Gtk.text_mark
  • parameter left_gravity

    default value is true

method create_tag : ?name:string -> tag_property list -> tag
  • parameter left_gravity

    default value is true

method cut_clipboard : ?default_editable:bool -> GData.clipboard -> unit
  • parameter default_editable

    default value is true

method delete : start:iter -> stop:iter -> unit
  • parameter default_editable

    default value is true

method delete_interactive : start:iter -> stop:iter -> ?default_editable:bool -> unit -> bool
  • parameter default_editable

    default value is true

method delete_mark : mark -> unit
  • parameter default_editable

    default value is true

method delete_selection : ?interactive:bool -> ?default_editable:bool -> unit -> bool
  • parameter interactive

    default value is true

  • parameter default_editable

    default value is true

method end_iter : iter
  • parameter interactive

    default value is true

  • parameter default_editable

    default value is true

method end_user_action : unit -> unit
method get_iter : position -> iter
method get_iter_at_char : ?line:int -> int -> iter
method get_iter_at_byte : line:int -> int -> iter
method get_iter_at_mark : mark -> iter
method get_mark : mark -> Gtk.text_mark
method get_oid : int
method get_text : ?start:iter -> ?stop:iter -> ?slice:bool -> ?visible:bool -> unit -> string
  • parameter slice

    default value is false

  • parameter visible

    default value is false

method insert : ?iter:iter -> ?tag_names:string list -> ?tags:tag list -> string -> unit
  • parameter slice

    default value is false

  • parameter visible

    default value is false

method insert_child_anchor : iter -> child_anchor -> unit
method insert_interactive : ?iter:iter -> ?default_editable:bool -> string -> bool
  • parameter default_editable

    default value is true

method insert_pixbuf : iter:iter -> pixbuf:GdkPixbuf.pixbuf -> unit
  • parameter default_editable

    default value is true

method insert_range : iter:iter -> start:iter -> stop:iter -> unit
method insert_range_interactive : iter:iter -> start:iter -> stop:iter -> ?default_editable:bool -> unit -> bool
  • parameter default_editable

    default value is true

method line_count : int
  • parameter default_editable

    default value is true

method modified : bool
method move_mark : mark -> where:iter -> unit
method paste_clipboard : ?iter:iter -> ?default_editable:bool -> GData.clipboard -> unit
  • parameter default_editable

    default value is true

method place_cursor : where:iter -> unit
  • parameter default_editable

    default value is true

method select_range : iter -> iter -> unit
  • since GTK 2.4
method remove_all_tags : start:iter -> stop:iter -> unit
  • since GTK 2.4
method remove_selection_clipboard : GData.clipboard -> unit
method remove_tag : tag -> start:iter -> stop:iter -> unit
method remove_tag_by_name : string -> start:iter -> stop:iter -> unit
method selection_bounds : iter * iter
method set_modified : bool -> unit
method set_text : string -> unit
method start_iter : iter
method tag_table : Gtk.text_tag_table
method has_selection : bool

since Gtk 2.10

method cursor_position : int

since Gtk 2.10

since Gtk 2.10

OCaml

Innovation. Community. Security.