On Tue, 2005-08-09 at 09:56 +0200, Gus Koppel wrote:
> It's common convention that title bar close buttons of windows do a
> cancel-close. Especially if inside the window there are both "Cancel"
> and "OK" buttons as well.
It may be convention, but it still confuses people. The HIG would love
to
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 clos
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 wo
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.
--- The Saltydog <[EMAIL PROTECTED]> wrote:
> On 8/7/05, Yogesh M <[EM
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:
http://developer.gnome.org/projects
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
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 clo
On 8/7/05, Yogesh M <[EMAIL PROTECTED]> wrote:
>
> how to hide close button in gtk dialog?
>
What do you mean by "hide"? If you don't want the close button, just
don't create it, if you need to set it to "grey" (unsensitive), you
should use
gtk_widget_set_sensitive(,FALSE);