Functions | |
oyWIDGET * | oyWidgetListGet (oyGROUP group, int *count) |
all widgets of a group | |
oyWIDGET_TYPE | oyWidgetTitleGet (oyWIDGET option, const oyGROUP **categories, const char **name, const char **tooltip, int *flags) |
Get a special Options UI strings. | |
int | oyOptionChoicesGet (oyWIDGET option, int *choices, const char ***choices_string_list, int *current) |
Get a Options choices UI strings. | |
void | oyOptionChoicesFree (oyWIDGET_TYPE option, char ***list, int size) |
delete list of choices from a option |
Functions are provided to set and query for Options layout and UI strings in Oyranos.
void oyOptionChoicesFree | ( | oyWIDGET_TYPE | option, | |
char *** | list, | |||
int | size | |||
) |
delete list of choices from a option
list | string list | |
size | number of strings in the list to free |
int oyOptionChoicesGet | ( | oyWIDGET | option, | |
int * | choices, | |||
const char *** | choices_string_list, | |||
int * | current | |||
) |
Get a Options choices UI strings.
This function is checked for double occuring profiles. Such are sorted out.
return success
all widgets of a group
param group specify which group dialog to build param[out] count number of widgets contained in list
return list of widgets to create in correct order
oyWIDGET_TYPE oyWidgetTitleGet | ( | oyWIDGET | option, | |
const oyGROUP ** | categories, | |||
const char ** | name, | |||
const char ** | tooltip, | |||
int * | flags | |||
) |
Get a special Options UI strings.
param option merges oyBEHAVIOUR and oyDEFAULT_PROFILE param[out] categories enums list, to place into the right group widget { n, first category, second c., ... , n'th c. } for widget of type oyGROUP this is empty param[out] name transated widget title param[out] tooltip transated tooltip
return widget type, gives a hint to further properties, { like choices or int/float value ranges ... }