Files
dpg-gauges/src/dpg_gauges/__init__.py
2026-07-08 11:06:17 +01:00

79 lines
1.5 KiB
Python

"""Dear PyGui gauge widgets."""
from .api import (
analog_gauge,
bar_gauge,
battery_gauge,
compass_gauge,
configure,
configure_gauge,
delete_gauge,
digital_gauge,
gauge_grid,
gauge_panel,
get_value,
level_gauge,
multi_value_gauge,
segmented_gauge,
set_markers,
set_show,
set_thresholds,
set_value,
status_light,
thermometer_gauge,
update_gauge,
)
from .diagnostics import get_gauge_debug_state
from .themes import GaugeStyle, GaugeTheme
from .types import (
AnimationConfig,
GaugeMarker,
GaugeStats,
GaugeValue,
SmoothingConfig,
StatusState,
ThresholdBand,
)
__version__ = "1.1.1"
__all__ = [
"configure",
"GaugeTheme",
"GaugeStyle",
"AnimationConfig",
"SmoothingConfig",
"ThresholdBand",
"GaugeMarker",
"StatusState",
"GaugeValue",
"GaugeStats",
"analog_gauge",
"digital_gauge",
"bar_gauge",
"level_gauge",
"status_light",
"segmented_gauge",
"compass_gauge",
"thermometer_gauge",
"battery_gauge",
"multi_value_gauge",
"gauge_panel",
"gauge_grid",
"set_value",
"get_value",
"update_gauge",
"configure_gauge",
"set_thresholds",
"set_markers",
"set_show",
"delete_gauge",
"get_gauge_debug_state",
"__version__",
]
def main() -> None:
"""Print a short message for the package console script."""
print("dpg-gauges is a library package; import dpg_gauges to use it.")