Provided by: libtickit-dev_0.4.2a-1_amd64 bug

NAME

       tickit_window_ctlname - return the name of a window control

SYNOPSIS

       #include <tickit.h>

       const char * tickit_window_ctlname(TickitWindowCtl ctl);
       TickitWindowCtl tickit_window_lookup_ctl(const char * name);

       TickitType tickit_window_ctltype(TickitWindowCtl ctl);

       Link with -ltickit.

DESCRIPTION

       tickit_window_ctlname()  returns the name of the given window control. These names are the
       lowercase strings given in tickit_window(7).

       tickit_window_lookup_ctl() returns the control constant for a given name. If the  name  is
       not recognised then -1 is returned.

       tickit_window_ctltype()  returns  the  type  of  the  given  window control, as one of the
       following constants:

       TICKIT_TYPE_BOOL
              The value is an integer representing a simple boolean  choice,  where  any  nonzero
              value is true. Use tickit_window_setctl_int(3) and tickit_window_getctl_int(3).

       TICKIT_TYPE_INT
              The  value  is  an  integer  representing a quantity, or a value in some particular
              enumeration. Use tickit_window_setctl_int(3) and tickit_window_getctl_int(3).

       For unrecognised control types, the function returns 0.

RETURN VALUE

       tickit_window_ctlname() returns  a  constant  string  pointer.  tickit_window_lookup_ctl()
       returns an control constant or -1. tickit_window_ctltype() returns a control type constant
       or 0.

SEE ALSO

       tickit_window(7), tickit(7)

                                                                         TICKIT_WINDOW_CTLNAME(3)