Lightroom SDK: LrDialogs.presentModalDialog - Deprecate ...Verb labels in favor of ...Label labels

  • 1
  • Idea
  • Updated 7 years ago
Most places: "label" indicates user visible button text, and "verb" indicates corresponding program return value.

having "verb" be the name for the labels in LrDialogs.presentModalDialog is very confusing - you should see some of my program comments!

I suggest accepting either one in SDK4 but deprecating the verbs as labels.

For example, in SDK4, one could set:
actionLabel or cancelLabel or otherLabel
instead of actionVerb, cancelVerb, or otherVerb,
and maybe in SDK5 retire the {button}Verb names altogether.

Bonus Idea:
---------------
Fix, explain, or remove the 'actionBinding' argument.
Photo of Rob Cole

Rob Cole

  • 4831 Posts
  • 372 Reply Likes

Posted 7 years ago

  • 1

Be the first to post a reply!