Account selection lists

John Ralls jralls at ceridwen.us
Sun Nov 20 13:15:34 EST 2016


> On Nov 20, 2016, at 8:41 AM, Bernie Ledwick <bernie at ledwick.me.uk> wrote:
> 
> John,
> 
> Sorry, just noticed something. If you do a transaction search, and select
> "Account" as the type, when you click on "Selected Accounts" you get exactly
> the dialogue I was looking for when allocation transactions to an account
> (except in the search context, you can select multiple accounts). The same
> is true in reports when selecting accounts.
> 
> I suppose, if you wanted to extend it out a bit, you could even allow
> multiple account selection and create splits as appropriate for you to enter
> the correct split values.
> 
> I appreciate that the current account selection is done by a combo-box, but
> it can't be that difficult to invoke the  "Select Accounts to match"
> dialogue can it? Am I missing something blindingly obvious here?

Right, and you'll get a similar dialog box if you select the accounts in the matcher instead of letting them go to imbalance and correcting them afterwards. That has the added benefit of training the matcher for future imports.

No, there is no way to launch a dialog box from a GtkListView cell, nor is there a GtkTreeView cell renderer. Either could be written, of course, but it's not a simple task. Either would lose existing keyboard functionality and so annoy other users. That could be overcome by writing a combination combo-box/tree-view GtkWidget and then a GtkCellRenderer to embed it in the list view, still more work. There are no resources in the dev team for that work.

FWIW, the GUI code is in C because Gtk+ is. No C++ required.

Regards,
John Ralls




More information about the gnucash-user mailing list