Re: [Clg-devel] ERRATUM
Brought to you by:
espen
From: Espen S J. <es...@cs...> - 2007-05-06 21:56:00
|
Car...@ir... writes: > I have tried to run your example but I have next problem > > (setf some-region (make-instance 'gdk:region :rectangle #(0 0 100 100))) > (gdk:region-union some-region #(0 0 100 100)) > > The value #<GDK:REGION at 0x814EBB0> is not of type SYSTEM-AREA-POINTER. > [Condition of type TYPE-ERROR] Can post a stack trace when this happens? > What I note is that there are to ways to define a region as one instance > or as a pointer (using (gdk::region-new)). Which is the best way ? Do you mean %region-new, which is an internal function in the gdk package and should not be used by applications? The correct way to create objects in clg is to use make-instance. -- Espen |