UI API
UI API is acccessible through the p3dsdk.ui
submodule.
- class Application
Creates an application instance.
- exec()
Display on screen all the widgets on which
show()
method was called.
- class Tick
Slider tick position.
- NONE
No ticks displayed.
- ABOVE
Ticks above or left of the slider.
- BELOW
Ticks below or right of the slider.
- BOTH
Ticks on both sides.
- critical_message_box(title, msg, button_list)
Creates a message box with a critical icon.
- Parameters
- Returns
The name of the button that was clicked.
- Return type
- information_message_box(title, msg, button_list)
Creates a message box with an information icon.
- Parameters
- Returns
The name of the button that was clicked.
- Return type
- no_icon_message_box(title, msg, button_list)
Creates a message box without icon.
- Parameters
- Returns
The name of the button that was clicked.
- Return type
- warning_message_box(title, msg, button_list)
Creates a message box with a warning icon.
- Parameters
- Returns
The name of the button that was clicked.
- Return type
- open_directory_selector(dir_name='/')
Shows an open directory selector.
- open_file_selector(dir_name='/', filter='')
Shows an open file selector.
- save_file_selector(dir_name)
Shows a saving file selector.