Hi guys. I read the documentation which states:
"A worker thread may update the state of an existing widget, but it may not do any rendering directly, nor create or destroy a window"
But what is "window creation"? Is it widget constructor call (which is hided initially), or is it call of show() method which actually creates the window? Can i create a window in worker thread without show() call, pass this new window object to the main thread (insert it into some kind of widget pointer array), and main thread will call show() method of this new window?
If i can create widgets without show() from worker threads, should i call Fl::lock() before the constructor call?