---
name: "tickit_pen_attrtype"
section: "3"
platform: "linux"
package: "libtickit-dev"
version: "0.4.1-1"
release: "Debian 11 (Bullseye)"
platforms: ["linux"]
url: "https://new.carta.tech/tickit_pen_attrtype"
---

# tickit\_pen\_attrtype(3)

return the type of a pen attribute

## NAME

tickit\_pen\_attrtype - return the type of a pen attribute

## SYNOPSIS

```
#include <tickit.h>

TickitPenAttrType tickit_pen_attrtype(TickitPenAttr attr);
```

Link with *-ltickit*.

## DESCRIPTION

**tickit\_pen\_attrtype**() returns the type of the given pen attribute, as one of the constants **TICKIT\_PENTYPE\_BOOL**, **TICKIT\_PENTYPE\_INT** or **TICKIT\_PENTYPE\_COLOUR**.

## RETURN VALUE

**tickit\_pen\_attrtype**() returns a pen attribute type value.

## SEE ALSO

[**tickit\_pen**(7)](/tickit_pen/7.md), [**tickit**(7)](/tickit/7.md)
