def view_for_image_named(image_name):

    image = resource.get_image(image_name)

    if not image:
        return None

    return ImageView(pygame.Rect(0, 0, 0, 0), image)
Create an ImageView for the given image.
dataset/ETHPy150Open fictorial/pygameui/pygameui/imageview.py/view_for_image_named