|
GnuCash
5.6-150-g038405b370+
|
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 "dialog-utils.h"Go to the source code of this file.
Data Structures | |
| struct | _GncPeriodSelect |
| Private Data Structure. More... | |
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) |
| Set which item in the GncPeriodSelect is initially selected. More... | |
| GncAccountingPeriod | gnc_period_select_get_active (GncPeriodSelect *period) |
| Get the currently selected accounting period from a GncPeriodSelect widget. More... | |
| GDate * | gnc_period_select_get_date (GncPeriodSelect *period) |
| Get the currently selected accounting period choice from a GncPeriodSelect widget. More... | |
GncPeriodSelect Core Implementation | |
| GtkWidget * | gnc_period_select_new (gboolean starting_labels) |
| Create a new GncPeriodSelect widget which is used to select a accounting period like "previous month" or "this year". More... | |
| GtkWidget * | gnc_period_select_new_glade (gchar *widget_name, gchar *string1, gchar *string2, gint int1, gint int2) |
| Create a new GncPeriodSelect widget from a glade file. More... | |
GncPeriodSelect Properties | |
| GDate * | gnc_period_select_get_fy_end (GncPeriodSelect *period) |
| Get the current value of the fiscal year end setting from a GncPeriodSelect widget. More... | |
| void | gnc_period_select_set_fy_end (GncPeriodSelect *period, const GDate *fy_end) |
| Set the fiscal year end on a GncPeriodSelect widget. More... | |
| gboolean | gnc_period_select_get_show_date (GncPeriodSelect *period) |
| Get the current value of the "show sample" setting from a GncPeriodSelect widget. | |
| void | gnc_period_select_set_show_date (GncPeriodSelect *period, const gboolean show_date) |
| Set the "show sample" setting on a GncPeriodSelect widget. More... | |
| 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.
1.8.14