hoffstadt / hoffstadt/DearPyGui

Type hint dpg.get_seletected_links

Open
#2,152 0 comments 0 reactions 0 assignees View on GitHub
state: pending type: bug
Dominant language
C++
Stars
15.6k
Forks
783
PR merge metrics
No merged PRs in 30d

Description

## My Issue/Question

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

## To Reproduce
```python
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

[]

[]
`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.