sorry form my bat english
I write the name of the button config file
buttonsNames = stringToList(std::string("buttonsname"));

looks like this is the first image.

I like the image to obtain the second picture.

How should I follow a method?