DearPyGui icon indicating copy to clipboard operation
DearPyGui copied to clipboard

`Ctrl + A` to "select all" in file dialog?

Open ltmsyvag opened this issue 8 months ago • 1 comments

I use dpg 2.0.0.

I a general file dialog, we are comfortable with three usually default multi-selection methods: shift + left click for continuous selection, Ctrl + left click for discontinuous selection, and Ctrl + A to select all in the current directory.

In the dpg file dialog that could be implemented by dpg.file_dialog, we can do the first two multi-selections by default, but not Ctrl + A. I wonder if there is a way to implement the Ctrl + A?

ltmsyvag avatar Apr 27 '25 03:04 ltmsyvag

I don't think it is doable on the Python side of things. You can research ImGuiFileDialog a bit on that topic. If you find anything that can control selection via its API, we'll see if it can be added to DPG API (which in turn can be called from a key_press_handler in Python).

v-ein avatar Apr 29 '25 17:04 v-ein