logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

tickit_window_take_focus, tickit_window_is_focused - control the input focus

Description

tickit_window_take_focus()  requests that the given window take the input focus, causing respectively the
       parent to take focus, recursively to the root. The terminal cursor will then take the properties  defined
       by the given window. This results in a TICKIT_EV_FOCUS event being delivered to the previous owner of the
       focus, as well as to the given window.

       tickit_window_is_focused() returns true if the given window currently has the input focus.

Name

       tickit_window_take_focus, tickit_window_is_focused - control the input focus

Return Value

tickit_window_take_focus() returns no value. tickit_window_is_focused() returns a boolean.

See Also

tickit_window_new(3),    tickit_window_set_cursor_position(3),   tickit_window_set_focus_child_notify(3),
       tickit_window_bind_event(3), tickit_window(7), tickit(7)

                                                                                     TICKIT_WINDOW_TAKE_FOCUS(3)

Synopsis

#include<tickit.h>voidtickit_window_take_focus(TickitWindow*win);booltickit_window_is_focused(constTickitWindow*win);

       Link with -ltickit.

See Also