GnuCash  4.9-165-gc1c198c9f
Data Structures | Macros | Functions
A SX List Plugin Page

Data Structures

struct  GncPluginPageSxListPrivate
 
struct  GncPluginPageSxList
 
struct  GncPluginPageSxListClass
 

Macros

#define G_LOG_DOMAIN   "gnc.gui.plugin-page.sx-list"
 Functions providing the SX List as a plugin page. More...
 
#define PLUGIN_PAGE_SX_LIST_CM_CLASS   "plugin-page-sx-list"
 
#define STATE_SECTION   "SX Transaction List"
 
#define GNC_PLUGIN_PAGE_SX_LIST_GET_PRIVATE(o)   ((GncPluginPageSxListPrivate*)g_type_instance_get_private ((GTypeInstance*)o, GNC_TYPE_PLUGIN_PAGE_SX_LIST))
 
#define GNC_TYPE_PLUGIN_PAGE_SX_LIST   (gnc_plugin_page_sx_list_get_type ())
 Functions providing a list of scheduled transactions as a plugin page. More...
 
#define GNC_PLUGIN_PAGE_SX_LIST(obj)   (G_TYPE_CHECK_INSTANCE_CAST((obj), GNC_TYPE_PLUGIN_PAGE_SX_LIST, GncPluginPageSxList))
 
#define GNC_PLUGIN_PAGE_SX_LIST_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST((klass), GNC_TYPE_PLUGIN_PAGE_SX_LIST, GncPluginPageSxListClass))
 
#define GNC_IS_PLUGIN_PAGE_SX_LIST(obj)   (G_TYPE_CHECK_INSTANCE_TYPE((obj), GNC_TYPE_PLUGIN_PAGE_SX_LIST))
 
#define GNC_IS_PLUGIN_PAGE_SX_LIST_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE((klass), GNC_TYPE_PLUGIN_PAGE_SX_LIST))
 
#define GNC_PLUGIN_PAGE_SX_LIST_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS((obj), GNC_TYPE_PLUGIN_PAGE_SX_LIST, GncPluginPageSxListClass))
 
#define GNC_PLUGIN_PAGE_SX_LIST_NAME   "GncPluginPageSxList"
 

Functions

GncPluginPagegnc_plugin_page_sx_list_new (void)
 
GType gnc_plugin_page_sx_list_get_type (void)
 Retrieve the type number for an "sx list" plugin page. More...
 

Detailed Description

Macro Definition Documentation

◆ G_LOG_DOMAIN

#define G_LOG_DOMAIN   "gnc.gui.plugin-page.sx-list"

Functions providing the SX List as a plugin page.

Author
Josh Sled jsled.nosp@m.@asy.nosp@m.nchro.nosp@m.nous.nosp@m..org

Definition at line 79 of file gnc-plugin-page-sx-list.c.

◆ GNC_TYPE_PLUGIN_PAGE_SX_LIST

#define GNC_TYPE_PLUGIN_PAGE_SX_LIST   (gnc_plugin_page_sx_list_get_type ())

Functions providing a list of scheduled transactions as a plugin page.

Author
Josh Sled jsled.nosp@m.@asy.nosp@m.nchro.nosp@m.nous.nosp@m..org

Definition at line 57 of file gnc-plugin-page-sx-list.h.

Function Documentation

◆ gnc_plugin_page_sx_list_get_type()

GType gnc_plugin_page_sx_list_get_type ( void  )

Retrieve the type number for an "sx list" plugin page.

Returns
The type number.

◆ gnc_plugin_page_sx_list_new()

GncPluginPage * gnc_plugin_page_sx_list_new ( void  )
Returns
The newly created plugin page.

Definition at line 178 of file gnc-plugin-page-sx-list.c.

179 {
180  GncPluginPageSxList *plugin_page;
181  const GList *object = gnc_gobject_tracking_get_list (GNC_PLUGIN_PAGE_SX_LIST_NAME);
182  if (object && GNC_IS_PLUGIN_PAGE_SX_LIST (object->data))
183  plugin_page = GNC_PLUGIN_PAGE_SX_LIST (object->data);
184  else
185  {
186  plugin_page = g_object_new (GNC_TYPE_PLUGIN_PAGE_SX_LIST, NULL);
187  }
188  return GNC_PLUGIN_PAGE(plugin_page);
189 }
const GList * gnc_gobject_tracking_get_list(const gchar *name)
Get a list of all known objects of a specified type.
#define GNC_TYPE_PLUGIN_PAGE_SX_LIST
Functions providing a list of scheduled transactions as a plugin page.