Re: Documentation for make-instance

"Andras Simon" <[email protected]> Wed, 23 Aug 2006 20:44:48 +0200
Newsgroups gmane.lisp.clg.devel
Message-ID <[email protected]>
On 8/23/06, Pierre THIERRY <[email protected]> wrote:
> The documentation essentially redirects to the upstream GTK+
> documentation, but at least make-instance of GTK+ objects has &key
> options that are not obvious from the GTK+ documentation.
>
> Could these be documented?

It's not quite what you ask for, but Slime will display the initargs
if you type "(make-instance 'foo  " in the REPL (or in a Lisp buffer,
if slime-autodoc is on).

Then you get something like

(make-instance 'table &key no-show-all extension-events events style
receives-default has-default
 can-default is-focus has-focus can-focus app-paintable sensitive name
parent-window state colormap
 direction composite-name child-visible width-request height-request
resize-mode border-width focus-child
 focus-hadjustment focus-vadjustment reallocate-redraws homogeneous
n-columns n-rows column-spacing
 row-spacing signal child children child-args show-children parent
visible &allow-other-keys &rest
 initargs)

in the echo area (make sure that slime-autodoc-use-multiline-p is t).

As a clg (and gtk) newbie, I find this very helpful.

Andras


>
> Curiously,
> Nowhere man
> --
> [email protected]
> OpenPGP 0xD9D50D8A
>
>
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Clg-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/clg-devel
>

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642