[Sidefx-houdini-list] python: creating a pop up message that will wait for 15 seconds then choose the default

Mark Elendt mark at sidefx.com
Mon Jan 17 16:36:55 EST 2011


If you're guaranteed to be on Linux, you could make a system call to
zenity.  zenity has a time-out.  This requires a GTK desktop though.

On Monday Jan 17 at 13:07, Robert Kelly wrote:
> python: creating a pop up message that will wait for 15 seconds then
> choose the default
> 
> I need to ask the user if they want to overwrite existing files but
> this call back may be run while the user is away and i wish the
> default choice to selected after a delay if the user does not choose
> an option.
> 
> Any ideas of how to atack this problem. I would like to use the hou.ui
> stuff to start with before looking into pyqt or things like that.
> 
> 
> thanks
> Robert.
> _______________________________________________
> Sidefx-houdini-list mailing list
> Sidefx-houdini-list at sidefx.com
> https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list

-- 
Mark Elendt



More information about the Sidefx-houdini-list mailing list