1TICKIT_PEN_IS_NONEMPTY(3)  Library Functions Manual  TICKIT_PEN_IS_NONEMPTY(3)
2
3
4

NAME

6       tickit_pen_is_nonempty,  tickit_pen_is_nondefault  -  test if a pen has
7       attributes defined
8

SYNOPSIS

10       #include <tickit.h>
11
12       bool tickit_pen_is_nonempty(TickitPen *pen);
13       bool tickit_pen_is_nondefault(TickitPen *pen);
14
15       Link with -ltickit.
16

DESCRIPTION

18       tickit_pen_is_nonempty() tests whether a pen instance has any attribute
19       defined  on  it.  It returns true even if those attributes take default
20       values.
21
22       tickit_pen_is_nondefault()  tests  whether  a  pen  instance  has   any
23       attribute  with  non-default  values defined on it. It false if the pen
24       has no defined attributes, or all of the defined attributes  take  only
25       the default value for their type.
26

RETURN VALUE

28       tickit_pen_is_nonempty()  and tickit_pen_is_nondefault() return a bool‐
29       ean.
30

SEE ALSO

32       tickit_pen_new(3),                         tickit_pen_set_bool_attr(3),
33       tickit_pen_set_int_attr(3),              tickit_pen_set_colour_attr(3),
34       tickit_pen_clear(3), tickit_pen(7), tickit(7)
35
36
37
38                                                     TICKIT_PEN_IS_NONEMPTY(3)
Impressum