Excellent. That's perfect! My thanks! Ian
On 7/31/07, René Dudfield <[EMAIL PROTECTED]> wrote: > > This example shows you how to use the file dialog. > > examples/gui12.py > > cheers, > > On 8/1/07, René Dudfield <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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" > > > > > > > > >