tickit_pen_attrname - Man Page

return the name of a pen attribute


#include <tickit.h>

const char * tickit_pen_attrname(TickitPenAttr attr);
TickitPenAttr tickit_pen_lookup_attr(const char * name);

Link with -ltickit.


tickit_pen_attrname() returns the name of the given pen attribute. These names are the lowercase strings given in tickit_pen(7).

tickit_pen_lookup_attr() returns the attribute constant for a given name. If the name is not recognised then -1 is returned.

Return Value

tickit_pen_attrname() returns a constant string pointer. tickit_pen_lookup_attr() returns an attribute constant or -1.

See Also

tickit_pen(7), tickit(7)

Referenced By


The man page tickit_pen_lookup_attr(3) is an alias of tickit_pen_attrname(3).