Dearpygui

Latest version: v1.11.1

Safety actively analyzes 630130 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 5

1.0

Integration
We plan on looking at integration with other libraries (i.e. pygame). Not to mention the 3D engine we are working on.

Platforms
We still want to bring in mobile (and maybe web eventually).

Contributors
We are continuing to cleanup and document the backend to facilitate a more contributor-friendly codebase. As you all know, the wiki is now going to be the contributor documentation.

Change Log

Breaking Changes
* user must create _Dear_PyGui_ context with `create_context()` before calling any DPG commands
* changed dragPayload `drag_data` is submitted to the targets `drag_callback` rather than `drop_callback`
* moved logger and themes to [DearPyGui_Ext](https://github.com/hoffstadt/DearPyGui_Ext)
* table rows now required
* removed `bind_item_disabled_theme(...)`
* removed `bind_item_type_disabled_theme(...)`
* removed `bind_item_type_theme(...)`
* user must create, setup, show viewport before starting dpg:
* "create_viewport()->setup_dearpygui()->show_viewport()->start_dearpygui()"
* `add_theme_color(...)` and `add_theme_style(...)` must known belong to a `theme_component`

New
* module: added `experimental` (not in use yet)
* item: added `add_table_cell(...)`
* item: added `add_spacer(...)`
* item: added `add_theme_component(...)`
* command: added `get_major_version(...)`
* command: added `get_minor_version(...)`
* command: added `toggle_viewport_fullscreen(...)`
* command: added `show_item_debug(...)`
* command: added `bind_theme(...)`
* command: added `highlight_table_column(...)`
* command: added `unhighlight_table_column(...)`
* command: added `set_table_row_color(...)`
* command: added `unset_table_row_color(...)`
* command: added `highlight_table_cell(...)`
* command: added `unhighlight_table_cell(...)`
* command: added `highlight_table_row(...)`
* command: added `unhighlight_table_row(...)`
* command: added `is_table_column_highlighted(...)`
* command: added `is_table_row_highlighted(...)`
* command: added `is_table_cell_highlighted(...)`
* command: added context manager for `add_plot_axis(...)`
* command: added `configure_app(...)`
* command: added `get_app_configuration(...)`
* command: added `add_item_set(...)`
* command: added `add_template_registry(...)`
* command: added `bind_template_registry(...)`
* keyword: added `drag_callback`, `drop_callback`, `payload_type` to `add_image(...)`
* keyword: added `drag_callback`, `drop_callback`, `payload_type` to `add_text(...)`
* keyword: added `drop_data` to `drag_payload(...)`
* keyword: added `xoffset` to `group(...)`
* keyword: added `id` to `popup(...)`
* keyword: added `clipper` to `add_table(...)`
* added deprecation system
* callbacks will now send alias through the `sender` argument if alias is used.
* columns can now be programmatically hidden
* table "value" is now a string, which acts as a filter using the row filter keys
* texture id can be updated with `configure_item(...)` for texture based widgets

Deprecated
* item: removed table_next_column
* removed `viewport` keyword arg from `setup_dearpygui(...)`
* removed `viewport` keyword arg from `show_viewport(...)`
* keyword: removed `drag_callback` from `add_menu_item(...)`
* keyword: removed `drag_callback` from `add_colormap_scale(...)`
* keyword: removed `drag_callback` from `add_colormap_slider(...)`
* keyword: removed `default_font` keyword arg from `add_font(...)`, use `bind_font(...)` now
* keyword: removed `default_theme` keyword arg from `add_theme(...)`, use `bind_theme(...)` now
* keyword: renamed `id` keyword to `tag`
* command: `cleanup_dearpygui(...)` is deprecated. Use `destroy_context(...)`
* command: `staging_container(...)` is deprecated. Use `stage(...)`
* command: `enable_docking(...)` is deprecated. Use `configure_app(docking=True, docking_space=dock_space)`
* command: `get_dearpygui_version()` is deprecated. Use `get_app_configuration()['version']`.
* command: `init_file(...)` is deprecated. Use `configure_app(init_file=file)`.
* command: `load_init_file` is deprecated. Use `configure_app(init_file=file, load_init_file=True)`.
* command: `is_viewport_created(...)` is deprecated. Use `is_viewport_ok()`.
* command: `setup_viewport(...)` is deprecated. Use `create_viewport()->setup_dearpygui()->show_viewport()`.
* command: `set_item_theme(...)` is deprecated. Use `bind_item_theme()`.
* command: `set_item_type_disabled_theme(...)` is deprecated. Use `bind_item_type_disabled_theme()`.
* command: `set_item_theme(...)` is deprecated. Use `bind_item_theme()`.
* command: `set_item_type_theme(...)` is deprecated. Use `bind_item_type_theme()`.
* command: `set_item_font(...)` is deprecated. Use `bind_item_font()`.
* command: `add_activated_handler(...)` is deprecated. Use `add_activated_handler()`.
* command: `add_active_handler(...)` is deprecated. Use `add_item_active_handler()`.
* command: `add_clicked_handler(...)` is deprecated. Use `add_item_clicked_handler()`.
* command: `add_deactivated_after_edit_handler(...)` is deprecated. Use `add_item_deactivated_after_edit_handler()`.
* command: `add_deactivated_handler(...)` is deprecated. Use `add_item_deactivated_handler()`.
* command: `add_edited_handler(...)` is deprecated. Use `add_item_edited_handler()`.
* command: `add_focus_handler(...)` is deprecated. Use `add_item_focus_handler()`.
* command: `add_hover_handler(...)` is deprecated. Use `add_item_hover_handler()`.
* command: `add_resize_handler(...)` is deprecated. Use `add_item_resize_handler()`.
* command: `add_toggled_open_handler(...)` is deprecated. Use `add_item_toggled_open_handler()`.
* command: `add_visible_handler(...)` is deprecated. Use `add_item_visible_handler()`.
* command: `set_colormap(...)` is deprecated. Use `bind_colormap()`.
* command: `reset_default_theme(...)` is deprecated. Use `bind_theme(mvAll)`.
* command: `set_staging_mode(...)` is deprecated. No longer needed.
* command: `add_spacing(...)` is deprecated. Use 'add_spacer(...)`
* command: `add_dummy(...)` is deprecated. Use 'add_spacer(...)`
* command: `add_child(...)` is deprecated. Use 'add_child_window(...)`
* command: `add_same_line(...)` is deprecated. Use `add_group(horizontal=True)`

Fixes
* fixed `get_item_configuration(...)` memory leak 1179
* fixed issue to allow `source` to be alias 1181
* fixed window info not registering as container 1188
* fixed min/max clamping issue with input widgets 1229
* fixed using aliases for set/get value
* fixed issue with `get_selected_nodes(...)` 1263
* fixed listbox default value empty 1219
* fixed ellipse thickness keyword not working 1213
* fixed return type hints for callbacks 1208
* fixed modal xpos creep 1171
* fixed plot context/configuration sync issues
* fixed plot axis context/configuration sync issues
* fixed plot legend context/configuration sync issues
* fixed toggled_open_handler triggering for closed 1280

Thank you!
_Dear PyGui_ development is currently funded by a handful of gracious sponsors and we would like to thank them tremendously. We wouldn't be here with out you guys.

Thank you for supporting us.

If you or your company uses _Dear PyGui_, please consider [supporting us](https://github.com/hoffstadt/DearPyGui/wiki/Sponsors)! We need it now more than ever.

Gallery

![image](https://user-images.githubusercontent.com/39973752/137012615-6c495856-5f22-432e-aa37-89cb1d08c547.png)

![](https://user-images.githubusercontent.com/39973752/127700470-b477b299-d683-4bcf-a4f9-5df9f5611bcc.gif)

![](https://user-images.githubusercontent.com/39973752/127701086-e29b4896-a633-41dd-8384-75fe4845991f.gif)

![](https://user-images.githubusercontent.com/39973752/127700676-cced09be-8416-4070-b9d8-68a2ae36462f.gif)

![image](https://user-images.githubusercontent.com/39973752/137011918-87cebaa2-c114-4037-aaea-898939900c9b.png)

![image](https://user-images.githubusercontent.com/39973752/137011965-c89bf974-a753-469c-9d08-589a169690f0.png)

![image](https://user-images.githubusercontent.com/39973752/137011981-0db24755-a1ed-4613-92ca-2d2abf83ae84.png)

![image](https://user-images.githubusercontent.com/39973752/137012007-4cc1f28f-6fad-4854-a01e-63db6070f2eb.png)

![image](https://user-images.githubusercontent.com/39973752/137012058-b6019850-56fe-425f-af5a-e5f603363d43.png)

![image](https://user-images.githubusercontent.com/39973752/137012278-15d570e0-30bf-4349-af07-3c49ff962c70.png)

https://user-images.githubusercontent.com/39973752/137012413-cb9af94d-d1e0-49b2-ad59-e56f7b25b962.mp4

https://user-images.githubusercontent.com/39973752/137012538-597e48c2-5250-49d7-a019-29fcdf358fab.mp4

1.0.0

News
Well folks, this has been a long 17 months but we are finally here. Please at a minimum read the **changelog** and checkout the **Gallery** at the end of this release! Also checkout the Founding Sponsors and Retiring Tiers [Announcement](https://github.com/hoffstadt/DearPyGui/discussions/1314). You have until the end of day October 14th to be included! If you should be included but were not, please let us know (check the about menu).

![image](https://user-images.githubusercontent.com/39973752/137013294-cf253f0d-b9b7-46e4-822a-2b29cee904e8.png)

0.8.62

News
* You can now use a string in place of an ID (similar to 0.6)! See [here](https://github.com/hoffstadt/DearPyGui/wiki/Widget-IDSystem#aliases-added-in-0862). This is **optional** but prevents users from needing to manage the UUID's manually!
* We are sticking with the names _Dear PyGui_ and _Dear Py3D_!

Breaking Changes
* `pmin` & `pmax` were backwards in `draw_rectangle(...)`. You need to reverse them. Related to 1163
* `add_colormap_scale(...)` keyword `colormap` now corresponds to `mvColorMap` widget

New
* feature: id can now be a string, but must be unique!
* command: added `get_item_alias(...)`
* command: added `set_item_alias(...)`
* command: added `add_alias(...)`
* command: added `remove_alias(...)`
* command: added `does_alias_exist(...)`
* command: added `get_alias_id(...)`
* command: added `get_aliases(...)`
* command: added `get_item_registry_configuration(...)`
* command: added `configure_item_registry(...)`
* widget: added `add_colormap(...)` 1069
* widget: added `add_colormap_registry(...)` 1069
* widget: added `add_colormap_button(...)`
* widget: added `add_colormap_slider(...)`
* command: added `sample_colormap(...)`
* command: added `get_colormap_color(...)`
* keyword: added `mulicolor` to `draw_rectangle(...)`
* keyword: added `color_upper_left` to `draw_rectangle(...)`
* keyword: added `color_upper_right` to `draw_rectangle(...)`
* keyword: added `color_bottom_left` to `draw_rectangle(...)`
* keyword: added `color_bottom_right` to `draw_rectangle(...)`
* constant: added `mvPlotColormap_Twilight`
* constant: added `mvPlotColormap_RdBu`
* constant: added `mvPlotColormap_BrBG`
* constant: added `mvPlotColormap_PiYG`
* constant: added `mvPlotColormap_Spectral`
* constant: added `mvPlotColormap_Greys`
* `set_value(...)` now works for *theme_color* 1136
* `set_value(...)` now works for *theme_style* 1136
* added `use_internal_label` keyword to all widgets, related to 1135

Fixes
* fixed setting default theme values
* fixed infinite on_close callbackss 1149
* fixed `get_item_configuration(...)` for window max_size
* fixed histogram misspelling issue related to 1132
* fixed adding font ranges over 0x10000 1092
* fixed viewport issue for windows 1126

Other
* added colormap section to demo under "widgets"
* simplied drawing API demo

0.6.415

News
With version 0.7 just a **few weeks away**, we expect this to be the **last** 0.6 release. We will begin focusing solely on 0.7.

Version 0.7 will contain the final breaking changes and once all the obvious bugs and issues are addressed, it will be tagged 1.0! Be aware that 0.7 will contain the largest amount of updates, features, and breaking changes of any release thus far (and by far), however we believe once users begin to work with the improvements, they will agree it is for the best.

You will also notice Pcothren and I have been less active in the discord server and github discussions but this is due solely to our focus being on 0.7's release.

In the following weeks, you will see the wiki beginning to split between 0.6/0.7 sections. We will also begin posting a running change log on the wiki so users can prepare for the upcoming changes.

If you have questions about any of the changes, please contact us.

Updates
- vcruntime140_1.dll: now included, addressing 563 and others
- tab_bar: "set_value" can now programmatically set the active tab 729

Fixes
- add_series: fixed axis 1 not being reset when plotting to different axes 744
- add_input_*: fixed multiple ran callback when using min/max values
- nodes: memory bad read/write related to deleting nodes
- add_input_int3 | add_input_float3 callback isn't working anymore 800
- fixed mac cpu unbound usage when window is covered
- Setting add_label_text color causes label text to change showing the hidden label name 803
- Adding textures at runtime did not work for linux 687
- Texture updates on MacOS cause crash 743

0.5.66

Changes
- Data Storage: now thread safe
- **set_value**: now thread safe
- **get_value**: now thread safe

New Commands
- Tab Button: Added **add_tab_button** command

New Keywords
- tab: Added **no_reorder** keyword
- tab: Added **leading** keyword
- tab: Added **trailing** keyword
- tab: Added **no_tooltip** keyword

Fixes
- tabbar: fixed tabbar callback
- drawing: fixed "originy" issue 309
- table: fixed spacing issue 297

0.3.7

-----------------------------------------------------------------------
VERSION 0.3.7 (9/14/2020)
-----------------------------------------------------------------------

Updates:
- ImPlot: upgraded to commit 4f0a09f

New Commands:
- Widgets: Added **add_image_button** command
- Plots: Added **add_pie_chart** command
- Plots: Added **add_pie_chart_data** command
- Plots: Added **clear_pie_chart_data** command
- Plots: Added **add_stem_series** command

Fixes:
- Threadpool: Fixed issue with threads freezing

Page 4 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.