GnuCash 2.4.99
Data Structures | Defines | Typedefs | Enumerations | Functions | Variables
gnc-period-select.c File Reference

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-gconf-utils.h"
#include "gnc-period-select.h"

Go to the source code of this file.

Data Structures

struct  _GncPeriodSelectPrivate

Defines

#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 }
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)
time_t gnc_period_select_get_time (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 Widget Implementation
void gnc_period_select_changed (GncPeriodSelect *period)
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]

Detailed Description

A custom widget for selecting accounting periods.

Author:
David Hampton <hampton@employees.org>

Definition in file gnc-period-select.c.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines