tickit_pen_get_int_attr - Man Page
manipulate an integer pen attribute
Synopsis
#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 0 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.
Return Value
tickit_pen_get_int_attr() returns an integer value. tickit_pen_set_int_attr() returns no value.
See Also
tickit_pen_new(3), tickit_pen_has_attr(3), tickit_pen_set_bool_attr(3), tickit_pen_set_colour_attr(3), tickit_pen_clear_attr(3), tickit_pen(7), tickit(7)
Referenced By
tickit_pen(7), tickit_pen_clear(3), tickit_pen_copy(3), tickit_pen_equiv_attr(3), tickit_pen_get_bool_attr(3), tickit_pen_get_colour_attr(3), tickit_pen_has_attr(3), tickit_pen_is_nonempty(3).
The man page tickit_pen_set_int_attr(3) is an alias of tickit_pen_get_int_attr(3).