set_cursor_visible


Description:

public void set_cursor_visible (bool setting)

Toggles whether the insertion point should be displayed.

A buffer with no editable text probably shouldn’t have a visible cursor, so you may want to turn the cursor off.

Note that this property may be overridden by the [property@Gtk.Settings:gtk-keynav-use-caret] setting.

Parameters:

this

a `GtkTextView`

setting

whether to show the insertion cursor