help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] Iliad: does a widget know of its application?


From: Nicolas Petton
Subject: Re: [Help-smalltalk] Iliad: does a widget know of its application?
Date: Fri, 31 Jul 2009 23:54:15 +0200

Le jeudi 30 juillet 2009 à 17:37 +0200, Stefan Schmiedl a écrit :
> On Thu, 30 Jul 2009 18:18:57 +0300
> Bèrto ëd Sèra <address@hidden> wrote:
> 
> > Hi!
> > 
> > I suppose the widget has a way to know in which application instance
> > it is contained, it would come handy if it did. 
> 
> st> Iliad.Widget methodDictionary keys asSortedCollection
> ... no
> st> Iliad.Widget superclass methodDictionary keys asSortedCollection
> ... not yet
> st> Iliad.Widget superclass superclass methodDictionary keys 
> asSortedCollection
> ... there it is: an IliadObject knows its application!

In fact, IliadObject knows about the current application, request and
context. And because almost all iliad objects are subclasses of
IliadObject, those objects are accessible from almost everywhere.

Cheers!

Nico

Attachment: signature.asc
Description: Ceci est une partie de message numériquement signée


reply via email to

[Prev in Thread] Current Thread [Next in Thread]