unodit icon indicating copy to clipboard operation
unodit copied to clipboard

use .endDialog() as default/sample for button controls

Open prof-milki opened this issue 4 years ago • 0 comments

type: feature request
severity: none
category: output
priority: low

Add a default action sample for buttons. Perhaps as comment in addition to the "#TODO" note. For example closing the dialog might be a worthwhile sample (that was already difficult to find):

 # TODO: not implemented
 # self.DialogContainer.endDialog(1);

Either for all button control callbacks, or those whose name matches /close|cancel|exit/ e.g.

prof-milki avatar Feb 09 '21 04:02 prof-milki