I saw that in nano-X there is a function named

static GR_WINDOW *NewWindow(.....)

The structure GR_WINDOW has a parameter "title".

If I can pass the title in FLTK, nano-X can know which window is related to 
process A and B accordingly.

However, FLTK has no related parameter passing when newing a window.

So I should find another way.

> Dear all,
>
> I am currently wanting to control 2 FLTK windows (2 processes) by keys such 
> as F1 and F2. If F1 is pressed, process A will be active and FLTK window A is 
> shown. If F2 is pressed, process B will be active and FLTK window B is shown.
>
> I had read nano-X document and found that function GrRaiseWindow(wid) might 
> help to do this. So I need to write a application process as a center control 
> of this 2 processes. However, GrRaiseWindow requires an argument window ID 
> which I cannot find it in FLTK window objects.
>
> Could anyone give me some hints of this?
>
> BR,
> Terry
>

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

Reply via email to