[lgtk-devel] [PATCH:] A few more button functions

Mario S. Mommer m_mommer at yahoo.com
Mon Mar 1 17:45:05 UTC 2004


Hi,

Sverker Wiberg <sverkerw at swipnet.se> writes:
> Here's a patch to add gtk-button-new-from-stock as well as functions to
> handle a buttons label and relief state.

Commited. Thanks!

> These functions (except for gtk-button-set-label) are showcased in
> 'button-flavours.lisp', which also contains a very first sketch (done in
> five minutes) on a somewhat thicker and more Lispy binding for GTK.

Added button-flavors as an example. I think that I should add an
utility package for the kind of lispy extensions you mention.

> Right now I'm thinking on adding docstring support to def-binding and
> friends. Any thoughts?

It would not hurt, I guess. Where do you propose to put the docstrings?

As far as lgtk is concerned, adding functionality by hand is only a
temporary solution. I would much prefer to machine-generate bindings
by the ton. I think I have a solution, but I'm not sure that it makes
much sense to add doctrings to that. After all, it is an amazing
shipload of functions & stuff, not all of which is even documented!

On the other hand, I always thought of defbinding & friends as a
facility that would grow beside lgtk until it was mature enough to
stand by itself, and then would get its own project. From that point
of view, docstrings make a lot of sense.

Regards,
        Mario.



More information about the lgtk-devel mailing list