hoffstadt / hoffstadt/DearPyGui
render web site or html files
- Dominant language
- C++
- Stars
- 15.6k
- Forks
- 783
- PR merge metrics
- No merged PRs in 30d
Description
### Description
Hey, I was trying to build something weird and I got to a point where I need to put a web browser in a child window in my program
And then I just remembered that there's no website renderer in dearpygui.
### Proposed solution
so I just came to ask yall can you add it into dearpygui?
example usage:
dpg.add_website_render("~~~ your web site path ~~~")
or
dpg.add_file_site_render("Your/HTML/File/Path")
and not only that but intract with buttons on the websites.
Like a full browser!
with tabs
### Alternatives considered
Its just add it or not, I do not think that there's any other way than yes/no
### Additional context
dpg.add_website_render("~~~ your web site path ~~~")
dpg.add_file_site_render("Your/HTML/File/Path")
dpg.destroy_item(that website you created)
Add stuff like:
Undo
Redo
OpenWebsite
CloseWebsite
Website_Has_Error -> Returns "404" or "403" based on the website response (like time out)
and for reference, take a look on pyqt how it is done there, I think it will help you making it for dearpygui
Contributor guide
Research direction
Start by reviewing Dear PyGui's existing widget and item APIs, then compare the proposed add_website_render, add_file_site_render, and destroy_item usage with the referenced PyQt approach. The issue needs a defined browser-embedding scope before implementation, including site and local HTML rendering, interaction, tabs, navigation, and error reporting.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, python
- Domain
- desktop
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100