[Etoys] Feature future
Bert Freudenberg
bert at freudenbergs.de
Sun Feb 24 08:20:47 EST 2008
On Feb 23, 2008, at 8:29 , karl wrote:
> karl wrote:
>> I have not grokked Journal yet, so this could take some time :-)
> Journal/ DBus stuff is really evasive. Do anyone have a example of
> how to open a image or sound from Journal ?
| objs obj file form |
objs := SugarLauncher current findJournalEntries: ({'mime_type'->#
('image/jpeg' 'image/png')} as: Dictionary).
obj := objs first.
file := SugarLauncher current getFile: (obj at: 'uid').
form := ImageReadWriter formFromStream: file.
file close.
form asMorph
name: (obj at: 'title');
openInHand
- Bert -
More information about the Etoys
mailing list