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...

Комментарии • 13

  • @prestoncothren2686
    @prestoncothren2686 3 года назад +2

    great video showing Dear PyGui capabilities! sorry about the link being broken. We will update that tonight!

  • @Sxury22
    @Sxury22 2 месяца назад

    How do you get rid of the white back ground and just make it the gui you made

    • @johnstarfire
      @johnstarfire  Месяц назад

      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()

  • @omaral-halabiah2851
    @omaral-halabiah2851 3 года назад

    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

    • @johnstarfire
      @johnstarfire  3 года назад +1

      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.

  • @entx8491
    @entx8491 Год назад

    Hi buddy. Just watching now. You wanna pronounce gui as goooeee. Just getting into it now, thanks.

    • @johnstarfire
      @johnstarfire  Год назад

      Thanks, I'll change my pronunciation next time, I am Italian, you know