当鼠标悬停在按钮上时,我想在 Maya 中为搁架按钮创建文档

I would like to create docs for a shelf button in Maya when the mouse hovers over the button

我在 Maya 中有一个自定义工具架,其中包含使用 'shelfButton' 命令构建的按钮。我想包括当鼠标光标悬停在按钮上时按钮的功能的简短描述。我已经尝试了几个可用的标志,比如 'annotation,' 但到目前为止我还没有得到任何有用的东西。

shelfButton Maya 中的命令没有所需行为的标志。使用 annotation 标志传递的任何字符串都将显示在 Maya 的本机帮助框中(在 Maya UI 的底部)。如果您真的想要这种行为,您可能需要研究 Qt。