Class Widget.textview


class textview : ?view:GText.view -> unit -> object .. end

val view : GText.view
val buffer : GText.buffer
val mutable iter : GText.iter
method view : GText.view
method append : ?tags:string list -> string -> unit
Append text with the optional list of tags.
method append_image : ?scale:(int * int) option -> string -> unit
Append the image found in the given filename
method refresh : unit -> unit
Refresh the content applying tags. To use after all calls to append.
method delete : unit -> unit
Delete the content of the buffer
method rewrite : ?tags:string list -> string -> unit
As append but first delete the old content
method private create_tags : unit -> unit
Call by initializer