View.this

Creates a new gtksource.view.View.

By default, an empty classBuffer will be lazily created and can be retrieved with gtk.text_view.TextView.getBuffer.

If you want to specify your own buffer, either override the vfuncGtk.TextView.create_buffer factory method, or use gtksource.view.View.newWithBuffer.

  1. this(void* ptr, Flag!"Take" take)
  2. this()
    class View
    this
    ()

Return Value

a new #GtkSourceView.