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

NAME

6       tickit_build - create a new toplevel Tickit instance with arguments
7

SYNOPSIS

9       #include <tickit.h>
10
11       struct TickitBuilder {
12         TickitTerm *tt;
13         struct TickitTermBuilder term_builder;
14         ...
15       };
16
17       Tickit *tickit_build(const struct TickitBuilder *builder);
18
19       Link with -ltickit.
20

DESCRIPTION

22       tickit_build()  creates a new toplevel Tickit instance initialised from
23       the various parameters given in the builder struct. Note that the above
24       definition  for  the struct is incomplete; the actual struct definition
25       contains more fields than shown as some are for internal purposes. User
26       code should only attempt to interact with those fields documented here.
27
28       If  the  tt  field  is set, it should contain a TickitTerm instance. If
29       left blank,  then  one  will  be  constructed  by  passing  the  nested
30       term_builder structure to tickit_term_build(3).
31

RETURN VALUE

33       If successful, tickit_build() returns a pointer to the new instance. On
34       failure, NULL is returned with errno set to indicate the failure.
35

SEE ALSO

37       tickit(7)
38
39
40
41                                                               TICKIT_BUILD(3)
Impressum