[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] Re: Example program for Blox

From: Paolo Bonzini
Subject: Re: [Help-smalltalk] Re: Example program for Blox
Date: Fri, 11 Jul 2008 15:27:27 +0200
User-agent: Thunderbird (Macintosh/20080421)

Canol Gokel wrote:
Paolo Bonzini <bonzini <at>> writes:

You can look at packages/blox/tests/

It contains some functional tests to be used as


I looked at that but couldn't solve how to write the main loop which waits for
events to occur.

There is a loop like this in

[win exists] whileTrue: [(Delay forMilliseconds: 50) wait.

No, that loop is just in the progress bar test, to modify the progress bar every 50 ms. The event loop is

        BLOX.Blox dispatchEvents: win

(see Gui class>>#test:)

It also gives an error like: key Gui not found

Just load it with

        PackageLoader fileInPackage: 'Blox'

and go around in the class browser.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]