Header Ads Widget

[MAN] caca_get_mouse_x

Content-type: text/html; charset=UTF-8 Man page of caca_event

caca_event

Section: libcaca (3caca)
Updated: Wed Oct 20 2021
Index Return to Main Contents
 

NAME

caca_event - Handling of user events.

 

SYNOPSIS


 

Data Fields


enum caca_event_type type

union {

struct {

int x

int y

int button

} mouse

struct {

int w

int h

} resize

struct {

int ch

uint32_t utf32

char utf8 [8]

} key

} data
 

Detailed Description

This structure is filled by caca_get_event() when an event is received. It is an opaque structure that should only be accessed through caca_event_get_type() and similar functions. The struct members may no longer be directly accessible in future versions.  

Field Documentation

 

enum caca_event_type caca_event::type

The event type.  

union { ... } caca_event::data

The event information data

 

Author

Generated automatically by Doxygen for libcaca from the source code.


 

Index

NAME
SYNOPSIS
Data Fields
Detailed Description
Field Documentation
enum caca_event_type caca_event::type
union { ... } caca_event::data
Author

This document was created by man2html, using the manual pages.
Time: 04:45:49 GMT, September 16, 2022

댓글 쓰기

0 댓글