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
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
mainmenu_Xdesktop.jpg (28.6 KB)