wished by all my underage rpg-programming students:
the possibility to display ether animated gifs instead of the image inside a button/messagebox,
or
the possibility to play an animation inside a buttonbox by providing a list of images / list of pairs (image, displaytime in seconds)
The animation should stop as soon as a button in the window is clicked.
The animation should not loop if cycle_animation parameter is set to False.
animation would only work if image is set to None.
For game programming, this feature would be most needed for buttonbox and msgbox (and, if possible, for gridbox/multi-image-box)
wished by all my underage rpg-programming students:
the possibility to display ether animated gifs instead of the image inside a button/messagebox, or the possibility to play an animation inside a buttonbox by providing a list of images / list of pairs (image, displaytime in seconds)
def msgbox(msg="", title="", ok_button="ok", image=None, root=None, animation=[("image1.png", 0.1), ("image2.png",0.1), ("image3.png",0.5)], cycle_animation=True )
The animation should stop as soon as a button in the window is clicked. The animation should not loop if cycle_animation parameter is set to False. animation would only work if image is set to None.
For game programming, this feature would be most needed for buttonbox and msgbox (and, if possible, for gridbox/multi-image-box)