43 text_box* pwd = find_widget<text_box>(
"password",
false,
true);
47 std::vector<config> content_list;
49 for(
const auto& author :
utils::split(
cfg_[
"primary_authors"].str(
""),
',')) {
50 content_list.emplace_back(
"label", author);
52 for(
const auto& author :
utils::split(
cfg_[
"secondary_authors"].str(
""),
',')) {
53 content_list.emplace_back(
"label", author);
55 if(content_list.size() > 0) {
56 find_widget<menu_button>(
"choose_uploader").set_values(content_list);
virtual void set_value(const std::string &text)
The set_value is virtual for the password_box class.
A widget that allows the user to input text in single line.