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

NAME

6       tickit_pen_copy, tickit_pen_copy_attr - copy attributes from one pen to
7       another
8

SYNOPSIS

10       #include <tickit.h>
11
12       void tickit_pen_copy(TickitPen *dst, TickitPen *src,
13           bool overwrite);
14       void tickit_pen_copy_attr(TickitPen *dst, TickitPen *src,
15           TickitPenAttr attr);
16
17       Link with -ltickit.
18

DESCRIPTION

20       tickit_pen_copy() copies attributes that are defined on src  into  dst.
21       If  an attribute is already defined on dst then it will only be changed
22       if overwrite is true; otherwise the existing value will be left  alone.
23       It  will  invoke  the TICKIT_EV_CHANGE event on the dst pen instance if
24       the value of at least one attribute has actually changed.
25
26       tickit_pen_copy_attr() copies the value of a single attribute from  src
27       into  dst,  or  clears  it  in dst if it is not present in src. It will
28       invoke the TICKIT_EV_CHANGE event on the dst pen instance.
29

RETURN VALUE

31       tickit_pen_copy() and tickit_pen_copy_attr() return no value.
32

SEE ALSO

34       tickit_pen_new(3),                         tickit_pen_set_bool_attr(3),
35       tickit_pen_set_int_attr(3),              tickit_pen_set_colour_attr(3),
36       tickit_pen_clear(3), tickit_pen(7), tickit(7)
37
38
39
40                                                            TICKIT_PEN_COPY(3)
Impressum