You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Examples of how to implement various types of buttons. This includes how to implement a button which changes colour when clicked and how to implement nested radio buttons.
A very simple implementation of a paint app. It demonstrates how you can click and drag the mouse on a dpg.add_drawlist and draw basic free-form lines using dpg.draw_line.
Examples of custom listbox widgets which extend the functionality of the default listbox. Includes how to implement a listbox which is unselected by default and how to respond to key presses.
Examples of how to save and load the state of a GUI. This includes the values of GUI items, the position of windows, etc. A simple example using dict is shown as well as an approach using dataclasses. Both store the app state in a JSON file.
Examples of how to space GUI items using different methods. This includes automatic spacing, spacing using a grid of child windows and spacing using tables.
Examples of how to use threading in DearPyGui. Includes a start/stop button which can be used to start/stop a thread and a progress bar to show the progress of a task.
A basic progress bar with a start button. Once running, the start button changes to a pause button. The task can then be paused, upon which the pause button changes to a resume button and a reset button appears.
Examples of how to manage windows. This includes how to create a window which is always on top and how to drag the viewport when decorated=False. Also includes restricting the position of a window and how to implement a clicked handler for child windows.
About
A collection of example scripts which demonstrate various features/functionality in DearPyGui