Skip to main content
Adobe Photoshop Family

4.5K Messages

 • 

76.3K Points

Mon, Aug 1, 2011 12:42 PM

1

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

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.

Responses

No Responses!