Python programming: Dear PyGUI, great graphic user interfaces
HTML-код
- Опубликовано: 25 сен 2024
- How to make awesome GUIs with Python with DEARPYGUY. See the post below, you will find also a way to change the color of the background and of the windows (updated in yhe third of august 2024).
pythonprogramm...
great video showing Dear PyGui capabilities! sorry about the link being broken. We will update that tonight!
Good
Hello. 20:52 it don't work...
@@brayanmoisesrodriguezveiza3024I will go back to it and make another video to see if everything is fine again
@@johnstarfire, great! Waiting it...
@@brayanmoisesrodriguezveiza3024 yes… maybe today, let’s say at 18.00 Rome timezone
How do you get rid of the white back ground and just make it the gui you made
I have a black background from start, so I just run the code of the examples. Anyhow, if you want to change the color in the background you can do so (if you go to the post in the info, you can see this code and also the code to change the color of the windows):
import dearpygui.dearpygui as dpg
# Create the main window
dpg.create_context()
# Create the viewport
dpg.create_viewport(title='Custom Title', width=600, height=400)
# Set the viewport background color
dpg.set_viewport_clear_color((100, 150, 250, 255)) # RGBA values
# Create a window
with dpg.window(label="Main Window"):
dpg.add_text("Hello, world!")
# Show the viewport
dpg.setup_dearpygui()
dpg.show_viewport()
dpg.start_dearpygui()
# Clean up after the application ends
dpg.destroy_context()
can I put image to button widget ? and can I user local region language as label for widgets (for example can I use Arabic text as a label for buttons)?
thanks for your response
Yes you can put an image on a button. Local language I am not sure, I will take a look to know if it's possible. Sorry for the answer delay, I've seen the comment just now.
Hi buddy. Just watching now. You wanna pronounce gui as goooeee. Just getting into it now, thanks.
Thanks, I'll change my pronunciation next time, I am Italian, you know