4
$\begingroup$

When hovering over an operator button in blender, a nice box pops up that shows at least the docstring of the operator. However, if I find the same operator with the search function (pressing space in 3dview) and hover over it, no popup is shown.

Why is that? Is there a setting to enable this?

$\endgroup$
5
$\begingroup$

Spacebar search uses bpy.types.Menu type class to display content in contrast of bpy.types.Panel for buttons etc.

Drawing methods in both of them will be the same, like:

def draw(self, context):
    self.layout.operator(...)

Menu will have the items with displayed shortcuts aside with no box popup (this is probably because a menu can have a sub-menu as a popup so to not confuse).

Panel formatting has more options and does show the pop-up doc-string.

This is by some design decision and cannot be changed with current exposed api.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.