|
|
Thanks for the answers. The Fl_Help_View value() method did the trick. On Monday, April 20, 2020 at 2:49:43 AM UTC+5:30, Anmol Mishra wrote: Hi. The load methods for both Fl_Browser and Fl_Browser require a file based input. I am linking FLKT into an app where I want to include a license file.
const char *licenseData =
#include "test.txt"
;
In the text file I do this:
R"(Line 1
Line 2
Line 3
Line 4
Line 5
Line 6)"
Is there a way I can pass this string directly to the browser ??
help->load (licenseData );
or
browser->load (licenseData );
--
You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkgeneral/1475a2f6-294e-4036-9dbb-fb3480eb8dd0%40googlegroups.com.
[ Direct Link to Message ] | |
|
| |