GnuCash  5.6-150-g038405b370+
Macros | Functions
assistant-csv-account-import.c File Reference

CSV Import Assistant. More...

#include <config.h>
#include <gtk/gtk.h>
#include <glib/gi18n.h>
#include "dialog-utils.h"
#include "gnc-ui.h"
#include "gnc-uri-utils.h"
#include "gnc-ui-util.h"
#include "gnc-component-manager.h"
#include "assistant-csv-account-import.h"
#include "csv-account-import.h"

Go to the source code of this file.

Macros

#define GNC_PREFS_GROUP   "dialogs.import.csv"
 
#define ASSISTANT_CSV_IMPORT_CM_CLASS   "assistant-csv-account-import"
 
#define CREATE_COLUMN(description, column_id)
 

Functions

void csv_import_assistant_prepare (GtkAssistant *assistant, GtkWidget *page, gpointer user_data)
 
void csv_import_assistant_finish (GtkAssistant *gtkassistant, gpointer user_data)
 
void csv_import_assistant_cancel (GtkAssistant *gtkassistant, gpointer user_data)
 
void csv_import_assistant_close (GtkAssistant *gtkassistant, gpointer user_data)
 
void csv_import_assistant_start_page_prepare (GtkAssistant *gtkassistant, gpointer user_data)
 
void csv_import_assistant_account_page_prepare (GtkAssistant *gtkassistant, gpointer user_data)
 
void csv_import_assistant_file_page_prepare (GtkAssistant *assistant, gpointer user_data)
 
void csv_import_assistant_finish_page_prepare (GtkAssistant *assistant, gpointer user_data)
 
void csv_import_assistant_summary_page_prepare (GtkAssistant *assistant, gpointer user_data)
 
void csv_import_sep_cb (GtkWidget *radio, gpointer user_data)
 
void csv_import_hrows_cb (GtkWidget *spin, gpointer user_data)
 
void csv_import_file_chooser_file_activated_cb (GtkFileChooser *chooser, CsvImportInfo *info)
 
void csv_import_file_chooser_selection_changed_cb (GtkFileChooser *chooser, CsvImportInfo *info)
 
void gnc_file_csv_account_import (void)
 The gnc_file_csv_account_import() will let the user import accounts from a delimited file.
 

Detailed Description

CSV Import Assistant.

Author
Copyright (c) 2012 Robert Fewell

Definition in file assistant-csv-account-import.c.

Macro Definition Documentation

◆ CREATE_COLUMN

#define CREATE_COLUMN (   description,
  column_id 
)
Value:
renderer = gtk_cell_renderer_text_new (); \
mnemonic_desc = mnemonic_escape (_(description)); \
column = gtk_tree_view_column_new_with_attributes (mnemonic_desc, renderer, "text", column_id, NULL); \
gtk_tree_view_column_add_attribute (column, renderer, "background", ROW_COLOR); \
gtk_tree_view_column_set_resizable (column, TRUE); \
gtk_tree_view_append_column (GTK_TREE_VIEW(info->tree_view), column); \
g_free (mnemonic_desc);