SketchMorph and Button?
Lic. Edgar J. De Cleene
edgardec2001 at yahoo.com.ar
Mon Aug 22 23:02:14 UTC 2005
How create buttons from pictures saved on your disk
f := Form fromFileNamed: 'Macintosh
HD:Users:edgar:Public:SqueakDevelop:SqueakChemM.jpg'. "Here you select the
path with FileList and copy /paste for change the example"
esteBoton := IconicButton new. "Here you create a new instance of
IconicButton "
esteBoton labelGraphic: f. "Here you change to selected graphic "
esteBoton openInWorld. "Here you see the button"
Edgar
___________________________________________________________
1GB gratis, Antivirus y Antispam
Correo Yahoo!, el mejor correo web del mundo
http://correo.yahoo.com.ar
More information about the Squeak-dev
mailing list
|