[mcclim-devel] stupid newbie question re: initializing text-field

John Morrison jm at mak.com
Sat Nov 11 16:56:53 UTC 2006


On Friday 29 September 2006 19:38, Troels Henriksen wrote:
> The Goatee editable area object, which contains the buffer, is not
> initialized until the first redisplay happens, so it is impossible to
> access the buffer before then. Hence, you cannot use (setf
> gadget-value) on a text-field or text-editor gadget in McCLIM before
> your command loop is running and the gadget has been redisplayed at
> least once. I'm pretty sure this is a bug in McCLIM (if anyone wants
> to fix it, look at the definition of `handle-repaint' for
> `text-field-pane' in gadget.lisp line 2542).

DREI obviates this problem.  So a double "thank you" is owed by me to
you.  Thanks, doubly!

-jm

-- 
==== John Morrison
==== MAK Technologies Inc.
==== 68 Moulton Street, Cambridge, MA 02138
==== http://www.mak.com/
==== vox:617-876-8085 x115
==== fax:617-876-9208
==== jm at mak.com





More information about the mcclim-devel mailing list