-struct text_item *text_item_create (enum text_item_type, const char *text);
-struct text_item *text_item_create_nocopy (enum text_item_type, char *text);
-struct text_item *text_item_create_format (enum text_item_type,
- const char *format, ...)
- PRINTF_FORMAT (2, 3);
+struct text_item *text_item_create (enum text_item_type,
+ const char *text, const char *label);
+struct text_item *text_item_create_nocopy (enum text_item_type,
+ char *text, char *label);
+struct text_item *text_item_create_value (enum text_item_type,
+ struct pivot_value *value,
+ char *label);