tickit_window_set_cursor_position - Man Page

modify the cursor state on a window


#include <tickit.h>

void tickit_window_set_cursor_position(TickitWindow *win, int line, int col);
void tickit_window_set_cursor_visible(TickitWindow *win, bool visible);
void tickit_window_set_cursor_shape(TickitWindow *win, TickitCursorShape shape);

Link with -ltickit.


tickit_window_set_cursor_position() sets the position within the given window where the terminal cursor would be displayed, if the window has the focus.

tickit_window_set_cursor_visible() sets whether the terminal cursor is visible when the given window has the focus.

tickit_window_set_cursor_shape() sets what shape the terminal cursor will have if the given window has the focus.

Note that none of these functions actually affect the input focus directly, they simply set what the state of the cursor will be if the given window has the input focus. To set the input focus, see tickit_window_take_focus(3).

Return Value

These functions all return no value.

See Also

tickit_window_new(3), tickit_window_take_focus(3), tickit_window(7), tickit_rect(7), tickit(7)

Referenced By

tickit_window(7), tickit_window_set_focus_child_notify(3), tickit_window_take_focus(3).

The man pages tickit_window_set_cursor_shape(3) and tickit_window_set_cursor_visible(3) are aliases of tickit_window_set_cursor_position(3).