Page MenuHome

Python API: implement an Operator callback for dynamic description.

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



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

rB Blender