[Pharo-project] MenuMorph help
gazzaguru2 at btinternet.com
Mon Feb 1 06:20:04 EST 2010
Since menus are normally created dynamically I'd simply replace with
----- Original Message -----
From: "Stéphane Ducasse" <stephane.ducasse at inria.fr>
To: "Pharo-project Development" <Pharo-project at lists.gforge.inria.fr>
Sent: Sunday, January 31, 2010 8:54 PM
Subject: [Pharo-project] MenuMorph help
> Hi all
> I want to replace
> PopUpMenu setMenuFontTo: self menuFont].
> by its equivalent in MenuMorph.
> Does anybody has a magic invocation?
> I also would like to get rid of PopUpMenu in the following
> installAsDefault "FontSetNewYork installAsDefault"
> (self confirm: 'Do you want to install' translated, '
> ''' , self fontName , ''' as default font?' translated)
> ifFalse: [^ self].
> self installAsTextStyle.
> "TextConstants at: #OldDefaultTextStyle put: TextStyle default."
> TextConstants at: #DefaultTextStyle put: (TextStyle named: self fontName).
> ListParagraph initialize.
> "rbb 2/18/2005 13:20 - How should this change for UIManger, if at all?"
> PopUpMenu initialize.
> "SelectionMenu notify: 'The old text style has been saved
> as ''OldDefaultTextStyle''.'"
> Pharo-project mailing list
> Pharo-project at lists.gforge.inria.fr
More information about the Pharo-dev