TextView.this

Creates a new GtkTextView widget displaying the buffer buffer. One buffer can be shared among many widgets. buffer may be NULL to create a default buffer, in which case this function is equivalent to gtk_text_view_new(). The text view adds its own reference count to the buffer; it does not take over an existing reference.

  1. this(GtkTextView* gtkTextView)
  2. this()
  3. this(TextBuffer buffer)
    class TextView

Parameters

buffer TextBuffer

a GtkTextBuffer

Throws

ConstructionException GTK+ fails to create the object.

Meta