TextView


Description:

[ CCode ( has_construct_function = false , type = "GtkWidget*" ) ]
public TextView ()

Creates a new `GtkTextView`.

If you don’t call [method@Gtk.TextView.set_buffer] before using the text view, an empty default buffer will be created for you. Get the buffer with [method@Gtk.TextView.get_buffer]. If you want to specify your own buffer, consider [ctor@Gtk.TextView.new_with_buffer].

Returns:

a new `GtkTextView`