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 buttons of windows do a
cancel-close. Especially if inside the window there are both "Cancel"
and "OK" buttons as well.

Hint: only using the "OK" button should confirm input or changes.
Closing the window by any other means (i.e. "Cancel"-button, title bar
close button, hitting the [Esc] key, killing or crashing the
application) never does.
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to