Re: how to hide close button in gtk dialog

2005-08-09 Thread Gus Koppel
Yogesh M wrote: found it, sometimes it is neccessary to avoid confusion. for example in a dialog i have a cancel button, now if the window show a close button, it is a confusion that whether the window closes or the cancel activates or both. It's common convention that title bar close

Re: how to hide close button in gtk dialog

2005-08-08 Thread The Saltydog
On 8/8/05, Yogesh M [EMAIL PROTECTED] wrote: found it, sometimes it is neccessary to avoid confusion. for example in a dialog i have a cancel button, now if the window show a close button, it is a confusion that whether the window closes or the cancel activates or both. You can work on

Re: how to hide close button in gtk dialog

2005-08-07 Thread Yogesh M
when i create a new dialog, it comes with close button, i am talking about the button in the title bar. how to disable/remove it The Saltydog [EMAIL PROTECTED] wrote:On 8/7/05, Yogesh M wrote: how to hide close button in gtk dialog? What do you mean by hide? If you don't want the close

Re: how to hide close button in gtk dialog

2005-08-07 Thread Luca Cavalli
On Sun, 2005-08-07 at 08:27 -0700, Yogesh M wrote: how to hide close button in gtk dialog? I think you should use: http://developer.gnome.org/doc/API/2.0/gdk/gdk-Windows.html#gdk-window-set-functions but it seems that few WMs honour it. Luca

Re: how to hide close button in gtk dialog

2005-08-07 Thread The Saltydog
On 8/7/05, Yogesh M [EMAIL PROTECTED] wrote: when i create a new dialog, it comes with close button, i am talking about the button in the title bar. how to disable/remove it You should NEVER play with this. It is against Gnome Human Interface Guidelines: