1TICKIT_WINDOW_SET_CURSOR_POSLIiTbIrOaNr(y3)FunctionTsICMKaInTu_aWlINDOW_SET_CURSOR_POSITION(3)
2
3
4
6 tickit_window_set_cursor_position, tickit_window_set_cursor_visible,
7 tickit_window_set_cursor_shape - modify the cursor state on a window
8
10 #include <tickit.h>
11
12 void tickit_window_set_cursor_position(TickitWindow *win, int line, int col);
13 void tickit_window_set_cursor_visible(TickitWindow *win, bool visible);
14 void tickit_window_set_cursor_shape(TickitWindow *win, TickitCursorShape shape);
15
16 Link with -ltickit.
17
19 tickit_window_set_cursor_position() sets the position within the given
20 window where the terminal cursor would be displayed, if the window has
21 the focus.
22
23 tickit_window_set_cursor_visible() sets whether the terminal cursor is
24 visible when the given window has the focus.
25
26 tickit_window_set_cursor_shape() sets what shape the terminal cursor
27 will have if the given window has the focus.
28
29 Note that none of these functions actually affect the input focus
30 directly, they simply set what the state of the cursor will be if the
31 given window has the input focus. To set the input focus, see
32 tickit_window_take_focus(3).
33
35 These functions all return no value.
36
38 tickit_window_new(3), tickit_window_take_focus(3), tickit_window(7),
39 tickit_rect(7), tickit(7)
40
41
42
43 TICKIT_WINDOW_SET_CURSOR_POSITION(3)