import typing
import collections.abc
import typing_extensions
import bgui.widget

GenericType1 = typing.TypeVar("GenericType1")
GenericType2 = typing.TypeVar("GenericType2")

class Image(bgui.widget.Widget):
    """Widget for displaying images"""

    children: typing.Any
    image_size: typing.Any
    on_active: typing.Any
    on_click: typing.Any
    on_hover: typing.Any
    on_mouse_enter: typing.Any
    on_mouse_exit: typing.Any
    on_release: typing.Any
    parent: typing.Any
    position: typing.Any
    size: typing.Any
    system: typing.Any
    theme_options: typing.Any
    theme_section: typing.Any

    def update_image(self, img):
        """Changes the image texture

        :param img: the path to the new image
        """
        ...
