View Full Version : UI window that doesn't steal focus?

Ryan Roye
08-09-2014, 03:24 AM
How difficult is it to have a window UI open but still allow the user to manipulate things in the 3d viewport while open? Some of my plugin ideas will only make sense if the user is able to do this.

08-09-2014, 09:56 AM
Does this help?


08-10-2014, 02:16 AM
Hi Ryan,

A bit rusty on the LW SDK, but a Master Plugin is the way to go, as ernpchan pointed out.

But you can use as well the CommRing to comunnicate changes of data (kinda events) to other plugins.

I used it on LSCript, but not sure about the Python support because I didn't tried.


Ryan Roye
08-10-2014, 07:49 AM
Noted, thanks guys.

I did want to avoid a master plugin because it'll nag the user if it isn't present on the computer when loading scenes; it makes more sense if the master plugin needs to track user button presses and constantly update as actions are performed. The end-goal for this ability is to construct a motion studio plugin of sorts that greatly simplifies the process of saving and re-using animations. Worst case scenario, it starts off as a master plugin and gradually turns into a self-contained one.

08-10-2014, 09:56 AM
There might be other ways. The Box Shape script uses a non-modal dialog and lives in the custom object list.


about half way down the page.

I just did a test and it also gives error of missing custom object if the script isn't in place. So no advantage over master plugin here.