Xmanager Forum

The Delete button ("X" in the upper right corner)

Last post: Friday, April 9, 2010 11:18 AM by Lubow, 2 reply

 
Thursday, April 8, 2010 12:59 PM - Lubow

The Delete button ("X" in the upper right corner)

 
in Linux under GTK:

Our system in Linux under GTK+. In my application, the window widgets are designed NOT to have the delete button (coded as deletable=NO) in the upper right corner (the "X" in the upper right corner).

It works fine in the X/GTK desktop environment manged by the Xbrowser X server

However, when we run the application as a stand-alone from Xstart, the "X" button appears in th upper right corner. Sometimes the users accidentally hit the "X" causing the widget to be destroyed and messing up my application.

Is there a way we can make the stand-alone application behave as it does in the X desktop?

Attached are scans of a typical window widget in the X environment and the same widget as a standalone.

Program Ver. : Xmanager 3.0
Connection Method : Secure XDMCP
Friday, April 9, 2010 2:17 AM - Support

Re: The Delete button ("X" in the upper right corner)

 
Windows application sends the WM_DELETE_WINDOW message when the Close (X) button is pressed. If you do not wish to close the application, please disregard this message from the X application.


---
Technical Support
Friday, April 9, 2010 11:18 AM - Lubow

Re: The Delete button ("X" in the upper right corner)

 
Thank you!

The GTK tool, Glade, provides a destroy signal handler. I never knew what it meant until I had digested your comments. Thank you very much!