On Thu, 30 Jul 2009 17:30:02 +0300
Bèrto ëd Sèra <[email protected]> wrote:

> Hi!
> 
> One more problem. It looks like even Iliad.Application does not get
> class initialization, so I have nowhere to call the initialization of
> my widget classes. 

If you have no place, make one:

  Object subclass: Thingie [ 
    Thingie class [ 
      initialize [ 
        super initialize.
        'class init' printNl
      ]
    ]
    initialize [ 
      'object init' printNl
    ]
  ]

  Eval [
    Thingie initialize
  ]

That's the way it is done in the Seaside packages, for example.

I wonder if that could/should be folded away by the loader,
since it is done automatically in the other Smalltalks I know.

s.



_______________________________________________
help-smalltalk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-smalltalk

Reply via email to