How can the main window title in Squeak and Pharo be set?
How can the main window title in Squeak and Pharo be set? In Pharo I thought it could be set in the System -> Settings Menu but couldn't find anything there. Can it be set only in code? -- Frank Church ======================= http://devblog.brahmancreations.com
DisplayScreen hostWindowTitle: 'My Title'. On Jan 10, 2013, at 5:40 PM, Frank Church <vfclists@gmail.com> wrote:
How can the main window title in Squeak and Pharo be set?
In Pharo I thought it could be set in the System -> Settings Menu but couldn't find anything there.
Can it be set only in code?
-- Frank Church
======================= http://devblog.brahmancreations.com
On 10.01.2013, at 08:40, Frank Church <vfclists@gmail.com> wrote:
How can the main window title in Squeak and Pharo be set?
In Pharo I thought it could be set in the System -> Settings Menu but couldn't find anything there.
Can it be set only in code?
Try this in Squeak: HostWindowProxy basicNew primitiveWindowTitle: 1 string: 'My Title' squeakToUtf8 In Etoys we have a convenience method for this: DisplayScreen hostWindowTitle: 'My Title' (because Etoys shows the current project name as window title) - Bert -
participants (3)
-
Bert Freudenberg -
Esteban Lorenzano -
Frank Church