Contents
Bases: object
A helper class that adds a logger to a class
Each instance of the class will have a log attribute and can use this to log output. The log attrbute is a logger with the usual debug, warn, info, and error methods.
Add a logger
Return a named logger - mainly used when logging from a non-loggable object
A mixin class that allows objects to respond to events
Handle an incoming event
Initialise the events system
Link an event to a callback
Process an incoming event
Register an event
Register a number of events
Register all events found in the module
Events must be strings and their name must be of the form E_THE_NAME
ie: Begins with an ‘E’ and is all uppercase
Unlink an event from a callback
A mixing class to help serialize and deserialize objects
Return the properties of this object as a string
Return another copy of this item
Return an instance of the class with all default properties set
Return a new instance from a file
Return a new instance from a string
Implement this method to do any object initialization after unpickling
Store this object in a file
Bases: serge.serialize.Serializable
Stores things
Clear all the items
Create a duplicate of the named item with a new name
Return an item
Return all the item definitions
Return all the items
Return the names of all the items
Initialise from serialized form
Register an item
Remove the named item
Set our base path to locate images
Geometry
Enter search terms or a module, class or function name.