
__all__ = ["SliderPropertyFrame"]

import omni.ui as ui
from ..base_frame import WidgetCollectionFrame
from ..create_widget import PropertyType


class SliderPropertyFrame(WidgetCollectionFrame):
    def __init__(self, frame_label: str, widget: ui.Widget) -> None:
        super().__init__(frame_label, widget)

    def _build_ui(self):

        self._add_property(self._widget, "min", PropertyType.INT)
        self._add_property(self._widget, "max", PropertyType.INT)
