Skip to main content

Extensions and custom widgets for Dear Py GUI

Project description

DearPyGui_Extend

Extensions and custom widgets for Dear Py GUI

Installation: pip install dearpygui-extend

API Documentation: Documentation Status

**Also check "examples" folder.


Movable Groups

Add Drag'n'drop ability to groups ("swap" or "replace" behaviors):

Usage:

import dearpygui.dearpygui as dpg
import dearpygui_extend as dpge

with dpge.movable_group():
	dpg.add_text('Some text')
	...

File browser

A custom filebrowser with extended functionality.

Features:

  • Supports file sequence entries: image.001.jpg, image.002.jpg, image.003.jpg --> 'image.###.jpg (001-003)'
  • Multi-selection (pick single or multiple files/sequences)
  • Breadcrumb path with navigation icons & folder quick access
  • Filetype filters
  • Sorting (smart sorting for collapsed sequences)
  • Draggable items (ability to expand file sequences on a drop callback)

[!NOTE] Requires Fileseq package: pip install fileseq

Usage:

import dearpygui.dearpygui as dpg
import dearpygui_extend as dpge

dpge.add_file_browser(
	initial_path='~/Downloads/images', 
	collapse_sequences=True, 
	sequence_padding='#'
)

Layout

A simple, responsive, text-based layouting system that abstracts table creation process away from the user.

Example:

LAYOUT example center center
  COL left_menu 0.2
  COL
    ROW 0.3
      COL left_content
      COL right_content
    ROW
      COL bottom_content
  COL right_menu 0.2

will produce this layout:

Usage:

import dearpygui.dearpygui as dpg
import dearpygui_extend as dpge

# use "tab" for identation
layout='''
LAYOUT example center center
	COL left_menu 0.2
	COL
		ROW 0.3
			COL left_content
			COL right_content
		ROW
			COL bottom_content
	COL right_menu 0.2
'''
# create layout
with dpg.window():
	dpge.add_layout(layout, border=True)

# accessing layout panes
with dpg.group(parent='left_content'):

	#add widgets
	dpg.add_text('User login:')
	dpg.add_input_text(label='username')
	dpg.add_input_text(label='password')
	dpg.add_button(label='Login')
	

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dearpygui_extend-0.1.3.tar.gz (22.7 kB view details)

Uploaded Source

File details

Details for the file dearpygui_extend-0.1.3.tar.gz.

File metadata

  • Download URL: dearpygui_extend-0.1.3.tar.gz
  • Upload date:
  • Size: 22.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for dearpygui_extend-0.1.3.tar.gz
Algorithm Hash digest
SHA256 7fe8c000fe430205abc130c7268a64f0cb4e63e6fa24016a607c6e2b4222e37b
MD5 356aeb5e29c4d5341997f7990758f41b
BLAKE2b-256 cfffeb952afc6a85771ac0e50e9a39a22d1f60c368fda81a2893088050ba572a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page