From bbc04da883caff945a757d608b2025cdd6969904 Mon Sep 17 00:00:00 2001 From: Mathieu Virbel Date: Tue, 8 Nov 2011 23:22:46 +0100 Subject: [PATCH] support: add documentation for support funcs --- doc/autobuild.py | 1 + kivy/support.py | 8 +++++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/doc/autobuild.py b/doc/autobuild.py index 1a170b7ab..057c150ab 100644 --- a/doc/autobuild.py +++ b/doc/autobuild.py @@ -41,6 +41,7 @@ import kivy.modules.monitor import kivy.modules.touchring import kivy.modules.inspector import kivy.network.urlrequest +import kivy.support from kivy.factory import Factory # force loading of all classes from factory diff --git a/kivy/support.py b/kivy/support.py index 891ff03c7..d7efc83c6 100644 --- a/kivy/support.py +++ b/kivy/support.py @@ -1,8 +1,11 @@ ''' -Support: activate other framework/toolkit inside our event loop +Support +======= + +Activate other framework/toolkit inside our event loop ''' -__all__ = ('install_gobject_iteration', ) +__all__ = ('install_gobject_iteration', 'install_twisted_reactor') def install_gobject_iteration(): @@ -33,7 +36,6 @@ def install_gobject_iteration(): Clock.schedule_interval(_gobject_iteration, 0) - def install_twisted_reactor(**kwargs): '''Installs a threaded twisted reactor, which will schedule one reactor iteration before the next frame only when twisted needs