1 Aug 2007 07:20
Re: Select a File...
This example shows you how to use the file dialog. examples/gui12.py cheers, On 8/1/07, René Dudfield <renesd@...> wrote: > Hi, > > check out the examples directory that comes with the download pgu download. > > You need an App class. > > Kind of like this... > > from pgu import gui > app = gui.App() > e = gui.Button("Hello World") > app.run(e) > > > Check out the examples/gui*.py files for more. > > > Cheers, > > > On 8/1/07, Ian Mallett <geometrian@...> wrote: > > title = gui.Label("My Title") > > main = gui.Container() > > #add stuff to the container... > > > > d = gui.FileDialog(title,main) > > d.open() > > > > > > ...doesn't crash, but I don't see anything, just a print: "gui.widget: > > creating an App" > > > > >
RSS Feed