1TICKIT_WINDOW_TAKE_FOCUS(3)Library Functions ManualTICKIT_WINDOW_TAKE_FOCUS(3)
2
3
4

NAME

6       tickit_window_take_focus,  tickit_window_is_focused - control the input
7       focus
8

SYNOPSIS

10       #include <tickit.h>
11
12       void tickit_window_take_focus(TickitWindow *win);
13       bool tickit_window_is_focused(const TickitWindow *win);
14
15       Link with -ltickit.
16

DESCRIPTION

18       tickit_window_take_focus() requests that  the  given  window  take  the
19       input focus, causing respectively the parent to take focus, recursively
20       to the root. The terminal cursor will then take the properties  defined
21       by  the  given  window.  This  results in a TICKIT_EV_FOCUS event being
22       delivered to the previous owner of the focus, as well as to  the  given
23       window.
24
25       tickit_window_is_focused()  returns  true if the given window currently
26       has the input focus.
27

RETURN VALUE

29       tickit_window_take_focus() returns no value. tickit_window_is_focused()
30       returns a boolean.
31

SEE ALSO

33       tickit_window_new(3), tickit_window_set_cursor_position(3), tickit_win‐
34       dow_set_focus_child_notify(3), tickit_window_bind_event(3), tickit_win‐
35       dow(7), tickit(7)
36
37
38
39                                                   TICKIT_WINDOW_TAKE_FOCUS(3)
Impressum