[commonqt-devel] Comparing QButtons
Rujia Liu
rujia.liu at gmail.com
Mon Sep 16 13:18:03 UTC 2013
On Mon, Sep 16, 2013 at 8:53 PM, Stas Boukarev <stassats at gmail.com> wrote:
> It's strange that it's not coalesced, I'll look into it.
>
> But in this case, you can just write:
>
> (case (#_exec message-box)
> (0 :yes)
> (1 :no)
> (2 :cancel))
>
Thanks! I thought I can lean on exec's return value only for message-box
with standard buttons .
Since a teammate is already struggling with this issue for some time, could
you first tell me how to extract the pointer's address so that he can write
a custom function to compare the address (and later change to a standard
way).
- Rujia
>
> --
> With best regards, Stas.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/commonqt-devel/attachments/20130916/b8c448c6/attachment.html>
More information about the commonqt-devel
mailing list