Whats the best way to stop numerous mnu-Messages?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

Whats the best way to stop numerous mnu-Messages?

Enno Schwass
Hello

Every time I show squeak to someone else I just play around a bit.
So other people can see how powerful squeak is.

After a few minutes I always do something wrong. Sometimes I
only get a single mnu. This is not problematic. But then I get
numerous mnu and it doesnt look very professional if I have to
click million times to get rid of it.

Just an example. Someone asked me for a squeak entry field.
I remembered that method finder has one.

So I open method finder click on the debug halo of the input field  
and show him
the morph with the class browser. No problem at all.

Then I want to demonstrate PluggableTextMorph

PluggableTextMorph new openInWorld.

Fine. Works.

Then the mouse enters the newly created morph and a dozen mnu appear.

What are YOU doing then?

bye
Enno

Reply | Threaded
Open this post in threaded view
|

Re: Whats the best way to stop numerous mnu-Messages?

Matthias Berth-2
Alt-w closes the top-most window, I suppose that's what you want.
It's in the world menu  ->  windows  -> close  top window (m)


-- Matthias

On 8/21/07, Enno Schwass <[hidden email]> wrote:
Hello

Every time I show squeak to someone else I just play around a bit.
So other people can see how powerful squeak is.

After a few minutes I always do something wrong. Sometimes I
only get a single mnu. This is not problematic. But then I get
numerous mnu and it doesnt look very professional if I have to
click million times to get rid of it.

Just an example. Someone asked me for a squeak entry field.
I remembered that method finder has one.

So I open method finder click on the debug halo of the input field
and show him
the morph with the class browser. No problem at all.

Then I want to demonstrate PluggableTextMorph

PluggableTextMorph new openInWorld.

Fine. Works.

Then the mouse enters the newly created morph and a dozen mnu appear.

What are YOU doing then?

bye
Enno




Reply | Threaded
Open this post in threaded view
|

Re: Whats the best way to stop numerous mnu-Messages?

David Mitchell-10
See also delete unchanged windows

Which if you use the type ahead menus, you can get there with

right click on world, type wi, Enter, unc, Enter

That is:

world -> wi_ndows -> delete _unc_hanged windows



On 8/21/07, Matthias Berth <[hidden email]> wrote:

> Alt-w closes the top-most window, I suppose that's what you want.
> It's in the world menu  ->  windows  -> close  top window (m)
>
>
> -- Matthias
>
>
> On 8/21/07, Enno Schwass <[hidden email]> wrote:
> > Hello
> >
> > Every time I show squeak to someone else I just play around a bit.
> > So other people can see how powerful squeak is.
> >
> > After a few minutes I always do something wrong. Sometimes I
> > only get a single mnu. This is not problematic. But then I get
> > numerous mnu and it doesnt look very professional if I have to
> > click million times to get rid of it.
> >
> > Just an example. Someone asked me for a squeak entry field.
> > I remembered that method finder has one.
> >
> > So I open method finder click on the debug halo of the input field
> > and show him
> > the morph with the class browser. No problem at all.
> >
> > Then I want to demonstrate PluggableTextMorph
> >
> > PluggableTextMorph new openInWorld.
> >
> > Fine. Works.
> >
> > Then the mouse enters the newly created morph and a dozen mnu appear.
> >
> > What are YOU doing then?
> >
> > bye
> > Enno
> >
> >
>
>
>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: Whats the best way to stop numerous mnu-Messages?

Hernan Tylim-2
Or, open a workspace, and evaluate the following:

PreDebugWindow allInstances do: [:ea | ea delete]

What I did was to open a MNU notifier and use the halo to find out what class implemented the window (PreDebugWindow). Then with Smalltalk API knowledge (the #allInstances) and Morphic knowledge (#delete) I did the rest.

One would wonder, though, why we don't have a "close all" button in those windows.

Regards,
Hernán


On 8/21/07, David Mitchell <[hidden email]> wrote:
See also delete unchanged windows

Which if you use the type ahead menus, you can get there with

right click on world, type wi, Enter, unc, Enter

That is:

world -> wi_ndows -> delete _unc_hanged windows



On 8/21/07, Matthias Berth <[hidden email]> wrote:

> Alt-w closes the top-most window, I suppose that's what you want.
> It's in the world menu  ->  windows  -> close  top window (m)
>
>
> -- Matthias
>
>
> On 8/21/07, Enno Schwass <[hidden email]> wrote:
> > Hello
> >
> > Every time I show squeak to someone else I just play around a bit.
> > So other people can see how powerful squeak is.
> >
> > After a few minutes I always do something wrong. Sometimes I
> > only get a single mnu. This is not problematic. But then I get
> > numerous mnu and it doesnt look very professional if I have to
> > click million times to get rid of it.
> >
> > Just an example. Someone asked me for a squeak entry field.
> > I remembered that method finder has one.
> >
> > So I open method finder click on the debug halo of the input field
> > and show him
> > the morph with the class browser. No problem at all.
> >
> > Then I want to demonstrate PluggableTextMorph
> >
> > PluggableTextMorph new openInWorld.
> >
> > Fine. Works.
> >
> > Then the mouse enters the newly created morph and a dozen mnu appear.
> >
> > What are YOU doing then?
> >
> > bye
> > Enno
> >
> >
>
>
>
>
>




--
Saludos,
Hernán


Reply | Threaded
Open this post in threaded view
|

Re: Whats the best way to stop numerous mnu-Messages?

Bert Freudenberg
In reply to this post by Enno Schwass
On Aug 21, 2007, at 12:39 , Enno Schwass wrote:
> I get
> numerous mnu and it doesnt look very professional if I have to
> click million times to get rid of it.

> What are YOU doing then?

I click the world menu - "do..." - "Utilities closeAllDebuggers."

- Bert -



Reply | Threaded
Open this post in threaded view
|

Re: Whats the best way to stop numerous mnu-Messages?

David Mitchell-10
In reply to this post by Hernan Tylim-2
Love the way you found that!

On 8/21/07, Hernan Tylim <[hidden email]> wrote:

> Or, open a workspace, and evaluate the following:
>
> PreDebugWindow allInstances do: [:ea | ea delete]
>
> What I did was to open a MNU notifier and use the halo to find out what
> class implemented the window (PreDebugWindow). Then with Smalltalk API
> knowledge (the #allInstances) and Morphic knowledge (#delete) I did the
> rest.
>
> One would wonder, though, why we don't have a "close all" button in those
> windows.
>
> Regards,
> Hernán
>
>
>
> On 8/21/07, David Mitchell <[hidden email]> wrote:
> > See also delete unchanged windows
> >
> > Which if you use the type ahead menus, you can get there with
> >
> > right click on world, type wi, Enter, unc, Enter
> >
> > That is:
> >
> > world -> wi_ndows -> delete _unc_hanged windows
> >
> >
> >
> > On 8/21/07, Matthias Berth <[hidden email]> wrote:
> > > Alt-w closes the top-most window, I suppose that's what you want.
> > > It's in the world menu  ->  windows  -> close  top window (m)
> > >
> > >
> > > -- Matthias
> > >
> > >
> > > On 8/21/07, Enno Schwass <[hidden email]> wrote:
> > > > Hello
> > > >
> > > > Every time I show squeak to someone else I just play around a bit.
> > > > So other people can see how powerful squeak is.
> > > >
> > > > After a few minutes I always do something wrong. Sometimes I
> > > > only get a single mnu. This is not problematic. But then I get
> > > > numerous mnu and it doesnt look very professional if I have to
> > > > click million times to get rid of it.
> > > >
> > > > Just an example. Someone asked me for a squeak entry field.
> > > > I remembered that method finder has one.
> > > >
> > > > So I open method finder click on the debug halo of the input field
> > > > and show him
> > > > the morph with the class browser. No problem at all.
> > > >
> > > > Then I want to demonstrate PluggableTextMorph
> > > >
> > > > PluggableTextMorph new openInWorld.
> > > >
> > > > Fine. Works.
> > > >
> > > > Then the mouse enters the newly created morph and a dozen mnu appear.
> > > >
> > > > What are YOU doing then?
> > > >
> > > > bye
> > > > Enno
> > > >
> > > >
> > >
> > >
> > >
> > >
> > >
> >
> >
>
>
>
> --
> Saludos,
> Hernán
>
>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: Whats the best way to stop numerous mnu-Messages?

Enno Schwass
Hi

Well, so many answer and so many solutions.
I will try them all

Thanks
Enno



Reply | Threaded
Open this post in threaded view
|

Re: Whats the best way to stop numerous mnu-Messages?

K. K. Subramaniam
In reply to this post by Enno Schwass
On Wednesday 22 August 2007 1:09 am, Enno Schwass wrote:
> Hello
>
> Every time I show squeak to someone else I just play around a bit.
> So other people can see how powerful squeak is.
>
> After a few minutes I always do something wrong. Sometimes I
> only get a single mnu. This is not problematic. But then I get
> numerous mnu and it doesnt look very professional if I have to
> click million times to get rid of it.
While doing demos, I like to keep my actions simple and comprehensible to my
audience. I just shift select-drag the whole bunch of windows and drag them
to the trash (or bring up halo and delete).

Just like what one would do with unsolicited messages. Just trash them :-)

Subbu