Rob Browning wrote:
> If you were willing to change the design so that the selections was
> just a list of buttons with potentially long names (like "Rent: exact
> match"), then one function could probably handle both this dialog and
> a category-list sub-dialog:
> 
>   (gnc:choose-from-list-dialog title
>         list-of-button-name-thunk-pairs-alist-or-hash-or-whatever)
...
> Would that do most of what you want?

This may not be quite as "pretty" as what I was thinking of, but certainly
sounds fine for now.  It certainly passes the UNIX Philosophy "80% rule"
of providing 80% of the functionality that I was hoping for.  Furthermore,
it looks to be more widely reusable, which is a Good Thing.

I drafted up a little example to check it out, and gather that it's not
in the current CVS archives.

> > Of course it would be in the main README...  Teaches me to not look
> > close enough...
> 
> This stuff was just added in the past week or two, so if you looked
> before, it wouldn't have been there (at least not this new "improved"
> method.

I thought I'd seen a similar explanation a while back; could be wrong.

> > I suspect that guile-in-window is liable to be really quite useful for
> > debugging scripts as it allows me to be reasonably sure that I've got
> > the same environment that I see if I load the register.
> 
> I'll see how hard it would be.  I wanted it the other day myself.

If at all possible, it would be very nice.  Interfacing with Readline
would be a bonus...
--
Christopher B. Browne, [EMAIL PROTECTED], [EMAIL PROTECTED]
Web: http://www.ntlug.org/~cbbrowne  SAP Basis Consultant, UNIX Guy
Windows NT - How to make a 100 MIPS Linux workstation perform like an 8 MHz 286
----- %< -------------------------------------------- >% ------
The GnuCash / X-Accountant Mailing List
To unsubscribe, send mail to [EMAIL PROTECTED] and
put "unsubscribe gnucash-devel [EMAIL PROTECTED]" in the body

Reply via email to