About 430,000 results
Open links in new tab
  1. What's the best way to add a GUI to a Pygame application?

    Dont use wxPython, its very hard to get to work well with Pygame, as described over at the GUI section of the Pygame wiki. First of all, pygame relies on the SDL, which means that it can only have one …

  2. how to change the text color of a pygame gui textbox

    Sep 17, 2024 · I have this python code which displays a screen with a textbox in the middle that print its text when pressed enter: import pygame_gui, pygame pygame.init() screen = …

  3. How to assign a pygame_gui Button to a specific surface

    Jan 31, 2023 · 1 You cannot add a Pygame GUI button to a pygame.Surface object because a pygame.Surface consists only of a grid of pixels and cannot contain objects. Also, the Pygame GUI …

  4. Newest 'pygame-gui' Questions - Stack Overflow

    Apr 23, 2024 · 3votes 2answers 145views Text inside a pygame_gui textbox disappears after changing it - pygame_gui library I am using the pygame_gui library. I am trying to make a textbox that when …

  5. Scrollbar Goes Out of Bounds in Pygame_GUI Container

    Oct 29, 2024 · What I want is simple: a pygame_gui container that stores items and allows me to scroll through them without any issues. It seems like a straightforward requirement, so I’m puzzled as to …

  6. Text inside a pygame_gui textbox disappears after changing it

    Nov 6, 2024 · I am using the pygame_gui library. I am trying to make a textbox that when pressed enter it will print the text inside the box to the console and reset it (so the textbox will be empty).

  7. python - PygameGUI error loading libpng16-16.dll: the file cannot be ...

    Mar 30, 2024 · In my pygame project using pygame and the library pygameGUI I can't load any pngs as the dll for doing it won't load. Traceback (most recent call last): File …

  8. python - Is there anything I can do to fix this pygame_gui and ...

    Nov 16, 2023 · I'm trying to make a GUI with pygame_gui and pygame_gui is throwing a error. I made a simple GUI class like this: import pygame import pygame_gui class GUI: def ...

  9. How to prompt user to open a file with python3? - Stack Overflow

    Sep 8, 2020 · 2 It is possible to make a file dialogue (though not using the native file explorer) using the pygame_gui module. Simply create an instance of UIFileDialog and grab the path when the user hits …

  10. How to change fontsize with pygame_gui? - Stack Overflow

    Nov 12, 2023 · How to change fontsize with pygame_gui? Asked 2 years ago Modified 2 years ago Viewed 221 times