GnuCash
2.6.99
|
Files | |
file | gnc-plugin-page-invoice.h |
utility functions for the GnuCash UI | |
Data Structures | |
struct | GncPluginPageInvoice |
struct | GncPluginPageInvoiceClass |
Macros | |
#define | GNC_TYPE_PLUGIN_PAGE_INVOICE (gnc_plugin_page_invoice_get_type ()) |
#define | GNC_PLUGIN_PAGE_INVOICE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GNC_TYPE_PLUGIN_PAGE_INVOICE, GncPluginPageInvoice)) |
#define | GNC_PLUGIN_PAGE_INVOICE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GNC_TYPE_PLUGIN_PAGE_INVOICE, GncPluginPageInvoiceClass)) |
#define | GNC_IS_PLUGIN_PAGE_INVOICE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GNC_TYPE_PLUGIN_PAGE_INVOICE)) |
#define | GNC_IS_PLUGIN_PAGE_INVOICE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GNC_TYPE_PLUGIN_PAGE_INVOICE)) |
#define | GNC_PLUGIN_PAGE_INVOICE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GNC_TYPE_PLUGIN_PAGE_INVOICE, GncPluginPageInvoiceClass)) |
#define | GNC_PLUGIN_PAGE_INVOICE_NAME "GncPluginPageInvoice" |
Functions | |
GType | gnc_plugin_page_invoice_get_type (void) |
GncPluginPage * | gnc_plugin_page_invoice_new (InvoiceWindow *iw) |
void | gnc_plugin_page_invoice_update_menus (GncPluginPage *page, gboolean is_posted, gboolean can_unpost) |
void | gnc_plugin_page_invoice_update_title (GncPluginPage *page) |
GType gnc_plugin_page_invoice_get_type | ( | void | ) |
Retrieve the type number for an "invoice" plugin page.
Definition at line 294 of file gnc-plugin-page-invoice.c.
GncPluginPage* gnc_plugin_page_invoice_new | ( | InvoiceWindow * | iw | ) |
Create a new "invoice" plugin page, given a pointer to an InvoiceWindow data structure. This structure is used to describe both the "invoice entry" page in a window, and also to describe the New Invoice dialog.
iw | A pointer to the invoice to be embedded into a main window. |
Definition at line 322 of file gnc-plugin-page-invoice.c.
void gnc_plugin_page_invoice_update_menus | ( | GncPluginPage * | page, |
gboolean | is_posted, | ||
gboolean | can_unpost | ||
) |
Update the menu items associated with this invoice page. This function should be called whenever the posted state of an invoice is changed.
page | A pointer invoice page. |
is_posted | Set this to TRUE if the invoice has been posted. |
can_unpost | Set this to TRUE if the invoice can be un-posted. |
Definition at line 419 of file gnc-plugin-page-invoice.c.
void gnc_plugin_page_invoice_update_title | ( | GncPluginPage * | page | ) |
Update the title associated with this invoice page. This function should be called whenever the name on an invoice is changed.
page | A pointer invoice page. |
Definition at line 953 of file gnc-plugin-page-invoice.c.