Re: EuGTK - GtkDrawingArea
- Posted by irv Oct 10, 2010
- 1305 views
Jerry_Story said...
Line 207 is
object list = vslice(object_register,1)
Well, the 3 lines just before that one should have printed the register. Even if you have only one control declared, like a main window, you'll get something.
If you got nothing, then you must be running your code while object_register is empty = {}.
Which means you're calling your set color routine before any control whatsoever has been created, OR some routine is setting object_register = 0 or {}. Do a grep for object_register, and you'll see there's only one line where the register can be affected, and that line always appends a tuple. Even a 3-line program with one window will trigger a lookup when you set() some property:
include GtkEngine.e constant win = create(GtkWindow) set(win,"modify bg",0,"red")
{ {160861224,35}, {162875392,184} } LOOKUP OBJ CLASS FROM HANDLE: class: 2 handle:162875392