1TICKIT_PEN_GET_INT_ATTR(3) Library Functions Manual TICKIT_PEN_GET_INT_ATTR(3)
2
3
4

NAME

6       tickit_pen_get_int_attr,  tickit_pen_set_int_attr - manipulate an inte‐
7       ger pen attribute
8

SYNOPSIS

10       #include <tickit.h>
11
12       int tickit_pen_get_int_attr(TickitPen *pen, TickitPenAttr attr);
13       void tickit_pen_set_int_attr(TickitPen *pen, TickitPenAttr attr, int val);
14
15       Link with -ltickit.
16

DESCRIPTION

18       tickit_pen_get_int_attr() returns the current value of the given  inte‐
19       ger attribute on the pen, or 0 if that attribute is not defined.
20
21       tickit_pen_set_int_attr()  provides  a  new value for the given integer
22       attribute on the pen. It will invoke the TICKIT_EV_CHANGE event on  the
23       pen instance.
24

RETURN VALUE

26       tickit_pen_get_int_attr()      returns      an      integer      value.
27       tickit_pen_set_int_attr() returns no value.
28

SEE ALSO

30       tickit_pen_new(3), tickit_pen_has_attr(3), tickit_pen_set_bool_attr(3),
31       tickit_pen_set_colour_attr(3), tickit_pen_clear_attr(3), tickit_pen(7),
32       tickit(7)
33
34
35
36                                                    TICKIT_PEN_GET_INT_ATTR(3)
Impressum