[Top][All Lists]

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

[Help-smalltalk] Re: Example program for Blox

From: Canol Gokel
Subject: [Help-smalltalk] Re: Example program for Blox
Date: Fri, 11 Jul 2008 13:18:45 +0000 (UTC)
User-agent: Loom/3.14 (

Paolo Bonzini <bonzini <at>> writes:

> You can look at packages/blox/tests/
> It contains some functional tests to be used as
> Paolo

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.

But it didn't behaved well while I was trying to create a simple window. Is
there a more elegant way like:


in Python?

It also gives an error like: key Gui not found

while trying to run. I didn't try it on Linux though.

A simple script which creates a window and a button in it which closes the
window when pressed at the button would be much appreciated :) Then I would be
able to find out most other things by investigating the class browser.

reply via email to

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