Page MenuHome

Python API: implement an Operator callback for dynamic description.
ClosedPublic

Authored by Alexander Gavrilov (angavrilov) on Fri, Sep 6, 7:34 PM.

Details

Summary

Blender UI Layout API allows supplying parameters to operators via
button definitions. If an operator behavior strongly depends on its
parameters, it may be difficult to write a tooltip that covers all
of its operation modes. Thus it is useful to provide a way for the
operator to produce different descriptions based on the input info.

Diff Detail

Repository
rB Blender