GnuCash
2.6.99
|
A custom widget for selecting accounting periods. More...
#include "config.h"
#include <gtk/gtk.h>
#include <glib/gi18n.h>
#include "gnc-date.h"
#include "gnc-period-select.h"
#include "gnc-prefs.h"
#include <gnc-gdate-utils.h>
Go to the source code of this file.
Data Structures | |
struct | _GncPeriodSelectPrivate |
Macros | |
#define | GNC_PERIOD_SELECT_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), GNC_TYPE_PERIOD_SELECT, GncPeriodSelectPrivate)) |
Typedefs | |
typedef struct _GncPeriodSelectPrivate | GncPeriodSelectPrivate |
Enumerations | |
enum | { PROP_0, PROP_FY_END, PROP_SHOW_DATE, PROP_DATE_BASE, PROP_PS_ACTIVE } |
enum | { CHANGED, LAST_SIGNAL } |
Functions | |
void | gnc_period_select_set_active (GncPeriodSelect *period, GncAccountingPeriod which) |
GncAccountingPeriod | gnc_period_select_get_active (GncPeriodSelect *period) |
GDate * | gnc_period_select_get_date (GncPeriodSelect *period) |
GncPeriodSelect Core Implementation | |
GType | gnc_period_select_get_type (void) |
GtkWidget * | gnc_period_select_new (gboolean starting_labels) |
GtkWidget * | gnc_period_select_new_glade (gchar *widget_name, gchar *string1, gchar *string2, gint int1, gint int2) |
GncPeriodSelect Properties | |
GDate * | gnc_period_select_get_fy_end (GncPeriodSelect *period) |
void | gnc_period_select_set_fy_end (GncPeriodSelect *period, const GDate *fy_end) |
gboolean | gnc_period_select_get_show_date (GncPeriodSelect *period) |
void | gnc_period_select_set_show_date (GncPeriodSelect *period, const gboolean show_date) |
GDate * | gnc_period_select_get_date_base (GncPeriodSelect *period) |
void | gnc_period_select_set_date_base (GncPeriodSelect *period, const GDate *date_base) |
Variables | |
const gchar * | start_strings [GNC_ACCOUNTING_PERIOD_LAST] |
const gchar * | end_strings [GNC_ACCOUNTING_PERIOD_LAST] |
A custom widget for selecting accounting periods.
Definition in file gnc-period-select.c.