0

All I need is a frame, and a panel. On the panel I have to display 3 pictures 1 at a time, separated by a pause of custom length. I need the panel to be 773x632 pixels for my png image.

What I need is the function for displaying an image from a file, and the function for a wait done in seconds (ex. wait(120) <-- this isn't working but similar to what im looking for). Also where can i find all the functions and what they do (like a website?)

This is my code so far.

import wx

class ShowPic(wx.Frame):

    def __init__(self,parent,id):
        wx.Frame.__init__(self,parentid,'MyFrame', size = (773,632))
        panel1=wx.Panel(self)

        

        
if __name__=='__main__':
    app=wx.PySimpleApp()
    frame=MyClass(parent=None,id=-1)
    frame.Show()
    app.MainLoop()
2
Contributors
1
Reply
3
Views
8 Years
Discussion Span
Last Post by vegaseat
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.