Houdini 20.5 Python scripting hou hou.qt

hou.qt.ToolTip class

A tooltip window with the Houdini look and feel that can be used for hover tooltips.

On this page

This class inherits from Qt’s QtWidgets.QWidget class.

Methods

Examples

This example demonstrates creating a tooltip window and attaching it to a button:

tooltip = hou.qt.ToolTip()
tooltip.setTitle("Tooltip Example - SOP Torus Help")
tooltip.setText("This tooltip links to the SOP Torus help page.")
tooltip.setHotkey("Shift+H")
tooltip.setHelpUrl("/nodes/sop/torus")

btn = QtWidgets.QPushButton("Hover Me")
tooltip.setTargetWidget(btn)

hou.qt