Skip to content

render web site or html files #2663

Description

@NR-5tudio

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions