table of contents
TICKIT_PEN_GET_INT_ATTR(3) | Library Functions Manual | TICKIT_PEN_GET_INT_ATTR(3) |
NAME¶
tickit_pen_get_int_attr, tickit_pen_set_int_attr - manipulate an integer pen attributeSYNOPSIS¶
#include <tickit.h> int tickit_pen_get_int_attr(TickitPen *pen, TickitPenAttr attr); void tickit_pen_set_int_attr(TickitPen *pen, TickitPenAttr attr, int val);
Link with -ltickit.
DESCRIPTION¶
tickit_pen_get_int_attr() returns the current value of the given integer attribute on the pen, or -1 if that attribute is not defined.tickit_pen_set_int_attr() provides a new value for the given integer attribute on the pen. It will invoke the TICKIT_EV_CHANGE event on the pen instance.