Dearpypixl

Latest version: v1.2.13

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

Scan your dependencies

Page 2 of 2

1.0.0

0.3.1

I'm sure I'll remember to edit this.

0.2.33

Changes
* **app** module:
* better organization for contents of `<class 'Viewport'>`, visually seperating the public API from the internal API
* more comments and doctrings added to `<class 'Viewport'>`\
* moved the bulk of the setup from `Viewport.__init__` to a private method
* the setup process for `<class 'Viewport'>` instance has been cleaned up and slightly simplified
* `theme` parameter added to `<class 'Viewport'>` and can now be included on-call
* **(Windows-only)** new methods for `<class 'Viewport'>`: `set_transparent_color`, `restore_color`, `disable_virtual_scaling` `enable_virtual_scaling` (**Note**: the first two are replacing module-level functions `use_hardware/virtualized_resolutions`)
* **(Windows-only)** `disable_virtual_scaling` is now always called during instance setup (call `enable_virtual_scaling` if this is undesired)
* **item** module, `<class 'Item'>`:
* the `staged_init` method has been temporarily removed, until I find a better means of implementation
* the `configure` method now calls `setattr` and is no longer limited to internal configuration options (previously was equivelent to calling `dearpygui.configure_item(self.id, **config)`)
* some methods have been renamed: `remove` -> `delete`, `refresh` -> `renew`, `state` -> `get_states`
* some methods have been moved to the <class 'Widget'> subclass
* (new) **_c_types** module/subpackage (internal-only but documenting for completeness)
* (dev) new `<class 'Widget'>` method `duplicate` (crudely implemented for now, will revise)

Works-in-progress, thoughts, etc.
* add more examples/tutorials to README.md
* parsing and dumping constants to `./dpgwidgets/libsrc/constants.py`, refactor, or re-implement `./dpgwidgets/constants.py`
* considering subpackaging some modules in `./dpgpwidgets` (`widgets.py`, `drawing.py`, etc) for organized re-implementation of specific items:
* most, if not all of the non-container items in the `drawing` module could be methods of those containers instead, similar for the `node` module but I'm unsure if this is something people would want
* this would also make it easier to include custom/"homebrew" items
* make the `duplicate` method "better" in every sense of the word...

It's on testpypi: https://test.pypi.org/project/dpgwidgets/

0.2.11

Changes
* script rewrite for creating the underlying lib:
* is now easier (for me) to maintain
* output directory name is now **libsrc**, which **dpgwidgets** imports as **dpglib**
* .py files output now include __all__
* .py files output now include the original docstrings
* the library will now be written/updated on import by default (set dpgwidgets.AUTO_UPDATE to False to change this)
* a warning will be shown if a **PermissionError** was raised trying to write the library
* directory structure has changed
* more comments and docstrings added throughout source code
* **container**, **widgets**, **drawing**, **plotting**, and **node** modules (and their objects) can now be explicitly imported from **dpgwidgets**
* **item** and **widget** modules are no longer marked as private
* **Viewport** class updated to support the recent parameters changes in [DearPyGui 0.8.53](https://github.com/hoffstadt/DearPyGui/releases/tag/v0.8.53)
* trying to create a second instance of **Viewport** will now raise a **ViewportError**
* several **Viewport** methods are now **classmethods**
* new **Viewport** methods: **frame_count**, **runtime**, **framerate**, **get_mouse_pos**, **get_render_callable**, **on_render**
* new **Viewport** properties: **is_running**, **local/global_mouse_delta**, **local/global_mouse_pos**


On testpypi: `pip install -i https://test.pypi.org/simple/ dpgwidgets`

Page 2 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.