TICKIT_WINDOWCTL_NAME(3) | Library Functions Manual | TICKIT_WINDOWCTL_NAME(3) |
tickit_windowctl_name - return the name of a window control
#include <tickit.h> const char * tickit_windowctl_name(TickitWindowCtl ctl); TickitWindowCtl tickit_windowctl_lookup(const char * name); TickitType tickit_windowctl_type(TickitWindowCtl ctl);
Link with -ltickit.
tickit_windowctl_name() returns the name of the given window control. These names are the lowercase strings given in tickit_window(7).
tickit_windowctl_lookup() returns the control constant for a given name. If the name is not recognised then -1 is returned.
tickit_windowctl_type() returns the type of the given
window control, as one of the following constants:
For unrecognised control types, the function returns 0.
tickit_windowctl_name() returns a constant string pointer. tickit_windowctl_lookup() returns an control constant or -1. tickit_windowctl_type() returns a control type constant or 0.