GnuCash
2.6.99
|
Files | |
file | gnc-currency-edit.c |
Currency selection widget. | |
file | gnc-currency-edit.h |
Currency selection widget. | |
Data Structures | |
struct | _GNCCurrencyEditPrivate |
struct | GNCCurrencyEdit |
struct | GNCCurrencyEditClass |
Macros | |
#define | GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), GNC_TYPE_CURRENCY_EDIT, GNCCurrencyEditPrivate)) |
Typedefs | |
typedef struct _GNCCurrencyEditPrivate | GNCCurrencyEditPrivate |
Basic Object Implementation | |
enum | { PROP_0, PROP_GCE_MNEMONIC, N_PROPERTIES } |
GType | gnc_currency_edit_get_type (void) |
GtkWidget * | gnc_currency_edit_new (void) |
Get/Set Functions | |
void | gnc_currency_edit_set_currency (GNCCurrencyEdit *gce, const gnc_commodity *currency) |
gnc_commodity * | gnc_currency_edit_get_currency (GNCCurrencyEdit *gce) |
Basic Object Implementation | |
#define | GNC_TYPE_CURRENCY_EDIT (gnc_currency_edit_get_type()) |
#define | GNC_CURRENCY_EDIT(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GNC_TYPE_CURRENCY_EDIT, GNCCurrencyEdit)) |
#define | GNC_CURRENCY_EDIT_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GNC_TYPE_CURRENCY_EDIT, GNCCurrencyEditClass)) |
#define | GNC_IS_CURRENCY_EDIT(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GNC_TYPE_CURRENCY_EDIT)) |
typedef struct _GNCCurrencyEditPrivate GNCCurrencyEditPrivate |
The instance private data for a content plugin.
gnc_commodity * gnc_currency_edit_get_currency | ( | GNCCurrencyEdit * | gce | ) |
Retrieve the displayed currency of the widget.
gce | The currency editor widget whose values should be retrieved. |
Definition at line 427 of file gnc-currency-edit.c.
GType gnc_currency_edit_get_type | ( | void | ) |
Return the GType for the GNCCurrencyEdit currency selection widget.
Definition at line 100 of file gnc-currency-edit.c.
GtkWidget * gnc_currency_edit_new | ( | void | ) |
Create a new GNCCurrencyEdit widget which can be used to provide an easy way to enter ISO currency codes.
Definition at line 365 of file gnc-currency-edit.c.
void gnc_currency_edit_set_currency | ( | GNCCurrencyEdit * | gce, |
const gnc_commodity * | currency | ||
) |
Set the widget to display a certain currency name.
gce | The currency editor widget to set. |
currency | The currency to set as the displayed/selected value of the widget. |
Definition at line 405 of file gnc-currency-edit.c.