hkb_editor.gui.widgets.rotation_knob
¶
RotationKnob
¶
__init__
¶
__init__(*, default_value: float = 0.0, label: str | None = None, size: int = 60, show_value: bool = True, ring_color: list = (200, 200, 200, 255), ring_thickness: int = 2, indicator_color: list = (255, 0, 0, 255), indicator_thickness: int = 3, callback: Callable[[str, float, Any], None] | None = None, tag: str | None = None, parent: str | int = 0, user_data: Any = None) -> None
Create a full-circle rotation knob. Builds immediately.