Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
TICKIT_WI...TEAL_INPUT(3)  Library Functions Manual  TICKIT_WI...TEAL_INPUT(3)

NAME
       tickit_window_set_steal_input - control whether windows steal all input
       events

SYNOPSIS
       #include	<tickit.h>

       bool tickit_window_is_steal_input(const TickitWindow *win);
       void tickit_window_set_steal_input(TickitWindow *win, bool steal);

       Link with -ltickit.

DESCRIPTION
       tickit_window_is_steal_input()  returns the current state of the	input-
       stealing	setting	on the window. If true,	this causes the	window to have
       special behaviour on input events that are likely to be useful  to  im-
       plement popup windows. Specifically, the	window receives	all key	events
       on  its	parent	even  before the sibling with the input	focus receives
       them, provided it is the	front-most child of its	parent.	 Additionally,
       the  window  will  receive  all mouse events, even those	outside	of its
       geometry.

       tickit_window_set_steal_input() changes the value of this setting.

       The initial value is normally false, unless the TICKIT_WINDOW_STEAL_IN-
       PUT flag	was passed to the tickit_window_new(3) function	call that cre-
       ated the	window.

       This   function	 is   discouraged   in	  favour    of	  using	   the
       TICKIT_WINCTL_STEAL_INPUT     window	control	   with	   tickit_win-
       dow_setctl_int(3).

RETURN VALUE
       tickit_window_is_steal_input()	returns	  a    boolean.	   tickit_win-
       dow_set_steal_input() returns no	value.

SEE ALSO
       tickit_window_new(3), tickit_window(7), tickit(7)

						     TICKIT_WI...TEAL_INPUT(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=tickit_window_set_steal_input&sektion=3&manpath=FreeBSD+Ports+15.0>

home | help