On 29 Dec 2012, at 11:44, claude roux wrote:

> Basically, what I'm trying to do is to implement a new programming language, 
> which uses FLTK as its main windows interfacing. I have implemented a 
> complete IDE in COCOA to run and debug any programs of that language, which 
> implies some level of reentrance. Hence, the interaction between the IDE 
> windows and the ones created through FLTK. Basically, what I have discovered, 
> is that the problems occur if I run first a FLTK window, and then I load 
> another window through a loadNib within the IDE. However, IDE windows loaded 
> before any FLTK calls are ok.
> 
> I do not understand why it provokes any errors, but it seems that Cocoa 
> windows created after any FLTK windows,interferes with the way FLTK windows 
> are managed... I guess some of the higher level COCOA methods invoked from 
> FLTK find themselves dealing with windows from the IDE, hence the issues.


Hi Claude,

Well, going off at a (probably very unhelpful!) tangent; Is it infeasible to 
re-implement the IDE in fltk rather than cocoa?

That would probably resolve the issues here, and also mean that your spiffy new 
language could be used on platforms other than OSX.

Just a thought...


_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to