Forum: Poser Python Scripting


Subject: Script request: simple non-modal dialog

Spanki opened this issue on Mar 29, 2008 · 8 posts


Spanki posted Sat, 29 March 2008 at 6:57 PM

Hey guys...

Does anyone have a very simple example of putting up a "stop" non-modal dialog, where the script puts that up, then stays alive (while Poser interface is available for user operation) until the stop button is clicked on?

I want to test out some things with a call-back function, but/so I need some way to:

  1. set up the call-back
  2. put up the "stop" dialog
  3. let Poser ProcessSomeEvents() (or whatever) until...
  4. user clicks on stop, so remove the call-back and exit the script.

...I just haven't done any interface/gui stuff at all yet, so I'm not sure of the simplest way to do this.

Cinema4D Plugins (Home of Riptide, Riptide Pro, Undertow, Morph Mill, KyamaSlide and I/Ogre plugins) Poser products Freelance Modelling, Poser Rigging, UV-mapping work for hire.