Docking another Application into Houdini's UI?

   1494   1   0
User Avatar
Member
28 posts
Joined: June 2019
Offline
The title pretty much is my question.

Is it possible to dock another application into Houdini's UI?

Examples would be for reference image viewers, or even to dock VSCode when using a single monitor.

Don't think it's possible, but would be a really cool addition I think.
Edited by Alex Amos - Dec. 20, 2020 04:24:56
User Avatar
Member
387 posts
Joined: Nov. 2008
Offline
Hi, it's definitely possible. You can do this e.g. as Python Panel.

You can dock other application inside widget as container
container = QtGui.QWindow.fromWinId(handle)
QWidget.createWindowContainer(container)

The tricky part is to get the window's handle. E.g. in this example, I found the handle by knowing its PID.

There is a simple proof of concept with the Python 3 version of Houdini 18.5 on Windows 10 (check the attached video):
Edited by pezetko - Dec. 28, 2020 06:57:27

Attachments:
embedded_app.mp4 (4.6 MB)
embedded_app.png (109.9 KB)

  • Quick Links