plugin

Common plugins for Louie.


Functions

f install_plugin(plugin) ...

f remove_plugin(plugin) ...

Classes

C Plugin(...) ...

Base class for Louie plugins.

Plugins are used to extend or alter the behavior of Louie in a uniform way without having to modify the Louie code itself.

This class contains 3 members.

C QtWidgetPlugin(...) ...

A Plugin for Louie that knows how to handle Qt widgets when using PyQt built with SIP 4 or higher.

Weak references are not useful when dealing with QWidget instances, because even after a QWidget is closed and destroyed, only the C++ object is destroyed. The Python 'shell' object remains, but raises a RuntimeError when an attempt is made to call an underlying QWidget method.

This plugin alleviates this behavior, and if a QWidget instance is found that is just an empty shell, it prevents Louie from dispatching to any methods on those objects.

This class contains 3 members.

C TwistedDispatchPlugin(...) ...

Plugin for Louie that wraps all receivers in callables that return Twisted Deferred objects.

When the wrapped receiver is called, it adds a call to the actual receiver to the reactor event loop, and returns a Deferred that is called back with the result.

This class contains 3 members.

See the source for more information.

This documentation is licensed under the GNU Free Documentation License
Copyright 2006 by Orbtech LLC. - All Rights Reserved.
-