freenode/#clim - IRC Chatlog
Search
21:32:31
slyrus1
I'm once again having trouble grokking presentation-types, present, etc... If I manually specify the type with (present obj 'my-presentation-type) it works as expected. I'd like to be able call (present obj) and have my (presentation-method present) get called.
21:34:05
slyrus1
As a concrete example I'd like (present (make-point 100 100)) to result in my (presentation-method present) (I call it this to distinguish from the function present) with a suitable presentation class.
23:03:28
scymtym
slyrus1: i think CLIM:PRESENTATION-TYPE-OF is called if no presentation type is specified
23:16:02
slyrus1
scymtym: yeah, and I suppose I could make my own method for that, but it seems like the right incantation of define-presentation-type/method/etc... should handle that automatically.
23:22:47
slyrus1
Use the Add Point command to add a point and control click on the point to add new ones, control click on the lines to split them.