# Documentation for

## Index

(no types defined)

### Functions

d-gnc:amount->string-helper | d-gnc:query-add-amount-match | d-gnc:query-add-share-price-match | d-gnc:query-add-shares-match | d-gnc:split-get-balance | d-gnc:split-get-share-amount | d-gnc:split-get-share-balance | d-gnc:split-get-share-price | d-gnc:split-get-value | d-gnc:split-set-share-price | gnc:account-auto-code | gnc:account-begin-edit | gnc:account-commit-edit | gnc:account-destroy | gnc:account-fix-split-date-order | gnc:account-get-balance | gnc:account-get-children | gnc:account-get-cleared-balance | gnc:account-get-code | gnc:account-get-commodity | gnc:account-get-currency | gnc:account-get-description | gnc:account-get-guid | gnc:account-get-name | gnc:account-get-notes | gnc:account-get-parent | gnc:account-get-parent-account | gnc:account-get-price-src | gnc:account-get-quote-tz | gnc:account-get-reconciled-balance | gnc:account-get-security | gnc:account-get-share-balance | gnc:account-get-slots | gnc:account-get-split-list | gnc:account-get-tax-US-code | gnc:account-get-tax-US-payer-name-source | gnc:account-get-tax-related | gnc:account-get-type | gnc:account-get-type-string | gnc:account-insert-split | gnc:account-insert-subaccount | gnc:account-lookup | gnc:account-order | gnc:account-quantity-print-info | gnc:account-reverse-balance? | gnc:account-set-code | gnc:account-set-currency | gnc:account-set-description | gnc:account-set-name | gnc:account-set-notes | gnc:account-set-security | gnc:account-set-tax-related | gnc:account-set-type | gnc:account-staged-transaction-traversal | gnc:account-value-print-info | gnc:add-extension | gnc:amount->string-helper | gnc:book-begin | gnc:book-destroy | gnc:book-end | gnc:book-get-commodity-table | gnc:book-get-error | gnc:book-get-group | gnc:book-get-pricedb | gnc:book-load | gnc:book-new | gnc:book-pop-error | gnc:book-save | gnc:budget-dialog-create | gnc:c-options-init | gnc:c-options-shutdown | gnc:choose_radio_option_dialog_parented | gnc:column-view-edit-options | gnc:commodity-create | gnc:commodity-destroy | gnc:commodity-equiv? | gnc:commodity-get-exchange-code | gnc:commodity-get-fraction | gnc:commodity-get-fullname | gnc:commodity-get-mnemonic | gnc:commodity-get-namespace | gnc:commodity-get-printname | gnc:commodity-print-info | gnc:commodity-table-add-namespace | gnc:commodity-table-delete-namespace | gnc:commodity-table-find-full | gnc:commodity-table-get-commodities | gnc:commodity-table-get-namespaces | gnc:commodity-table-has-namespace | gnc:commodity-table-insert | gnc:commodity-table-lookup | gnc:convert-from-euro | gnc:convert-to-euro | gnc:default-currency | gnc:default-options-editor | gnc:default-price-print-info | gnc:default-print-info | gnc:default-share-print-info | gnc:default-ui-start | gnc:dmy2timespec | gnc:double-to-gnc-numeric | gnc:engine-commodities | gnc:engine-shutdown | gnc:error-dialog | gnc:euro-currency-get-rate | gnc:exp-parser-init | gnc:exp-parser-shutdown | gnc:file-query-save | gnc:file-quit | gnc:file-selection-dialog | gnc:free-account-group | gnc:free-query | gnc:get-account-from-full-name | gnc:get-current-book | gnc:get-current-group | gnc:get-euro | gnc:get-ui-data | gnc:get-ui-toplevel | gnc:gettext-helper | gnc:glist->list | gnc:glist-for-each | gnc:glist-map | gnc:group-begin-staged-transaction-traversals | gnc:group-concat-group | gnc:group-get-account | gnc:group-get-account-list | gnc:group-get-balance | gnc:group-get-num-accounts | gnc:group-get-num-subaccounts | gnc:group-get-parent | gnc:group-get-subaccounts | gnc:group-insert-account | gnc:group-merge-accounts | gnc:group-staged-transaction-traversal | gnc:guid-type-helper | gnc:history-get-last | gnc:html-encode-string | gnc:import-legacy-commodities | gnc:info-dialog | gnc:is-euro-currency | gnc:list->glist | gnc:locale-decimal-places | gnc:locale-default-currency | gnc:lowlev-app-init | gnc:main-window-can-save? | gnc:main-window-close-children | gnc:main-window-open-report | gnc:main-window-restore | gnc:main-window-save | gnc:malloc-account | gnc:malloc-account-group | gnc:malloc-query | gnc:numeric-abs | gnc:numeric-add | gnc:numeric-add-fixed | gnc:numeric-check | gnc:numeric-compare | gnc:numeric-convert | gnc:numeric-create | gnc:numeric-denom | gnc:numeric-div | gnc:numeric-eq | gnc:numeric-equal | gnc:numeric-error | gnc:numeric-mul | gnc:numeric-neg | gnc:numeric-negative-p | gnc:numeric-num | gnc:numeric-positive-p | gnc:numeric-same | gnc:numeric-sub | gnc:numeric-sub-fixed | gnc:numeric-to-double | gnc:numeric-to-string | gnc:numeric-zero | gnc:numeric-zero-p | gnc:option-db-register-option | gnc:option-db-set-option-selectable-by-name | gnc:option-invoke-callback | gnc:option-refresh-ui | gnc:price-create | gnc:price-get-commodity | gnc:price-get-currency | gnc:price-get-time | gnc:price-get-value | gnc:price-set-commodity | gnc:price-set-currency | gnc:price-set-source | gnc:price-set-time | gnc:price-set-type | gnc:price-set-value | gnc:price-unref | gnc:pricedb-add-price | gnc:pricedb-get-prices | gnc:pricedb-lookup-at-time | gnc:pricedb-lookup-latest | gnc:pricedb-lookup-nearest-in-time | gnc:print-check-dialog-create | gnc:print-date | gnc:print-report | gnc:print-session-create | gnc:print-session-destroy | gnc:print-session-done | gnc:print-session-moveto | gnc:print-session-print | gnc:print-session-text | gnc:progress-dialog-destroy | gnc:progress-dialog-finish | gnc:progress-dialog-new | gnc:progress-dialog-set-activity-mode | gnc:progress-dialog-set-cancel-scm-func | gnc:progress-dialog-set-heading | gnc:progress-dialog-set-limits | gnc:progress-dialog-set-title | gnc:progress-dialog-set-value | gnc:progress-dialog-update | gnc:query->scm | gnc:query-add-account-match | gnc:query-add-action-match | gnc:query-add-cleared-match | gnc:query-add-date-match | gnc:query-add-date-match-timepair | gnc:query-add-description-match | gnc:query-add-memo-match | gnc:query-add-number-match | gnc:query-add-single-account-match | gnc:query-clear | gnc:query-get-splits | gnc:query-get-splits-unique-trans | gnc:query-get-transactions | gnc:query-has-terms? | gnc:query-invert | gnc:query-merge | gnc:query-purge-terms | gnc:query-set-group | gnc:query-set-max-splits | gnc:query-set-sort-increasing | gnc:query-set-sort-order | gnc:register-default-font | gnc:register-default-hint-font | gnc:report-raise-editor | gnc:report-window | gnc:report-window-add-edited-report | gnc:report-window-reload | gnc:resume-gui-refresh | gnc:run-rpc-server | gnc:scm->query | gnc:set-log-level-global | gnc:set-option-selectable-by-name | gnc:show-main-window | gnc:show-new-user-choice-window | gnc:split-compare-account-codes | gnc:split-compare-account-full-names | gnc:split-compare-other-account-codes | gnc:split-compare-other-account-full-names | gnc:split-create | gnc:split-destroy | gnc:split-get-account | gnc:split-get-action | gnc:split-get-amount | gnc:split-get-balance | gnc:split-get-corr-account-code | gnc:split-get-corr-account-full-name-internal | gnc:split-get-corr-account-name | gnc:split-get-guid | gnc:split-get-memo | gnc:split-get-other-split | gnc:split-get-parent | gnc:split-get-reconcile-state | gnc:split-get-reconciled-date | gnc:split-get-share-amount | gnc:split-get-share-balance | gnc:split-get-share-price | gnc:split-get-slots | gnc:split-get-value | gnc:split-lookup | gnc:split-quantity-print-info | gnc:split-set-action | gnc:split-set-amount | gnc:split-set-base-value | gnc:split-set-memo | gnc:split-set-reconcile | gnc:split-set-share-amount | gnc:split-set-share-price | gnc:split-set-share-price-and-amount | gnc:split-set-value | gnc:split-value-print-info | gnc:start-ui-event-loop | gnc:style-sheet-dialog-open | gnc:suspend-gui-refresh | gnc:timepair-canonical-day-time | gnc:trans-fix-split-date-order | gnc:transaction-append-split | gnc:transaction-begin-edit | gnc:transaction-commit-edit | gnc:transaction-create | gnc:transaction-destroy | gnc:transaction-get-commodity | gnc:transaction-get-date-entered | gnc:transaction-get-date-posted | gnc:transaction-get-description | gnc:transaction-get-guid | gnc:transaction-get-notes | gnc:transaction-get-num | gnc:transaction-get-slots | gnc:transaction-get-split | gnc:transaction-get-split-count | gnc:transaction-is-common-currency | gnc:transaction-is-open | gnc:transaction-lookup | gnc:transaction-set-date | gnc:transaction-set-date-entered | gnc:transaction-set-date-posted | gnc:transaction-set-date-time-pair | gnc:transaction-set-date-today | gnc:transaction-set-description | gnc:transaction-set-notes | gnc:transaction-set-xnum | gnc:ui-destroy | gnc:ui-init | gnc:ui-is-running? | gnc:ui-is-terminating? | gnc:ui-main | gnc:ui-open-file | gnc:ui-select-file | gnc:ui-shutdown | gnc:ui-totd-dialog-create-and-run | gnc:verify-dialog | gnc:warning-dialog

(no constants defined)

## Types

## Constants

## Functions

(gnc:glist->list glist wct)
  glist is a <glib:GList*>, wct is a . Returns .
  Convert glist to scheme list of wcp's of type wct.
(gnc:list->glist wcp-list)
  wcp-list is a . Returns <glib:GList*>.
  Convert scheme list of wcp's to GList*.
(gnc:glist-map wct thunk glist)
  wct is a , thunk is a , glist is a <glib:GList*>. Returns .
  Call thunk on every element of glist after conversion to wcp of type wct, and return a list of the results.
(gnc:glist-for-each wct thunk glist)
  wct is a , thunk is a , glist is a <glib:GList*>. Returns .
  Call thunk on every element of glist after conversion to wcp of type wct.
(gnc:exp-parser-init)
  Returns .
  Initialize the expression parser.
(gnc:exp-parser-shutdown)
  Returns .
  Shutdown the expression parser and free any associated memory.
(gnc:c-options-init)
  Returns .
  Initialize the C side options code.
(gnc:c-options-shutdown)
  Returns .
  Shutdown the C side options code.
(gnc:account-get-guid account)
  account is a <gnc:Account*>. Returns .
  Return the guid of the given account.
(gnc:account-lookup guid)
  guid is a . Returns <gnc:Account*>.
  Lookup an account given a guid.
(gnc:transaction-get-guid trans)
  trans is a <gnc:Transaction*>. Returns .
  Return the guid of the given transaction.
(gnc:transaction-lookup guid)
  guid is a . Returns <gnc:Transaction*>.
  Lookup a transaction given a guid.
(gnc:split-get-guid split)
  split is a <gnc:Split*>. Returns .
  Return the guid of the given split.
(gnc:split-lookup guid)
  guid is a . Returns <gnc:Split*>.
  Lookup a split given a guid.
(gnc:guid-type-helper guid)
  guid is a . Returns .
  Return the type of entity referenced by a guid.
(d-gnc:split-get-balance s)
  s is a <gnc:Split*>. Returns .
  Return balance at split.
(gnc:split-get-balance s)
  s is a <gnc:Split*>. Returns .
  Return balance at split.
(d-gnc:split-get-share-balance s)
  s is a <gnc:Split*>. Returns .
  Return share balance at split.
(gnc:split-get-share-balance s)
  s is a <gnc:Split*>. Returns .
  Return share balance at split.
(gnc:split-get-memo s)
  s is a <gnc:Split*>. Returns .
  Return split's memo.
(gnc:split-get-action s)
  s is a <gnc:Split*>. Returns .
  Return split's action.
(gnc:split-get-reconcile-state s)
  s is a <gnc:Split*>. Returns .
  Return split's reconcile state.
(gnc:split-get-reconciled-date s)
  s is a <gnc:Split*>. Returns .
  Return split's reconciliation date.
(d-gnc:split-get-share-amount s)
  s is a <gnc:Split*>. Returns .
  Return split's share amount. DEPRECATED (use gnc-numeric instead)
(gnc:split-get-share-amount s)
  s is a <gnc:Split*>. Returns .
  Return split's share amount. DEPRECATED (use gnc:split-get-amount instead)
(gnc:split-get-amount s)
  s is a <gnc:Split*>. Returns .
  Return split's amount.
(d-gnc:split-get-share-price s)
  s is a <gnc:Split*>. Returns .
  Return split's share price.
(gnc:split-get-share-price s)
  s is a <gnc:Split*>. Returns .
  Return split's share price.
(d-gnc:split-get-value s)
  s is a <gnc:Split*>. Returns .
  Return split's value.
(gnc:split-get-value s)
  s is a <gnc:Split*>. Returns .
  Return split's value.
(gnc:split-get-account s)
  s is a <gnc:Split*>. Returns <gnc:Account*>.
  Return split's account.
(gnc:split-get-parent s)
  s is a <gnc:Split*>. Returns <gnc:Transaction*>.
  Return the parent transaction of the split.
(gnc:split-get-other-split s)
  s is a <gnc:Split*>. Returns <gnc:Split*>.
  Return the 'other' split of the parent transaction or NULL.
(gnc:split-compare-account-full-names sa sb)
  sa is a <gnc:Split*>, sb is a <gnc:Split*>. Returns .
  Compare two splits on the full names of their parent accounts
(gnc:split-compare-account-codes sa sb)
  sa is a <gnc:Split*>, sb is a <gnc:Split*>. Returns .
  Compare two splits on the codes of their parent accounts
(gnc:split-compare-other-account-full-names sa sb)
  sa is a <gnc:Split*>, sb is a <gnc:Split*>. Returns .
  Compare two splits on the full names of the *other* split in the transaction
(gnc:split-compare-other-account-codes sa sb)
  sa is a <gnc:Split*>, sb is a <gnc:Split*>. Returns .
  Compare two splits on the codes of the *other* split in the transaction
(gnc:split-get-corr-account-name sa)
  sa is a <gnc:Split*>. Returns .
  Find the split on the other side of the transaction, and return the name of its account
(gnc:split-get-corr-account-full-name-internal sa separator)
  sa is a <gnc:Split*>, separator is a . Returns .
  Find the split on the other side of the transaction, and return the name of its account. Don't use directly, use gnc:split-get-corr-account-full-name in src/scm/report-utilities.scm
(gnc:split-get-corr-account-code sa)
  sa is a <gnc:Split*>. Returns .
  Find the split on the other side of the transaction, and return the code of its account
(gnc:transaction-get-split t i)
  t is a <gnc:Transaction*>, i is a . Returns <gnc:Split*>.
  Returns a pointer to each of the splits in this transaction. Valid values for i are zero to (number_of__splits-1). An invalid value of i will cause NULL to be returned. A convenient way of cycling through all splits is to start at zero, and kep incrementing until a null pointer is returned.
(gnc:transaction-get-num t)
  t is a <gnc:Transaction*>. Returns .
  Return the transaction's num, an arbitrary user-assigned field. It is intended to store a short id number, typically the check number, deposit number, invoice number or other tracking number.
(gnc:transaction-get-description t)
  t is a <gnc:Transaction*>. Returns .
  Return the transaction description, an arbitrary user-assigned value. It is meant to be a short descriptive phrase.
(gnc:transaction-get-notes t)
  t is a <gnc:Transaction*>. Returns .
  Return the transaction notes field.
(gnc:dmy2timespec day month year)
  day is a , month is a , year is a . Returns .
  Return a given day, month, and year as a pair where the car is the number of seconds and the cdr is the number of nanoseconds.
(gnc:transaction-get-date-posted t)
  t is a <gnc:Transaction*>. Returns .
  Return the date the transaction was posted at the bank as a pair of integers. The car is the number of seconds and the cdr is the number of nanoseconds.
(gnc:transaction-get-date-entered t)
  t is a <gnc:Transaction*>. Returns .
  Return the date the transaction was entered into the register as a pair of integers. The car is the number of seconds and the cdr is the number of nanoseconds.
(gnc:transaction-set-date-posted t date)
  t is a <gnc:Transaction*>, date is a . Returns .
  Modifies the posted date of the transaction. (Footnote: this shouldn't matter to a user, but anyone modifying the engine should understand that when the transaction is committed, the date order of each of the component splits will be checked, and they will be restored in ascending date order.) The date given should be a pair of integers. The car is the number of seconds and the cdr is the number of nanoseconds.
(gnc:transaction-set-date-entered t date)
  t is a <gnc:Transaction*>, date is a . Returns .
  Modifies entered date of the transaction. The date given should be a pair of integers. The car is the number of seconds and the cdr is the number of nanoseconds.
(gnc:transaction-set-date-today t)
  t is a <gnc:Transaction*>. Returns .
  Sets the posted date of the transaction to today.
(gnc:transaction-get-split-count t)
  t is a <gnc:Transaction*>. Returns .
  Return the number of splits in the transaction.
(gnc:transaction-is-common-currency trans currency)
  trans is a <gnc:Transaction*>, currency is a <gnc:commodity*>. Returns .
  Returns true if the currency is common in the transaction.
(gnc:transaction-get-commodity trans)
  trans is a <gnc:Transaction*>. Returns <gnc:commodity*>.
  Returns the commodity common for this transaction. ATM it gives the same result as xaccTransFindCommonCurrency.
(gnc:malloc-account)
  Returns <gnc:Account*>.
  Allocate a new account structure.
(gnc:account-destroy account)
  account is a <gnc:Account*>. Returns .
  Free an account structure. (Must call gnc:account-begin-edit first)
(gnc:account-begin-edit a)
  a is a <gnc:Account*>. Returns .
  The gnc:account-begin-edit and gnc:account-commit-edit subroutines provide a two-phase-commit wrapper for account updates.
(gnc:account-commit-edit a)
  a is a <gnc:Account*>. Returns .
  The gnc:account-begin-edit and gnc:account-commit-edit subroutines provide a two-phase-commit wrapper for account updates.
(gnc:account-insert-split a s)
  a is a <gnc:Account*>, s is a <gnc:Split*>. Returns .
  Insert the split s into account a. If the split already belongs to another account, it will be removed from that account first.
(gnc:account-fix-split-date-order a s)
  a is a <gnc:Account*>, s is a <gnc:Split*>. Returns .
  Check to see if split s is in proper sorted date order with respect to the other splits in account a.
(gnc:trans-fix-split-date-order t)
  t is a <gnc:Transaction*>. Returns .
  Check to see if all of the splits in transaction t are in proper date order.
(gnc:account-order a1 a2)
  a1 is a <gnc:Account**>, a2 is a <gnc:Account**>. Returns .
  Defines a sorting order on accounts. Returns -1 if a1 is "less than" the second, +1 if the a1 is "greater than" the second, and 0 if they are equal. To determine the sort order, the account codes are compared, and if these are equal, then account types, and, if these are equal, then account names.
(gnc:account-auto-code a digits)
  a is a <gnc:Account*>, digits is a . Returns .
  Assign an automatically * generated account code to the account, if one does not already exist. Account codes will have the indicated number of digits in them. The numbering scheme roughly follows generally accepted accounting practice, in that top-level accounts will be number 100, 200, etc., second level accounts 110, 120, ... 210, 220, ... etc. and third level accounts 111, 112, ... etc.
(gnc:account-set-type a type)
  a is a <gnc:Account*>, type is a . Returns .
  Set Account type. See definition of scheme GNCAccountType for values.
(gnc:account-set-name a name)
  a is a <gnc:Account*>, name is a gw:const. Returns .
  Set account name
(gnc:account-set-code a code)
  a is a <gnc:Account*>, code is a gw:const. Returns .
  Set whatever cryptic code we wish to use as the alternative to the account name. Commonly these codes are numeric, and organize asset accounts together in one number range, liability accounts in another number range, and so forth...
(gnc:account-set-description a description)
  a is a <gnc:Account*>, description is a gw:const. Returns .
  Set a slightly-more-verbose description for the account.
(gnc:account-set-notes a notes)
  a is a <gnc:Account*>, notes is a gw:const. Returns .
  Set up a longer set of notes that provide a perhaps-very-verbose description of the nature of a particular account.
(gnc:account-set-currency a currency)
  a is a <gnc:Account*>, currency is a <gnc:commodity*>. Returns .
  Set the account's currency.
(gnc:account-set-security a security)
  a is a <gnc:Account*>, security is a <gnc:commodity*>. Returns .
  Set the name of the security in which the account is denominated This means that if the account is tracking (say) my holdings of RHAT stock, that will be the currency, and the amount in the account will be the number of shares. The value of that will be estimated as the number of shares times the present trading price.
(gnc:account-set-tax-related a tax-related)
  a is a <gnc:Account*>, tax-related is a . Returns .
  Set the tax-related flag of the account.
(gnc:account-get-type-string type)
  type is a . Returns .
  What's the account type's name.
(gnc:account-get-type a)
  a is a <gnc:Account*>. Returns .
  What's the account type? See scheme GNCAccountType enum def values.
(gnc:account-get-name a)
  a is a <gnc:Account*>. Returns .
  Get the brief name for the account.
(gnc:account-get-code a)
  a is a <gnc:Account*>. Returns .
  Get the account's ``account code.'' Commonly this is used to provide a hierarchy where accounts with similar classifications (e.g. - Assets, Liabilities, Equity, Income, Expenses) are given numeric codes in corresponding ``number ranges.''
(gnc:account-get-description a)
  a is a <gnc:Account*>. Returns .
  Get the slightly-verbose description of the account.
(gnc:account-get-notes a)
  a is a <gnc:Account*>. Returns .
  Get the fully-verbose description of the account.
(gnc:account-get-commodity a)
  a is a <gnc:Account*>. Returns <gnc:commodity*>.
  Get the commodity in which the account is denominated.
(gnc:account-get-currency a)
  a is a <gnc:Account*>. Returns <gnc:commodity*>.
  Get the currency in which the account is denominated. DEPRECATED.
(gnc:account-get-security a)
  a is a <gnc:Account*>. Returns <gnc:commodity*>.
  If set, this indicates the security being tracked as the account balance. DEPRECATED. For instance, I might track my Motorola shares by specifying the security as MOT, and then query the stock price periodically in order to determine the value in $USD.
(gnc:account-get-tax-related a)
  a is a <gnc:Account*>. Returns .
  Get the tax related flag of the account.
(gnc:account-get-tax-US-code a)
  a is a <gnc:Account*>. Returns .
  Get the tax code set on the account.
(gnc:account-get-tax-US-payer-name-source a)
  a is a <gnc:Account*>. Returns .
  Get the tax payer name source set on the account.
(gnc:account-get-price-src a)
  a is a <gnc:Account*>. Returns .
  Get the account's price source, if any.
(gnc:account-get-quote-tz a)
  a is a <gnc:Account*>. Returns .
  Get the quote source's timezone, if any.
(gnc:account-get-share-balance a)
  a is a <gnc:Account*>. Returns .
  Return the number of shares held in a security account.
(gnc:account-get-children a)
  a is a <gnc:Account*>. Returns <gnc:AccountGroup*>.
  Get a pointer to an AccountGroup that represents the set of children to this account.
(gnc:account-get-parent a)
  a is a <gnc:Account*>. Returns <gnc:AccountGroup*>.
  Get the pointer to the account's parent.
(gnc:account-get-parent-account a)
  a is a <gnc:Account*>. Returns <gnc:Account*>.
  Get the pointer to the account's parent account.
(gnc:account-get-balance a)
  a is a <gnc:Account*>. Returns .
  Undocumented.
(gnc:account-get-cleared-balance a)
  a is a <gnc:Account*>. Returns .
  Undocumented.
(gnc:account-get-reconciled-balance a)
  a is a <gnc:Account*>. Returns .
  Undocumented.
(gnc:account-get-split-list a)
  a is a <gnc:Account*>. Returns <glib:GList*>.
  Get the GList of splits in account a.
(gnc:malloc-account-group)
  Returns <gnc:AccountGroup*>.
  Create a newaccount group.
(gnc:free-account-group g)
  g is a <gnc:AccountGroup*>. Returns .
  Free an account group.
(gnc:group-merge-accounts g)
  g is a <gnc:AccountGroup*>. Returns .
  Merge accounts which have the same name and description. Used in importing Quicken files.
(gnc:group-concat-group old new)
  old is a <gnc:AccountGroup*>, new is a <gnc:AccountGroup*>. Returns .
  Catenate accounts from one group into another. Used in Quicken import.
(gnc:group-get-num-subaccounts g)
  g is a <gnc:AccountGroup*>. Returns .
  Return the number of accounts, including subaccounts, in the account group
(gnc:group-get-num-accounts g)
  g is a <gnc:AccountGroup*>. Returns .
  Return the number of accounts in the indicated group only(children not counted).
(gnc:group-get-account g n)
  g is a <gnc:AccountGroup*>, n is a . Returns <gnc:Account*>.
  Return account number n in account group g.
(gnc:get-account-from-full-name g name separator)
  g is a <gnc:AccountGroup*>, name is a gw:const, separator is a . Returns <gnc:Account*>.
  Return account named name in group g. full path with separators.
(gnc:group-get-parent g)
  g is a <gnc:AccountGroup*>. Returns <gnc:Account*>.
  Return the parent acount for the group.
(gnc:group-get-balance g)
  g is a <gnc:AccountGroup*>. Returns .
  Return balance of account group g.
(gnc:group-insert-account g a)
  g is a <gnc:AccountGroup*>, a is a <gnc:Account*>. Returns .
  Add account a to group g.
(gnc:account-insert-subaccount p c)
  p is a <gnc:Account*>, c is a <gnc:Account*>. Returns .
  Add a child account c to parent p
(gnc:group-get-subaccounts g)
  g is a <gnc:AccountGroup*>. Returns <gnc:list-of-account*-caller-owned>.
  Return a GList containing all of the accounts, including subaccounts, in the account group. The returned array should be freed when no longer needed.
(gnc:group-get-account-list g)
  g is a <gnc:AccountGroup*>. Returns <gnc:list-of-account*-callee-owned>.
  Return a GList containing the immediate children of g.
(gnc:group-begin-staged-transaction-traversals group)
  group is a <gnc:AccountGroup*>. Returns .
  Sets things up to begin a sequence of staged traversals.
(gnc:group-staged-transaction-traversal group stage thunk)
  group is a <gnc:AccountGroup*>, stage is a , thunk is a . Returns .
  FIXME: For now, see Group.h for info...
(gnc:account-staged-transaction-traversal account stage thunk)
  account is a <gnc:Account*>, stage is a , thunk is a . Returns .
  FIXME: For now, see Group.h for info...
(gnc:price-create)
  Returns <gnc:Price*>.
  Create and return a new price.
(gnc:price-unref p)
  p is a <gnc:Price*>. Returns .
  Indicate you're finished with this price.
(gnc:price-set-commodity p c)
  p is a <gnc:Price*>, c is a <gnc:commodity*>. Returns .
  Set the price's commodity.
(gnc:price-set-currency p c)
  p is a <gnc:Price*>, c is a <gnc:commodity*>. Returns .
  Set the price's currency.
(gnc:price-set-time p t)
  p is a <gnc:Price*>, t is a . Returns .
  Set the price's time stamp.
(gnc:price-set-source p src)
  p is a <gnc:Price*>, src is a . Returns .
  Set the price's source.
(gnc:price-set-type p type)
  p is a <gnc:Price*>, type is a . Returns .
  Set the price's type.
(gnc:price-set-value p value)
  p is a <gnc:Price*>, value is a . Returns .
  Set the price's value.
(gnc:price-get-value p)
  p is a <gnc:Price*>. Returns .
  Get the price's value
(gnc:price-get-commodity p)
  p is a <gnc:Price*>. Returns <gnc:commodity*>.
  Get the commodity this price is for.
(gnc:price-get-currency p)
  p is a <gnc:Price*>. Returns <gnc:commodity*>.
  Get the currency (commodity) this price's value is denominated in.
(gnc:price-get-time p)
  p is a <gnc:Price*>. Returns .
  Get the time stamp of this price.
(gnc:pricedb-add-price db p)
  db is a <gnc:PriceDB*>, p is a <gnc:Price*>. Returns .
  Add a price to the DB. Unref the price when you're finished with it.
(gnc:pricedb-lookup-latest db commodity currency)
  db is a <gnc:PriceDB*>, commodity is a <gnc:commodity*>, currency is a <gnc:commodity*>. Returns <gnc:Price*>.
  Returns the latest price. Unref the price when you're finished with it.
(gnc:pricedb-lookup-nearest-in-time db commodity currency t)
  db is a <gnc:PriceDB*>, commodity is a <gnc:commodity*>, currency is a <gnc:commodity*>, t is a . Returns <gnc:Price*>.
  Returns the price quote nearest to t. Unref price when finished with it.
(gnc:pricedb-get-prices db commodity currency)
  db is a <gnc:PriceDB*>, commodity is a <gnc:commodity*>, currency is a <gnc:commodity*>. Returns <gnc:list-of-price*>.
  Get all prices for commodity in currency.
(gnc:pricedb-lookup-at-time db commodity currency t)
  db is a <gnc:PriceDB*>, commodity is a <gnc:commodity*>, currency is a <gnc:commodity*>, t is a . Returns <gnc:list-of-price*>.
  Lookup a price at time t.
(gnc:get-current-book)
  Returns <gnc:Book*>.
  Get the current book.
(gnc:book-new)
  Returns <gnc:Book*>.
  Create a new book.
(gnc:book-destroy book)
  book is a <gnc:Book*>. Returns .
  Destroy the given book.
(gnc:book-begin book id ignore-lock? create-if-nonexistent?)
  book is a <gnc:Book*>, id is a gw:const, ignore-lock? is a , create-if-nonexistent? is a . Returns .
  Setup the book for use.
(gnc:book-load book)
  book is a <gnc:Book*>. Returns .
  Load the data associated with the given book.
(gnc:book-save book)
  book is a <gnc:Book*>. Returns .
  Save the data in the book.
(gnc:book-end book)
  book is a <gnc:Book*>. Returns .
  Indicate you're finished with the book.
(gnc:book-get-group book)
  book is a <gnc:Book*>. Returns <gnc:AccountGroup*>.
  Get the book's account group.
(gnc:book-get-commodity-table book)
  book is a <gnc:Book*>. Returns <gnc:commodity-table*>.
  Get the book's commodity table.
(gnc:book-get-pricedb book)
  book is a <gnc:Book*>. Returns <gnc:PriceDB*>.
  Get the book's pricedb.
(gnc:book-get-error book)
  book is a <gnc:Book*>. Returns .
  Check for a pending error.
(gnc:book-pop-error book)
  book is a <gnc:Book*>. Returns .
  Remove an error, if any, from the error stack.
(gnc:file-query-save)
  Returns .
  Query the user whether to save the current file, and save if they say 'Yes'. The return is false if the user says 'Cancel'.
(gnc:file-quit)
  Returns .
  Stop working with the current file.
(gnc:history-get-last)
  Returns .
  Get the last file opened by the user.
(gnc:locale-default-currency)
  Returns <gnc:commodity*>.
  Return the default currency for the current locale.
(gnc:default-currency)
  Returns <gnc:commodity*>.
  Return the default currency set by the user.
(gnc:locale-decimal-places)
  Returns .
  Return the number of decimal places for this locale.
(d-gnc:amount->string-helper amount info)
  amount is a , info is a . Returns .
  Print amount using current locale. The info argument determines formatting details. DEPRECATED.
(gnc:amount->string-helper amount info)
  amount is a , info is a . Returns .
  Print amount using current locale. The info argument determines formatting details.
(gnc:default-print-info use_symbol)
  use_symbol is a . Returns .
  Return the default print info object.
(gnc:commodity-print-info commodity use_symbol)
  commodity is a <gnc:commodity*>, use_symbol is a . Returns .
  Return the default print info for commodity.
(gnc:account-quantity-print-info account use_symbol)
  account is a <gnc:Account*>, use_symbol is a . Returns .
  Return a print info for printing account share quantities.
(gnc:account-value-print-info account use_symbol)
  account is a <gnc:Account*>, use_symbol is a . Returns .
  Return a print info for printing account balance quantities.
(gnc:split-quantity-print-info split use_symbol)
  split is a <gnc:Split*>, use_symbol is a . Returns .
  Return a print info for printing split share quantities.
(gnc:split-value-print-info split use_symbol)
  split is a <gnc:Split*>, use_symbol is a . Returns .
  Return a print info for print split value quantities.
(gnc:default-share-print-info)
  Returns .
  Return a print info for printing generic share quantities.
(gnc:default-price-print-info)
  Returns .
  Return a print info for printing generic price quantities.
(gnc:set-log-level-global level)
  level is a . Returns .
  Set the logging level for all modules to level.
(gnc:print-date date)
  date is a . Returns .
  Returns a string with the date formatted according to the current settings
(gnc:option-refresh-ui option)
  option is a . Returns .
  Refresh the gui option with the current values.
(gnc:option-invoke-callback callback data)
  callback is a , data is a <gw:void*>. Returns .
  Invoke the c option callback on the given data.
(gnc:option-db-register-option db_handle option)
  db_handle is a , option is a . Returns .
  Register the option with the option database db_handle.
(gnc:get-ui-data)
  Returns <gnc:main-info*>.
  Return the main window data structure for the application.
(gnc:get-ui-toplevel)
  Returns .
  Return a top-level window wodget for the application.
(gnc:lowlev-app-init)
  Returns .
  Low-level startup code.
(gnc:ui-is-running?)
  Returns .
  Predicate to determine if the UI is running.
(gnc:ui-is-terminating?)
  Returns .
  Predicate to determine if the UI is in the process of terminating.
(gnc:ui-open-file filename)
  filename is a gw:const. Returns .
  Open filename.
(gnc:ui-select-file)
  Returns .
  Open a UI to select and open a file.
(gnc:show-main-window)
  Returns .
  Show the main window.
(gnc:show-new-user-choice-window)
  Returns .
  Show the new user choice window.
(gnc:start-ui-event-loop)
  Returns .
  Start the UI event loop.
(gnc:ui-main)
  Returns .
  Main procedure for the UI.
(gnc:ui-init)
  Returns .
  Initialize the lower level ui parts.
(gnc:default-ui-start)
  Returns .
  Startup the default UI
(gnc:ui-shutdown)
  Returns .
  Shutdown the UI.
(gnc:ui-destroy)
  Returns .
  Destroy the UI.
(gnc:suspend-gui-refresh)
  Returns .
  Suspend gui refresh events.
(gnc:resume-gui-refresh)
  Returns .
  Resume gui refresh events.
(gnc:error-dialog message)
  message is a gw:const. Returns .
  Show ok dialog box with given error message.
(gnc:verify-dialog message yes_is_default)
  message is a gw:const, yes_is_default is a . Returns .
  Show yes/no dialog box with given message.
(gnc:report-window report-id)
  report-id is a . Returns .
  Show report window
(gnc:report-window-reload wind)
  wind is a <gnc:report-window*>. Returns .
  Force reload of a report window
(gnc:report-window-add-edited-report wind report)
  wind is a <gnc:report-window*>, report is a . Returns .
  Add a report to the list of reports with open editors
(gnc:report-raise-editor report)
  report is a . Returns .
  Raise the report's editor window
(gnc:main-window-open-report report-id top-level)
  report-id is a , top-level is a . Returns .
  Show report window
(gnc:print-report report-id)
  report-id is a . Returns .
  Print a report with dialog support
(gnc:style-sheet-dialog-open)
  Returns .
  Show the style sheet editor window.
(gnc:info-dialog message)
  message is a gw:const. Returns .
  Show ok dialog box with given message.
(gnc:warning-dialog message)
  message is a gw:const. Returns .
  Show warning dialog box with given message.
(gnc:file-selection-dialog title filter default)
  title is a gw:const, filter is a gw:const, default is a gw:const. Returns .
  Lets the user select a file. Dialog has given title, filter, or default name. Either filter, default, or both should be NULL.
(gnc:choose_radio_option_dialog_parented parent title msg default-choice choices)
  parent is a , title is a gw:const, msg is a gw:const, default-choice is a , choices is a . Returns .
  Show a dialog offering different mutually exclusive choices in a radio list.
(gnc:set-option-selectable-by-name section name selectable)
  section is a gw:const, name is a gw:const, selectable is a . Returns .
  Set the appropriate option widget to be selectable or not selectable, depending on if selectable is true or false respectively.
(gnc:option-db-set-option-selectable-by-name guile-options section name selectable)
  guile-options is a , section is a gw:const, name is a gw:const, selectable is a . Returns .
  Set the appropriate option widget to be selectable or not selectable, depending on if selectable is true or false respectively.
(gnc:add-extension extension)
  extension is a . Returns .
(gnc:register-default-font)
  Returns .
  Get the default register font.
(gnc:register-default-hint-font)
  Returns .
  Get the default register hint font.
(gnc:get-current-group)
  Returns <gnc:AccountGroup*>.
  Get the current top-level group.
(gnc:transaction-destroy t)
  t is a <gnc:Transaction*>. Returns .
  Destroys the transaction in question.
(gnc:transaction-begin-edit t)
  t is a <gnc:Transaction*>. Returns .
  Start an edit session on a transaction.
(gnc:transaction-commit-edit t)
  t is a <gnc:Transaction*>. Returns .
  Commit edits to a transaction.
(gnc:transaction-is-open t)
  t is a <gnc:Transaction*>. Returns .
  Returns true if the transaction t is open for editing.
(gnc:split-destroy s)
  s is a <gnc:Split*>. Returns .
  Destroys the split in question. Probably only useful inside the context of having a parent transaction with which one is working...
(gnc:transaction-append-split t s)
  t is a <gnc:Transaction*>, s is a <gnc:Split*>. Returns .
  Adds a split to a transaction.
(gnc:transaction-set-date t day month year)
  t is a <gnc:Transaction*>, day is a , month is a , year is a . Returns .
  Set date on transaction based on day, month, year values
(gnc:transaction-set-date-time-pair t date)
  t is a <gnc:Transaction*>, date is a . Returns .
  Set date on transaction based on the time-pair
(gnc:transaction-set-xnum t xnum)
  t is a <gnc:Transaction*>, xnum is a gw:const. Returns .
  Set the XNUM - e.g. - cheque number or other identifier
(gnc:transaction-set-description t desc)
  t is a <gnc:Transaction*>, desc is a gw:const. Returns .
  Set the transaction description.
(gnc:transaction-set-notes t notes)
  t is a <gnc:Transaction*>, notes is a gw:const. Returns .
  Set the transaction notes field.
(gnc:transaction-create)
  Returns <gnc:Transaction*>.
  Create a Transaction structure
(gnc:split-create)
  Returns <gnc:Split*>.
  Create a Split structure
(gnc:split-set-value s amount)
  s is a <gnc:Split*>, amount is a . Returns .
  Set value for split
(gnc:split-set-base-value s amount currency)
  s is a <gnc:Split*>, amount is a , currency is a <gnc:commodity*>. Returns .
  Set value for split with currency
(gnc:split-set-memo s memo)
  s is a <gnc:Split*>, memo is a gw:const. Returns .
  Set memo for a split
(gnc:split-set-action s action)
  s is a <gnc:Split*>, action is a gw:const. Returns .
  Set Action for a split.
(gnc:split-set-reconcile s value)
  s is a <gnc:Split*>, value is a . Returns .
  Set reconcile state for split entry
(d-gnc:split-set-share-price s value)
  s is a <gnc:Split*>, value is a . Returns .
  Set share price for split entry
(gnc:split-set-share-price s value)
  s is a <gnc:Split*>, value is a . Returns .
  Set share price for split entry
(gnc:split-set-share-amount s value)
  s is a <gnc:Split*>, value is a . Returns .
  Set number of shares for split entry. DEPRECATED, use gnc:split-set-amount instead.
(gnc:split-set-amount s value)
  s is a <gnc:Split*>, value is a . Returns .
  Set amount for split entry
(gnc:split-set-share-price-and-amount s price amount)
  s is a <gnc:Split*>, price is a , amount is a . Returns .
  Set the share price and amount for split entry
(gnc:split-get-slots s)
  s is a <gnc:Split*>. Returns <gnc:kvp-frame*>.
  Get the split's slots.
(gnc:transaction-get-slots s)
  s is a <gnc:Transaction*>. Returns <gnc:kvp-frame*>.
  Get the transaction's slots.
(gnc:account-get-slots s)
  s is a <gnc:Account*>. Returns <gnc:kvp-frame*>.
  Get the account's slots.
(gnc:gettext-helper string)
  string is a gw:const. Returns .
  Returns the translated version of string
(gnc:print-session-create)
  Returns <gnc:PrintSession*>.
  Start a new print session.
(gnc:print-session-destroy p)
  p is a <gnc:PrintSession*>. Returns .
  Free a print session's resources
(gnc:print-session-moveto p x y)
  p is a <gnc:PrintSession*>, x is a , y is a . Returns .
  Move the current point
(gnc:print-session-text p text)
  p is a <gnc:PrintSession*>, text is a gw:const. Returns .
  Show some text in Courier 16
(gnc:print-session-done p)
  p is a <gnc:PrintSession*>. Returns .
  Let the print context know you're finished with it.
(gnc:print-session-print p)
  p is a <gnc:PrintSession*>. Returns .
  Show the GNOME print dialog to start printing.
(gnc:print-check-dialog-create callback)
  callback is a . Returns <gnc:PrintCheckDialog*>.
  Pop up a dialog to set up printing a check.
(gnc:is-euro-currency currency)
  currency is a <gnc:commodity*>. Returns .
  Check if a given currency is a EURO currency
(gnc:convert-to-euro currency value)
  currency is a <gnc:commodity*>, value is a . Returns .
  Convert the value from the given currency to EURO
(gnc:convert-from-euro currency value)
  currency is a <gnc:commodity*>, value is a . Returns .
  Convert the value from EURO to the given currency
(gnc:euro-currency-get-rate currency)
  currency is a <gnc:commodity*>. Returns .
  Returns the exchange rate from the given currency to EURO
(gnc:get-euro)
  Returns <gnc:commodity*>.
  Returns the commodity EURO
(gnc:budget-dialog-create budget apply_func)
  budget is a , apply_func is a . Returns <gnc:BudgetDialog*>.
  Create a budget dialog using the given budget. The apply_func is called when the user clicks 'Ok' or 'Apply'.
(gnc:ui-totd-dialog-create-and-run)
  Returns .
  Create and run the "Tip Of The Day" dialog
(gnc:account-reverse-balance? account)
  account is a <gnc:Account*>. Returns .
  Given an account, find out whether the balance should be reversed for display
(gnc:malloc-query)
  Returns <gnc:Query*>.
  Create a new (empty) Query structure.
(gnc:free-query q)
  q is a <gnc:Query*>. Returns .
  Delete the Query and its terms.
(gnc:query-set-group q group)
  q is a <gnc:Query*>, group is a <gnc:AccountGroup*>. Returns .
  Set the account-group that a query pertains to.
(gnc:query-invert q)
  q is a <gnc:Query*>. Returns <gnc:Query*>.
  Logically invert a Query (returns a newly-allocated Query object)
(gnc:query-merge q1 q2 qop)
  q1 is a <gnc:Query*>, q2 is a <gnc:Query*>, qop is a . Returns <gnc:Query*>.
  Merge two queries (returns a newly allocated object
(gnc:query-clear q)
  q is a <gnc:Query*>. Returns .
  Clear the terms from a query object
(gnc:query-purge-terms q tt)
  q is a <gnc:Query*>, tt is a . Returns .
  Remove query terms of a particular type.
(gnc:query-has-terms? q)
  q is a <gnc:Query*>. Returns .
  Check if a Query is clear or has terms.
(gnc:query-get-splits q)
  q is a <gnc:Query*>. Returns <glib:GList*>.
  Return a list of splits matching the Query.
(gnc:query-get-splits-unique-trans q)
  q is a <gnc:Query*>. Returns <glib:GList*>.
  Return a list of splits matching the Query, but at most one per transaction
(gnc:query-get-transactions q rt)
  q is a <gnc:Query*>, rt is a . Returns <glib:GList*>.
  Find transactions with splits matching the Query.
(gnc:query-add-account-match q accts acctmatch how)
  q is a <gnc:Query*>, accts is a <glib:GList*>, acctmatch is a , how is a . Returns .
  Match one or all of a set of accounts.
(gnc:query-add-single-account-match q acct how)
  q is a <gnc:Query*>, acct is a <gnc:Account*>, how is a . Returns .
  Match a single account.
(gnc:query-add-description-match q mstring case-sens use-regexp how)
  q is a <gnc:Query*>, mstring is a gw:const, case-sens is a , use-regexp is a , how is a . Returns .
  Match transaction description.
(gnc:query-add-number-match q mstring case-sens use-regexp how)
  q is a <gnc:Query*>, mstring is a gw:const, case-sens is a , use-regexp is a , how is a . Returns .
  Match the Number field.
(gnc:query-add-action-match q mstring case-sens use-regexp how)
  q is a <gnc:Query*>, mstring is a gw:const, case-sens is a , use-regexp is a , how is a . Returns .
  Match the Action field (a string).
(d-gnc:query-add-amount-match q amount sgn mhow how)
  q is a <gnc:Query*>, amount is a , sgn is a , mhow is a , how is a . Returns .
  Match the amount (including inequalities)
(d-gnc:query-add-share-price-match q amount mhow how)
  q is a <gnc:Query*>, amount is a , mhow is a , how is a . Returns .
  Match the share price (including inequalities)
(d-gnc:query-add-shares-match q amount mhow how)
  q is a <gnc:Query*>, amount is a , mhow is a , how is a . Returns .
  Match the share price (ncluding inequalities)
(gnc:query-add-date-match q use-start st-year st-mon st-day use-end end-year end-mon end-day how)
  q is a <gnc:Query*>, use-start is a , st-year is a , st-mon is a , st-day is a , use-end is a , end-year is a , end-mon is a , end-day is a , how is a . Returns .
  Match the transaction date.
(gnc:query-add-date-match-timepair q use-start start use-end end how)
  q is a <gnc:Query*>, use-start is a , start is a , use-end is a , end is a , how is a . Returns .
  Match the transaction date.
(gnc:query-add-memo-match q mstring case-sens use-regexp how)
  q is a <gnc:Query*>, mstring is a gw:const, case-sens is a , use-regexp is a , how is a . Returns .
  Match the Number field.
(gnc:query-add-cleared-match q cleared-how how)
  q is a <gnc:Query*>, cleared-how is a , how is a . Returns .
  match the cleared state.
(gnc:query-set-sort-order q primary secondary tertiary)
  q is a <gnc:Query*>, primary is a , secondary is a , tertiary is a . Returns .
  set sort order.
(gnc:query-set-sort-increasing q prim-increasing sec-increasing tert-increasing)
  q is a <gnc:Query*>, prim-increasing is a , sec-increasing is a , tert-increasing is a . Returns .
  sort in increasing rather than decreasing order.
(gnc:query-set-max-splits q n)
  q is a <gnc:Query*>, n is a . Returns .
  Set the max number of splits to be returned by a query.
(gnc:query->scm q)
  q is a <gnc:Query*>. Returns .
  Convert a query to an scm representation.
(gnc:scm->query query_scm)
  query_scm is a . Returns <gnc:Query*>.
  Convert an scm representation of a query to a real query.
(gnc:commodity-create fullname namespace mnemonic exchange-code smallest-fraction)
  fullname is a gw:const, namespace is a gw:const, mnemonic is a gw:const, exchange-code is a gw:const, smallest-fraction is a . Returns <gnc:commodity*>.
  Create a new gnc_commodity object.
(gnc:commodity-destroy comm)
  comm is a <gnc:commodity*>. Returns .
  Delete a gnc_commodity structure.
(gnc:commodity-get-mnemonic comm)
  comm is a <gnc:commodity*>. Returns .
  Get the mnemonic (ISO 3-letter string, ticker symbol, etc)
(gnc:commodity-get-namespace comm)
  comm is a <gnc:commodity*>. Returns .
  Get the mnemonic's namespace (ISO-4217, NASDAQ, NYSE, etc)
(gnc:commodity-get-printname comm)
  comm is a <gnc:commodity*>. Returns .
  Get the currency's printable name .. 'USD (US Dollars)'
(gnc:commodity-get-fullname comm)
  comm is a <gnc:commodity*>. Returns .
  Get the currency's full name (US Dollars).
(gnc:commodity-get-exchange-code comm)
  comm is a <gnc:commodity*>. Returns .
  Get the exchange code (ISO numeric code)
(gnc:commodity-get-fraction comm)
  comm is a <gnc:commodity*>. Returns .
  Get the number of smallest transactional units per unit of the currency
(gnc:commodity-equiv? comm1 comm2)
  comm1 is a <gnc:commodity*>, comm2 is a <gnc:commodity*>. Returns .
  Return true if the two commodities are equivalent.
(gnc:commodity-table-lookup table namespace mnemonic)
  table is a <gnc:commodity-table*>, namespace is a gw:const, mnemonic is a gw:const. Returns <gnc:commodity*>.
  Find a known gnc_commodity structure.
(gnc:commodity-table-find-full table namespace printname)
  table is a <gnc:commodity-table*>, namespace is a gw:const, printname is a gw:const. Returns <gnc:commodity*>.
  Find a gnc_commodity structure from its printable name.
(gnc:commodity-table-insert table commodity)
  table is a <gnc:commodity-table*>, commodity is a <gnc:commodity*>. Returns <gnc:commodity*>.
  Add a commodity to the table.
(gnc:commodity-table-has-namespace table namespace)
  table is a <gnc:commodity-table*>, namespace is a gw:const. Returns .
  Predicate to test for existence of a namespace.
(gnc:commodity-table-get-namespaces table)
  table is a <gnc:commodity-table*>. Returns .
  Return a list of all the namespaces in the table.
(gnc:commodity-table-add-namespace table namespace)
  table is a <gnc:commodity-table*>, namespace is a gw:const. Returns .
  Add a new namespace to the commodity table
(gnc:commodity-table-delete-namespace table namespace)
  table is a <gnc:commodity-table*>, namespace is a gw:const. Returns .
  Delete a namespace from the commodity table
(gnc:commodity-table-get-commodities table namespace)
  table is a <gnc:commodity-table*>, namespace is a gw:const. Returns <gnc:list-of-commodity*>.
  Return a list of all the namespaces in the table.
(gnc:import-legacy-commodities filename)
  filename is a gw:const. Returns .
  Launch the legacy-commodity import druid
(gnc:engine-commodities)
  Returns <gnc:commodity-table*>.
  Get the engine's list of known commodity types.
(gnc:engine-shutdown)
  Returns .
  Shutdown the gnucash engine.
(gnc:progress-dialog-new parent use_ok_button)
  parent is a , use_ok_button is a . Returns <gnc:ProgressDialog*>.
  Create and return a progress dialog. The parent may be NULL.
(gnc:progress-dialog-set-title progress title)
  progress is a <gnc:ProgressDialog*>, title is a gw:const. Returns .
  Set the title of 'progress' to 'title'.
(gnc:progress-dialog-set-heading progress heading)
  progress is a <gnc:ProgressDialog*>, heading is a gw:const. Returns .
  Set the heading of 'progress' to 'heading'.
(gnc:progress-dialog-set-limits progress min max)
  progress is a <gnc:ProgressDialog*>, min is a , max is a . Returns .
  Set the mininum and maximum range of 'progress'.
(gnc:progress-dialog-set-activity-mode progress activity-mode)
  progress is a <gnc:ProgressDialog*>, activity-mode is a . Returns .
  Set the mininum and maximum range of 'progress'.
(gnc:progress-dialog-set-cancel-scm-func progress cancel_func)
  progress is a <gnc:ProgressDialog*>, cancel_func is a . Returns .
  Set the guile cancel callback function. This callback is invoked with no arguments when the user hits the cancel button. If the callback returns #t, the dialog is closed, but not destroyed.
(gnc:progress-dialog-set-value progress value)
  progress is a <gnc:ProgressDialog*>, value is a . Returns .
  Set the value of the progress dialog to 'value'.
(gnc:progress-dialog-update progress)
  progress is a <gnc:ProgressDialog*>. Returns .
  Update the progress bar, calling any pending cancel callback.
(gnc:progress-dialog-finish progress)
  progress is a <gnc:ProgressDialog*>. Returns .
  Set the progress dialog to the finished state. The OK button becomes sensitive and the dialog closes after the user clicks it.
(gnc:progress-dialog-destroy progress)
  progress is a <gnc:ProgressDialog*>. Returns .
  Destroy the progess dialog. You must call this function in order to destroy the dialog. The dialog will not be destroyed by the user closing the window.
(gnc:numeric-create num denom)
  num is a , denom is a . Returns .
  Create a new gnc_numeric object
(gnc:numeric-zero)
  Returns .
  Create a zero-valued gnc_numeric
(gnc:numeric-error code)
  code is a . Returns .
  Create an error-signaling gnc_numeric
(gnc:numeric-check val)
  val is a . Returns .
  Check for error code in a gnc_numeric
(gnc:numeric-num arg)
  arg is a . Returns .
  Return the numerator of a gnc_numeric
(gnc:numeric-denom arg)
  arg is a . Returns .
  Return the denominator of a gnc_numeric
(gnc:numeric-zero-p arg)
  arg is a . Returns .
  Check for zero.
(gnc:numeric-compare arg1 arg2)
  arg1 is a , arg2 is a . Returns .
  Compare 2 gnc_numeric (1 if a>b, 0 if a==b, -1 if a<b)
(gnc:numeric-negative-p arg)
  arg is a . Returns .
  Check for arg < 0
(gnc:numeric-positive-p arg)
  arg is a . Returns .
  Check for arg > 0
(gnc:numeric-eq arg1 arg2)
  arg1 is a , arg2 is a . Returns .
  Check for arg1 exactly arg2
(gnc:numeric-equal arg1 arg2)
  arg1 is a , arg2 is a . Returns .
  Check for arg1 same number as arg2
(gnc:numeric-same arg1 arg2 denom how)
  arg1 is a , arg2 is a , denom is a , how is a . Returns .
  Check for arg1 same number as arg2 if converted to common denom
(gnc:numeric-add arg1 arg2 denom how)
  arg1 is a , arg2 is a , denom is a , how is a . Returns .
  Return a+b
(gnc:numeric-sub arg1 arg2 denom how)
  arg1 is a , arg2 is a , denom is a , how is a . Returns .
  Return a-b
(gnc:numeric-mul arg1 arg2 denom how)
  arg1 is a , arg2 is a , denom is a , how is a . Returns .
  Return a*b
(gnc:numeric-div arg1 arg2 denom how)
  arg1 is a , arg2 is a , denom is a , how is a . Returns .
  Return a/b
(gnc:numeric-neg arg)
  arg is a . Returns .
  Return -a
(gnc:numeric-abs arg)
  arg is a . Returns .
  Return |a|
(gnc:numeric-add-fixed arg1 arg2)
  arg1 is a , arg2 is a . Returns .
  Return a+b under strict fixed-denom rules
(gnc:numeric-sub-fixed arg1 arg2)
  arg1 is a , arg2 is a . Returns .
  Return a-b under strict fixed-denom rules
(gnc:numeric-convert arg denom how)
  arg is a , denom is a , how is a . Returns .
  Convert a gnc_numeric to a new denominator
(gnc:double-to-gnc-numeric in denom how)
  in is a , denom is a , how is a . Returns .
  Convert to gnc_numeric
(gnc:numeric-to-double in)
  in is a . Returns .
  Convert gnc_numeric to double
(gnc:numeric-to-string arg)
  arg is a . Returns .
  Convert gnc_numeric to a printable string
(gnc:run-rpc-server)
  Returns .
  Run the RPC Server
(gnc:default-options-editor options report)
  options is a , report is a . Returns .
  Default options editor window for reports
(gnc:column-view-edit-options options view)
  options is a , view is a . Returns .
  Create an editor for a column-view options object
(gnc:main-window-can-save? mi)
  mi is a <gnc:main-info*>. Returns .
  Return true if the MDI window configuration can be saved
(gnc:main-window-save mi bookname)
  mi is a <gnc:main-info*>, bookname is a . Returns .
  Save the MDI window configuration for the specified book
(gnc:main-window-restore mi bookname)
  mi is a <gnc:main-info*>, bookname is a gw:const. Returns .
  Restore MDI window configuration for the specified book
(gnc:main-window-close-children mi)
  mi is a <gnc:main-info*>. Returns .
  Close child windows.
(gnc:timepair-canonical-day-time tp)
  tp is a . Returns .
  Convert a timepair on a certain day (localtime) tothe timepair representing midday on that day
(gnc:html-encode-string bookname)
  bookname is a gw:const. Returns .