In this tutorial you add code that will load the Gif file in the wx.animate.AnimationCtrl and then you can see the animation.
You will also learn how to set the minumum width or height of the frame.
def listBoxGifilesOnListBox( self, event ):
selGif = event.GetString()
gifile = os.path.join(self.GifPath,selGif)
print "Listbox error"
By adding this code you will be able to see the gif animation.
But we need to fix the gap between the listbox and the gif animation widget. This will be in the next tutorial and the full code will be provided.
If you have any questions or comments please post them on my YouTube video
Also,If you liked this video click the like button and subscribe to Python Bytes channel
Next and Final Tutorial: [Video] wxFormBuilder: Build a Python Gif Viewer – 12 Final Code