pyface.resource.resource_reference module

Resource references.

class pyface.resource.resource_reference.ResourceReference[source]

Bases: HasTraits

Abstract base class for resource references.

Resource references are returned from calls to ‘locate_reference’ on the resource manager.

load()[source]

Loads the resource.

class pyface.resource.resource_reference.ImageReference(resource_factory, filename=None, data=None)[source]

Bases: ResourceReference

A reference to an image resource.

load()[source]

Loads the resource.