
__all__ = ["FramePropertyFrame"]

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


class FramePropertyFrame(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, "horizontal_clipping", PropertyType.BOOL)
        self._add_property(self._widget, "vertical_clipping", PropertyType.BOOL)
        self._add_property(self._widget, "separate_window", PropertyType.BOOL)
