Module Expr Str ImportFrom alias alias alias ImportFrom alias ClassDef bases NameLoad body Expr Str Assign NameStore Call NameLoad NameLoad FunctionDef arguments args NameParam defaults body Expr Str Raise NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Return decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr orelse If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr orelse Raise Call NameLoad Str Return NameLoad decorator_list decorator_list
N/A N/A  Resource references.  traits.api Any HasTraits Instance pyface.resource.resource_factory ResourceFactory ResourceReference N/A HasTraits N/A N/A  Abstract base class for resource references.

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

     N/A resource_factory N/A Instance ResourceFactory load N/A N/A self N/A N/A N/A  Loads the resource.  N/A NotImplementedError N/A N/A ImageReference N/A ResourceReference N/A N/A  A reference to an image resource.  N/A filename Any N/A data Any __init__ N/A N/A self resource_factory filename data N/A None None N/A N/A  Creates a new image reference.  N/A N/A self resource_factory resource_factory N/A N/A self filename filename N/A N/A self data data N/A N/A load N/A N/A self N/A N/A N/A  Loads the resource.  N/A N/A N/A self filename None N/A N/A image N/A N/A N/A self resource_factory image_from_file N/A self filename N/A N/A N/A N/A self data None N/A N/A image N/A N/A N/A self resource_factory image_from_data N/A self data N/A N/A N/A ValueError Image reference has no filename OR data N/A image N/A N/A