DearPyGui icon indicating copy to clipboard operation
DearPyGui copied to clipboard

Type hint dpg.get_seletected_links

Open cloasdata opened this issue 1 year ago • 0 comments

My Issue/Question

Type hint dpg.get_seletected_links is list[list[]] Supposed to be list[]

To Reproduce

import dearpygui.dearpygui as dpg
import platform


dpg.create_context()
dpg.create_viewport(title='Custom Title', width=600, height=300)

print(dpg.get_dearpygui_version())
print(platform.platform())

with dpg.window(label="Example Window"):
    editor = dpg.add_node_editor()
    print(dpg.get_selected_nodes(editor))
    print(dpg.get_selected_links(editor))

dpg.setup_dearpygui()
dpg.show_viewport()
dpg.start_dearpygui()
dpg.destroy_context()

prints

`1.9.1

Windows-10-10.0.22621-SP0

[]

[] `

cloasdata avatar Aug 05 '23 08:08 cloasdata