Standalone, minimal, complete and verifiable example
import dearpygui
import dearpygui.dearpygui as dpg
dpg.create_context()
with dpg.window(label="Tutorial"):
with dpg.drawlist(width=300, height=300): # or you could use dpg.add_drawlist and set parents manually
dpg.draw_line((10, 10), (100, 100), color=(255, 0, 0, 255), thickness=1)
dpg.set_frame_callback(dpg.get_frame_count()+1, callback=lambda: dpg.output_frame_buffer(callback=clear_frame))
def clear_frame(*args):
pass
dpg.create_viewport(title='Custom Title', width=800, height=600)
dpg.setup_dearpygui()
dpg.show_viewport()
dpg.start_dearpygui()
dpg.destroy_context()()
Version of Dear PyGui
Version: 1.11.1 Operating System: macosx 14.4
My Issue/Question
Exception: Error: [1000] Message:
output_frame_buffer(...)
has not been implemented for this platform yet.To Reproduce
Clone https://github.com/harshkaso/Flux python3 flux.py
Expected behavior
The example to work.
Standalone, minimal, complete and verifiable example