nanogui: Thread: Close box problem with nano-x + nanowm + nxlib + fltk


[<<] [<] Page 1 of 1 [>] [>>]
Subject: Close box problem with nano-x + nanowm + nxlib + fltk
From: "Reiser, Markus" ####@####.####
Date: 23 Nov 2006 09:27:18 +0000
Message-Id: <FDAC6610BC0221488AE1694FB9A20F29056A4A1F@KHED162A.ww004.siemens.net>

Hi all,

I'm using 

- nano-x (microwindows-0.91)
- nanowm
- nxlib-0.45
- fltk-1.1.4

on ARM platform.

Nearly all is running but "close box" provided from nanowm in the right
corner of
each window does not work properly when running a fltk application.

What am i doing wrong ? 
Any ideas ?

Markus


Subject: Re: [nanogui] Close box problem with nano-x + nanowm + nxlib + fltk
From: "Greg Haerr" ####@####.####
Date: 28 Nov 2006 06:02:14 +0000
Message-Id: <00da01c712b2$bcc36870$6401a8c0@winXP>

> Nearly all is running but "close box" provided from nanowm in the right
corner of each window does not work properly when running a fltk
application.

Unfortunately, due to the inherent design of X-like (and Nano-X)
applications, the close box can't be made to work correctly
without modifying the main loop of the FLTK library to catch
the close message and terminate the application methodically.

Your options are to either hack FLTK to handle the event
sent by the nanowm window manager, or to hack the nanowm
window manager to send a SIGKILL signal to the application
whose close box was clicked (of course that's bad if data needs
to be saved).

Regards,

Greg

[<<] [<] Page 1 of 1 [>] [>>]


Powered by ezmlm-browse 0.20.