Discussion:
guidata : how to know if a user press Cancel
waxs MOMAC
2013-01-29 13:08:32 UTC
Permalink
In a guidata dialog box, is there a way to know if ther user has pressed
the CANCEL button ?
--
You received this message because you are subscribed to the Google Groups "guidata/guiqwt" group.
To unsubscribe from this group and stop receiving emails from it, send an email to guidata_guiqwt+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
Pierre Raybaut
2013-01-29 14:24:38 UTC
Permalink
Of course.

In the simple example on guidata's home page
(http://code.google.com/p/guidata/), you may write:

if param.edit():
print('OK was pressed')
else:
print('Cancel was pressed')
In a guidata dialog box, is there a way to know if ther user has pressed the
CANCEL button ?
--
You received this message because you are subscribed to the Google Groups
"guidata/guiqwt" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "guidata/guiqwt" group.
To unsubscribe from this group and stop receiving emails from it, send an email to guidata_guiqwt+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
Loading...