Lisp HUG Maillist Archive

titled-object-title-font is documented but doesn't exist

On the titled-object page

lib/4-3-0-0/manual/online/web/CAPRM/html/capiref-326.htm

the titled-object-title and titled-object-title-font
accessors are documented. titled-pinboard-object is
not listed as a subclass but on the
titled-pinboard-object page

lib/4-3-0-0/manual/online/web/CAPRM/html/capiref-327.htm

titled-object is listed as a superclass. In LWW 4.3.6:

CL-USER 42 > (setq container (capi:contain
(make-instance 'capi:titled-pinboard-object :title
"Test")))
#<CAPI:TITLED-PINBOARD-OBJECT  20695D8C>

CL-USER 43 > (capi:titled-object-title container)
"Test"

CL-USER 44 > (capi:titled-object-title-font container)

Error: No applicable methods for
#<STANDARD-GENERIC-FUNCTION CAPI:SIMPLE-PANE-FONT
20D4FB82> with args (#<CAPI:ITEM-PINBOARD-OBJECT
"Test" 20695E24>)
  1 (continue) Call #<STANDARD-GENERIC-FUNCTION
CAPI:SIMPLE-PANE-FONT 20D4FB82> again
  2 (abort) Return to level 0.
  3 Return to top loop level 0.

Type :b for backtrace, :c <option number> to proceed, 
or :? for other options

CL-USER 45 : 1 > 

My search of gmane.lisp.lispworks.general returned no
hits for "titled object title font".

What I want to do is display text with varying font
attributes in interfaces such as dialog boxes. A
larger and bold heading, for example. Perhaps there is
a better way to display static text in pinboard dialog
boxes other than using titled-pinboard-object? 

Thanks.

Jeff

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/


Updated at: 2020-12-10 08:58 UTC