tickit_pen_attrname(3)

tickit_pen_attrname3

Return the name of a pen attribute

Usage

#include <tickit.h>

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

Link with -ltickit.

Overview

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.

Releases

Unchanged in 2 releases since Debian 10 (Buster).

  1. 10–11

From libtickit-dev 0.4.1-1 in Debian 11 (Bullseye). Parsed by carta from the page's man source.