1TICKIT_RENDERBUFFER_GET_CURSLOiRbPrOaSr(y3)FunctionTsICMKaInTu_aRlENDERBUFFER_GET_CURSORPOS(3)
2
3
4

NAME

6       tickit_renderbuffer_has_cursorpos,  tickit_renderbuffer_get_cursorpos -
7       query the virtual cursor position
8

SYNOPSIS

10       #include <tickit.h>
11
12       bool tickit_renderbuffer_has_cursorpos(const TickitRenderBuffer *rb);
13       void tickit_renderbuffer_get_cursorpos(const TickitRenderBuffer *rb, int lines, int cols);
14
15       Link with -ltickit.
16

DESCRIPTION

18       tickit_renderbuffer_has_cursorpos() returns a true value  if  the  buf‐
19       fer's   virtual   cursor   position  has  been  set  by  tickit_render‐
20       buffer_goto(3), or false if it has never been set, or  was  cleared  by
21       tickit_renderbuffer_ungoto(3) or tickit_renderbuffer_reset(3).
22
23       tickit_renderbuffer_get_cursorpos()  retrieves  the current position of
24       the virtual cursor, by setting the integers pointed to by line and col,
25       if  not NULL. If the virtual cursor position is not set then this func‐
26       tion does nothing.
27

RETURN VALUE

29       tickit_renderbuffer_has_cursorpos() returns a  boolean.  tickit_render‐
30       buffer_get_cursorpos() returns no value.
31

SEE ALSO

33       tickit_renderbuffer_new(3), tickit_renderbuffer(7), tickit(7)
34
35
36
37                                          TICKIT_RENDERBUFFER_GET_CURSORPOS(3)
Impressum