nanogui: Show another window?
Subject:
Re: [nanogui] Show another window?
From:
Jordan Crouse ####@####.####
Date:
5 Jul 2001 15:04:38 -0000
Message-Id: <01070509051403.14704@cosmic>
What happens exactly when you try to show the window. Does the program lock
up, or does it just keep going as though the window was never shown? It
sounds like there might be a problem in the Fl::wait code.
Did you happen to follow the show() call all the way to the bottom to see
what commands it was sending the Nano-X server?
Jordan
On Wednesday 04 July 2001 03:56, Ausun mentioned:
> In my application I need to show a child window on top of the main window
> to get some options. When I link it with fltk-1.0.11 it runs well in X
> window, but in microwindow with flnx-0.16, the child window can't be shown.
> The following are some code in my application.
>
> Fl_Window* o = Win_ChgPasswd = new Fl_Window(0, 0, 270, 174, "Chage
> password"); ... ...
> o->set_modal();
> o->end();
> o->resizable(o);
> Win_ChgPasswd->set_visible();
> Win_ChgPasswd->show();
> while(Win_ChgPasswd->visible()) {
> Fl::wait();
> }
>
> Could someone please tell me what is going wrong?
>
> Thanks,
> Ausun