On Wed, Jul 9, 2008 at 1:41 AM, Kenny Tilton <<a href="mailto:kennytilton@optonline.net">kennytilton@optonline.net</a>> wrote:<br><br>Thanks for the quick reply,<br><br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
If you saw something in model absolutely necessary for Cells to work, I goofed. :)<div class="Ih2E3d"></div></blockquote><div><br>My question was based on error message that indicated that model-object was not exported (or something) when I was trying to inherit from model-object. <br>
<br>I looked into doc/*.lisp, test-cells/* and also cello, and only found references to model, not model-object. I figured that perhaps model-object was some left-over from previous versions, or something.<br><br>This is what I got:<br>
<br>"Error during finalization of class #<STANDARD-CLASS X 2173E1B3>: Cannot compute the class precedence list of #<STANDARD-CLASS X 2173E1B3> because the following class is not finalized #<FORWARD-REFERENCED-CLASS MODEL-OBJECT 223FBB43>"<br>
<br>(this is LispWorks 5.1 on OS X if it makes any difference, and extending a GUI component)<br><br>Works fine with model, though.<br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Cool. Philip Eby also talks about callback madness as motivating his Cells clone, Trellis (a Python project). I never thought about it as a callback thing, but it seems to be a recurring theme. :)<br></blockquote><div><br>
Not that I would know much about GUIs, but perhaps it depends on the model used in the GUI library. I am now experimenting with LispWorks CAPI.<br><br>For example this screen become a hassle immediately with callbacks, even if it is quite simple in principle:<br>
<br>User is editing two-level hierarchical data. Thus, parent objects have children. This view shows single parent. The form on the right is used to edit a single child. On the left I have preview of each child for this parent. The child previews are clickable, and select the object for editing. When I edit the data, the underlying model should obviously change. So should the preview, if corresponding fields change, as well as the title and some other parts of the view as well.<br>
<br>
Best regards,<br>
<br>
Mikko Ahonen<br></div></div>