About UIManager and UITheme for MenuMorph

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

About UIManager and UITheme for MenuMorph

Stéphane Ducasse
Hi gary

I was reading
http://code.google.com/p/pharo/issues/detail?id=3728
which converts MenuMorph new -> UIManager default menuClass

And I was wondering:
        - UIManager regulate coarse grained interaction
               
        - UITheme takes into account settings

Now UIManager does not provide handy MenuMorph creation method besides choose.... and friends.
And now I'm looking at TEasilyThemed and it refers to MenuMorph so I'm wondering if in headless
we could not still have popup menu raised.

Stef
Reply | Threaded
Open this post in threaded view
|

Re: About UIManager and UITheme for MenuMorph

Gary Chambers-4
Not sure what you mean but I'd expect high-level interactions to not ask for
a menuClass.
Still, in headless case, with this, it is possible to provide a suitable
replacement.

Regards, Gary

----- Original Message -----
From: "Stéphane Ducasse" <[hidden email]>
To: "pharo Development" <[hidden email]>
Sent: Friday, February 25, 2011 3:47 PM
Subject: [Pharo-project] About UIManager and UITheme for MenuMorph


Hi gary

I was reading
http://code.google.com/p/pharo/issues/detail?id=3728
which converts MenuMorph new -> UIManager default menuClass

And I was wondering:
- UIManager regulate coarse grained interaction

- UITheme takes into account settings

Now UIManager does not provide handy MenuMorph creation method besides
choose.... and friends.
And now I'm looking at TEasilyThemed and it refers to MenuMorph so I'm
wondering if in headless
we could not still have popup menu raised.

Stef


Reply | Threaded
Open this post in threaded view
|

Re: About UIManager and UITheme for MenuMorph

Stéphane Ducasse
Gary

What I mean is that there are a lot of places where MenuMorph is hardcoded and the UIManager does not have a chance
to take control. I imagine that this is for this reason that guillermo proposed this change.

Stef


> Not sure what you mean but I'd expect high-level interactions to not ask for a menuClass.
> Still, in headless case, with this, it is possible to provide a suitable replacement.
>
> Regards, Gary
>
> ----- Original Message ----- From: "Stéphane Ducasse" <[hidden email]>
> To: "pharo Development" <[hidden email]>
> Sent: Friday, February 25, 2011 3:47 PM
> Subject: [Pharo-project] About UIManager and UITheme for MenuMorph
>
>
> Hi gary
>
> I was reading
> http://code.google.com/p/pharo/issues/detail?id=3728
> which converts MenuMorph new -> UIManager default menuClass
>
> And I was wondering:
> - UIManager regulate coarse grained interaction
>
> - UITheme takes into account settings
>
> Now UIManager does not provide handy MenuMorph creation method besides choose.... and friends.
> And now I'm looking at TEasilyThemed and it refers to MenuMorph so I'm wondering if in headless
> we could not still have popup menu raised.
>
> Stef
>


Reply | Threaded
Open this post in threaded view
|

Re: About UIManager and UITheme for MenuMorph

Gary Chambers-4
Indeed, a step forward.
UIManager is a quite focussed facade. Perhaps the "unusual" usages of
MenuMorph can
be analysed as to their main intent.

Regards, Gary

----- Original Message -----
From: "Stéphane Ducasse" <[hidden email]>
To: <[hidden email]>
Sent: Friday, February 25, 2011 4:27 PM
Subject: Re: [Pharo-project] About UIManager and UITheme for MenuMorph


Gary

What I mean is that there are a lot of places where MenuMorph is hardcoded
and the UIManager does not have a chance
to take control. I imagine that this is for this reason that guillermo
proposed this change.

Stef


> Not sure what you mean but I'd expect high-level interactions to not ask
> for a menuClass.
> Still, in headless case, with this, it is possible to provide a suitable
> replacement.
>
> Regards, Gary
>
> ----- Original Message ----- From: "Stéphane Ducasse"
> <[hidden email]>
> To: "pharo Development" <[hidden email]>
> Sent: Friday, February 25, 2011 3:47 PM
> Subject: [Pharo-project] About UIManager and UITheme for MenuMorph
>
>
> Hi gary
>
> I was reading
> http://code.google.com/p/pharo/issues/detail?id=3728
> which converts MenuMorph new -> UIManager default menuClass
>
> And I was wondering:
> - UIManager regulate coarse grained interaction
>
> - UITheme takes into account settings
>
> Now UIManager does not provide handy MenuMorph creation method besides
> choose.... and friends.
> And now I'm looking at TEasilyThemed and it refers to MenuMorph so I'm
> wondering if in headless
> we could not still have popup menu raised.
>
> Stef
>