set_cursor_visible


Description:

public void set_cursor_visible (bool cursor_visible)

Sets whether the cursor of a Text actor should be visible or not.

The color of the cursor will be the same as the text color unless set_cursor_color has been called.

The size of the cursor can be set using set_cursor_size.

The position of the cursor can be changed programmatically using set_cursor_position.

Parameters:

this

a Text

cursor_visible

whether the cursor should be visible