Profile List
[Widgets]


Detailed Description

This group provides a list widget for im-/exporter profiles.


List columns

#define GB_PROFILELIST_COL_NAME   0
#define GB_PROFILELIST_COL_VERSION   1
#define GB_PROFILELIST_COL_SHORT   2

Functions

GBANKING_API GtkWidget * GB_ProfileList_new (GtkWidget *parent, GtkWidget *tree)
GBANKING_API GWEN_DB_NODE * GB_ProfileList_GetSelectedProfiles (GtkWidget *w)
GBANKING_API void GB_ProfileList_Update (GtkWidget *w)
GBANKING_API void GB_ProfileList_Clear (GtkWidget *w)
GBANKING_API void GB_ProfileList_AddProfile (GtkWidget *w, GWEN_DB_NODE *db)
GBANKING_API void GB_ProfileList_AddProfiles (GtkWidget *w, GWEN_DB_NODE *db)


Define Documentation

#define GB_PROFILELIST_COL_NAME   0

column which contains the profile name

Definition at line 38 of file gbprofilelist.h.

#define GB_PROFILELIST_COL_SHORT   2

column containing the short description

Definition at line 42 of file gbprofilelist.h.

#define GB_PROFILELIST_COL_VERSION   1

column containing the version

Definition at line 40 of file gbprofilelist.h.


Function Documentation

GBANKING_API void GB_ProfileList_AddProfile ( GtkWidget *  w,
GWEN_DB_NODE *  db 
)

Add a profile to the list.

Parameters:
w widget created by GB_ProfileList_new
db GWEN_DB_NODE containing a profile. This function makes a deep copy.

GBANKING_API void GB_ProfileList_AddProfiles ( GtkWidget *  w,
GWEN_DB_NODE *  db 
)

Add multiple profiles to the list.

Parameters:
w widget created by GB_ProfileList_new
db GWEN_DB_NODE containing the profiles in subgroups. This function makes a deep copy.

GBANKING_API void GB_ProfileList_Clear ( GtkWidget *  w  ) 

Clear the list of profiles.

Parameters:
w widget created by GB_ProfileList_new

GBANKING_API GWEN_DB_NODE* GB_ProfileList_GetSelectedProfiles ( GtkWidget *  w  ) 

Returns a list containing only selected profiles from the given list. The caller is responsible for calling GWEN_DB_Group_free. The jobs in the returned list are only valid as long as the list widget exists without changes.

Parameters:
w widget created by GB_ProfileList_new

GBANKING_API GtkWidget* GB_ProfileList_new ( GtkWidget *  parent,
GtkWidget *  tree 
)

Create a new profile list.

Parameters:
parent parent widget (or 0 if none)
tree tree widget to use (if NULL then this function will create a new one)

GBANKING_API void GB_ProfileList_Update ( GtkWidget *  w  ) 

This function redraws the profiles in the list.

Parameters:
w widget created by GB_ProfileList_new


Generated on Tue Apr 10 19:04:10 2007 for aqbanking by  doxygen 1.4.7