Re: how to hide close button in gtk dialog
- From: Gus Koppel <gtk spamkiller bytechase cx>
- To: gtk-app-devel-list gnome org
- Subject: Re: how to hide close button in gtk dialog
- Date: Tue, 9 Aug 2005 09:56:55 +0200
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.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]