1from dearpygui import core, simple
2
3def save_callback(sender, data):
4 print("Save Clicked")
5
6with simple.window("Example Window"):
7 core.add_text("Hello world")
8 core.add_button("Save", callback=save_callback)
9 core.add_input_text("string")
10 core.add_slider_float("float")
11
12core.start_dearpygui()
13