Notes
The following are experiments to explore the UI elements available through the Houdini Python hou.ui module.
Source
Snippets
>>> hou.ui.displayMessage('Start Houdini', buttons=('OK', 'CANCEL'))
Button selections return int values based on their order: 0, 1, etc.
0
Users can be prompted with a list of choices to select from.
>>> hou.ui.selectFromList(('Option 1', 'Option 2'), message = 'Select one of the options', title = 'Start Menu')
(1,)
Multiple options can also be submitted.
(0, 1)