GnuCash  5.6-133-gc519490283+
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*)gnc_plugin_page_sx_list_get_instance_private((GncPluginPageSxList*)o))
 
#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 77 of file gnc-plugin-page-sx-list.cpp.

◆ 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 151 of file gnc-plugin-page-sx-list.cpp.

152 {
153  GncPluginPageSxList *plugin_page;
154  const GList *object = gnc_gobject_tracking_get_list (GNC_PLUGIN_PAGE_SX_LIST_NAME);
155  if (object && GNC_IS_PLUGIN_PAGE_SX_LIST (object->data))
156  plugin_page = GNC_PLUGIN_PAGE_SX_LIST (object->data);
157  else
158  {
159  plugin_page = GNC_PLUGIN_PAGE_SX_LIST (g_object_new (GNC_TYPE_PLUGIN_PAGE_SX_LIST, nullptr));
160  }
161  return GNC_PLUGIN_PAGE(plugin_page);
162 }
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.