Embed glade file into a binary

Geert via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Sep 17 12:12:14 PDT 2016


On Saturday, 17 September 2016 at 19:07:33 UTC, Lodovico Giaretta 
wrote:
>
> addFromFile expects the *name* of the file. Because you already 
> have the *contents* of the file, you should change method. 
> Maybe addFromString is the correct one, but I'm not sure.


"g.addFromString(fileContent);"

It works now. Thanks Lodovico and llmp!


More information about the Digitalmars-d-learn mailing list