Source code for enamlnative.widgets.popup_window

"""
Copyright (c) 2017-2022, CodeLV.

Distributed under the terms of the MIT License.

The full license is in the file LICENSE, distributed with this software.

Created on Mar 17, 2018


"""
from atom.api import Bool, Coerced, Enum, Float, ForwardTyped, Str, Typed
from enaml.core.declarative import d_, observe
from enaml.widgets.toolkit_object import ProxyToolkitObject, ToolkitObject
from .view import coerce_gravity, coerce_size


class ProxyPopupWindow(ProxyToolkitObject):
    """The abstract definition of a proxy dialgo object."""

    #: A reference to the Label declaration.
    declaration = ForwardTyped(lambda: PopupWindow)

    def set_height(self, height):
        raise NotImplementedError

    def set_width(self, width):
        raise NotImplementedError

    def set_x(self, x):
        raise NotImplementedError

    def set_y(self, y):
        raise NotImplementedError

    def set_position(self, position):
        raise NotImplementedError

    def set_focusable(self, enabled):
        raise NotImplementedError

    def set_touchable(self, enabled):
        raise NotImplementedError

    def set_outside_touchable(self, enabled):
        raise NotImplementedError

    def set_background_color(self, color):
        raise NotImplementedError

    def set_show(self, show):
        raise NotImplementedError

    def set_style(self, style):
        raise NotImplementedError

    def set_animation(self, style):
        raise NotImplementedError