import dearpygui.dearpygui as dpg
vp = dpg.create_viewport(title='Custom Title', width=600, height=200)
with dpg.window(label="Example Window"):
dpg.add_text("Hello, world")
dpg.add_button(label="Save")
dpg.add_input_text(label="string", default_value="Quick brown fox")
dpg.add_slider_float(label="float", default_value=0.273, max_value=1)
dpg.setup_dearpygui(viewport=vp)
dpg.show_viewport(vp)
dpg.start_dearpygui()
dpg.setup_dearpygui(viewport=vp)
dpg.show_viewport(vp)