Modeless UI definition structure
void*(* obs_modeless_ui::create) (void *object, void *ui_data) |
Callback to create modeless interface.
This function is almost identical to the modal exec function, except modeless UI calls return immediately, and typically are supposed to return a pointer or handle to the specific UI object that was created. For example, a Qt object would ideally return a pointer to a QWidget. Again, discretion and consistency is advised for the return value.
- Parameters
-
object | Pointer/handle to the data associated with this call. |
ui_data | UI data to pass associated with this specific target, if any. |
- Returns
- Pointer/handle to the modeless UI associated with the specific target.