logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

tickit_pen_is_nonempty, tickit_pen_is_nondefault - test if a pen has attributes defined

Description

tickit_pen_is_nonempty()  tests  whether  a pen instance has any attribute defined on it. It returns true
       even if those attributes take default values.

       tickit_pen_is_nondefault() tests whether a pen instance has any attribute with non-default values defined
       on it. It false if the pen has no defined attributes, or all of the  defined  attributes  take  only  the
       default value for their type.

Name

       tickit_pen_is_nonempty, tickit_pen_is_nondefault - test if a pen has attributes defined

Return Value

tickit_pen_is_nonempty() and tickit_pen_is_nondefault() return a boolean.

See Also

tickit_pen_new(3),                tickit_pen_set_bool_attr(3),                tickit_pen_set_int_attr(3),
       tickit_pen_set_colour_attr(3), tickit_pen_clear(3), tickit_pen(7), tickit(7)

                                                                                       TICKIT_PEN_IS_NONEMPTY(3)

Synopsis

#include<tickit.h>booltickit_pen_is_nonempty(TickitPen*pen);booltickit_pen_is_nondefault(TickitPen*pen);

       Link with -ltickit.

See Also