[Gambas-user] Closing a Message!
bsteers4 at gmail.com
Fri Dec 11 07:24:16 CET 2020
Pretty sure Gambas does not rearrange the order, Buttons are left to right
as entered on QT and gtk.
I just tried this...
*Message.Custom("test message", ["But 1", "But 2", "But 3", "But 4", "But
5", "But 6"])*
And all 6 buttons were in the correct order on all GUI toolkits i tried ,
gtk,gtk3 qnd QT5
Alas i do not know how to disable/hide a windows close button or i would
have submitted that change.
On Fri, 11 Dec 2020 at 06:11, <jose.rodriguez at cenpalab.cu> wrote:
> December 10, 2020 9:35 PM, "Bruce Steers" <bsteers4 at gmail.com
> <bsteers4 at gmail.com?to=%22Bruce%20Steers%22%20%3Cbsteers4 at gmail.com%3E>>
> what do you think of this Ben?
> It adds a Property/Option CancelIsZero to Message class and forces right
> hand buttons (and closing window) to always be zero if set to True.
> It does not particularly address the issue but does make sense for cancel
> to always return zero in some cases.
> (I couldn't see how to disable the windows close button but if there is a
> way maybe an option to do that would be cool?)
> There have been several mentions in this thread of "right hand buttons",
> but some toolkits actually invert the order of the buttons, don't they? As
> in left is Cancel and right is Ok, instead of the more typical ordering?
> Also, FWIW and IMHO, I always prefer to have the option to disable the
> window close button programmatically.
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the User