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

FreeBSD Manual Pages

  
 
  

home | help
xcb_button_press_event_t(3)	  XCB Events	   xcb_button_press_event_t(3)

NAME
       xcb_button_press_event_t	- a mouse button was pressed/released

SYNOPSIS
       #include	<xcb/xproto.h>

   Event datastructure
       typedef struct xcb_button_press_event_t {
	   uint8_t	   response_type;
	   xcb_button_t	   detail;
	   uint16_t	   sequence;
	   xcb_timestamp_t time;
	   xcb_window_t	   root;
	   xcb_window_t	   event;
	   xcb_window_t	   child;
	   int16_t	   root_x;
	   int16_t	   root_y;
	   int16_t	   event_x;
	   int16_t	   event_y;
	   uint16_t	   state;
	   uint8_t	   same_screen;
	   uint8_t	   pad0;
       } xcb_button_press_event_t;

EVENT FIELDS
       response_type
		 The type of this event, in this case XCB_BUTTON_RELEASE. This
		 field	is  also present in the	xcb_generic_event_t and	can be
		 used to tell events apart from	each other.

       sequence	 The sequence number of	the last request processed by the  X11
		 server.

       detail	 The keycode (a	number representing a physical key on the key-
		 board)	of the key which was pressed.

       time	 Time when the event was generated (in milliseconds).

       root	 The root window of child.

       event	 NOT YET DOCUMENTED.

       child	 NOT YET DOCUMENTED.

       root_x	 The  X	 coordinate of the pointer relative to the root	window
		 at the	time of	the event.

       root_y	 The Y coordinate of the pointer relative to the  root	window
		 at the	time of	the event.

       event_x	 If  same_screen is true, this is the X	coordinate relative to
		 the event window's origin. Otherwise, event_x will be set  to
		 zero.

       event_y	 If  same_screen is true, this is the Y	coordinate relative to
		 the event window's origin. Otherwise, event_y will be set  to
		 zero.

       state	 The  logical  state  of the pointer buttons and modifier keys
		 just prior to the event.

       same_screen
		 Whether the event window is on	the same screen	 as  the  root
		 window.

DESCRIPTION
SEE ALSO
       xcb_generic_event_t(3), xcb_grab_button(3), xcb_grab_pointer(3)

AUTHOR
       Generated  from	xproto.xml. Contact xcb@lists.freedesktop.org for cor-
       rections	and improvements.

X Version 11			 libxcb	1.17.0	   xcb_button_press_event_t(3)

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

home | help