noUIslider modded to limit it move rate (cpu friendly)
This commit is contained in:
parent
93259e9c60
commit
6596f7e5a0
7 changed files with 36 additions and 13 deletions
|
|
@ -168,13 +168,10 @@ class oscHtmlGui(object):
|
|||
self.async_gtk_msg(self.browser.execute_script)('alert("'+error+'")')
|
||||
|
||||
def async_gtk_msg(self, fun):
|
||||
|
||||
def worker((function, args, kwargs)):
|
||||
apply(function, args, kwargs)
|
||||
|
||||
def fun2(*args, **kwargs):
|
||||
gobject.idle_add(worker, (fun, args, kwargs))
|
||||
|
||||
return fun2
|
||||
|
||||
@_liblo.make_method(None, None)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue