tickit_pen_set_bool_attr(3)

tickit_pen_set_bool_attr3

Manipulate a boolean pen attribute

Part of tickit_pen_get_bool_attr(3).

Usage

#include <tickit.h>

bool tickit_pen_get_bool_attr(TickitPen *pen, TickitPenAttr attr);
void tickit_pen_set_bool_attr(TickitPen *pen, TickitPenAttr attr, bool val);

Link with -ltickit.

Overview

tickit_pen_get_bool_attr() returns the current value of the given boolean attribute on the pen, or false if that attribute is not defined.

tickit_pen_set_bool_attr() provides a new value for the given boolean attribute on the pen. It will invoke the TICKIT_EV_CHANGE event on the pen instance.

Return value

tickit_pen_get_bool_attr() returns a boolean. tickit_pen_set_bool_attr() returns no value.

Releases

Unchanged in 4 releases since Debian 10 (Buster).

  1. 10–13

From libtickit-dev 0.4.3-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.