libgaminggear
Data Structures | Macros | Typedefs | Functions
gaminggear_profile_page.h File Reference

GaminggearProfilePage. More...

Data Structures

struct  _GaminggearProfilePage
 
struct  _GaminggearProfilePageClass
 

Macros

#define GAMINGGEAR_PROFILE_PAGE_TYPE   (gaminggear_profile_page_get_type())
 
#define GAMINGGEAR_PROFILE_PAGE(obj)   (G_TYPE_CHECK_INSTANCE_CAST((obj), GAMINGGEAR_PROFILE_PAGE_TYPE, GaminggearProfilePage))
 
#define IS_GAMINGGEAR_PROFILE_PAGE(obj)   (G_TYPE_CHECK_INSTANCE_TYPE((obj), GAMINGGEAR_PROFILE_PAGE_TYPE))
 
#define GAMINGGEAR_PROFILE_PAGE_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST((klass), GAMINGGEAR_PROFILE_PAGE_TYPE, GaminggearProfilePageClass))
 
#define IS_GAMINGGEAR_PROFILE_PAGE_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE((klass), GAMINGGEAR_PROFILE_PAGE_TYPE))
 
#define GAMINGGEAR_PROFILE_PAGE_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS((obj), GAMINGGEAR_PROFILE_PAGE_TYPE, GaminggearProfilePageClass))
 

Typedefs

typedef struct _GaminggearProfilePageClass GaminggearProfilePageClass
 
typedef struct _GaminggearProfilePage GaminggearProfilePage
 
typedef struct _GaminggearProfilePagePrivate GaminggearProfilePagePrivate
 

Functions

GType gaminggear_profile_page_get_type (void)
 
void gaminggear_profile_page_set_profile_data (GaminggearProfilePage *self, GaminggearProfileData *profile_data)
 Set profile data. More...
 
GaminggearProfileDatagaminggear_profile_page_get_profile_data (GaminggearProfilePage *self)
 Get profile data. More...
 
void gaminggear_profile_page_update_data (GaminggearProfilePage *self)
 Update profile_data. More...
 

Detailed Description

GaminggearProfilePage.

Macro Definition Documentation

◆ GAMINGGEAR_PROFILE_PAGE

#define GAMINGGEAR_PROFILE_PAGE (   obj)    (G_TYPE_CHECK_INSTANCE_CAST((obj), GAMINGGEAR_PROFILE_PAGE_TYPE, GaminggearProfilePage))

◆ GAMINGGEAR_PROFILE_PAGE_CLASS

#define GAMINGGEAR_PROFILE_PAGE_CLASS (   klass)    (G_TYPE_CHECK_CLASS_CAST((klass), GAMINGGEAR_PROFILE_PAGE_TYPE, GaminggearProfilePageClass))

◆ GAMINGGEAR_PROFILE_PAGE_GET_CLASS

#define GAMINGGEAR_PROFILE_PAGE_GET_CLASS (   obj)    (G_TYPE_INSTANCE_GET_CLASS((obj), GAMINGGEAR_PROFILE_PAGE_TYPE, GaminggearProfilePageClass))

◆ GAMINGGEAR_PROFILE_PAGE_TYPE

#define GAMINGGEAR_PROFILE_PAGE_TYPE   (gaminggear_profile_page_get_type())

◆ IS_GAMINGGEAR_PROFILE_PAGE

#define IS_GAMINGGEAR_PROFILE_PAGE (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE((obj), GAMINGGEAR_PROFILE_PAGE_TYPE))

◆ IS_GAMINGGEAR_PROFILE_PAGE_CLASS

#define IS_GAMINGGEAR_PROFILE_PAGE_CLASS (   klass)    (G_TYPE_CHECK_CLASS_TYPE((klass), GAMINGGEAR_PROFILE_PAGE_TYPE))

Typedef Documentation

◆ GaminggearProfilePage

◆ GaminggearProfilePageClass

◆ GaminggearProfilePagePrivate

typedef struct _GaminggearProfilePagePrivate GaminggearProfilePagePrivate

Function Documentation

◆ gaminggear_profile_page_get_profile_data()

GaminggearProfileData* gaminggear_profile_page_get_profile_data ( GaminggearProfilePage self)

Get profile data.

Parameters
selfInstance.
Return values
profile_datawhich should be freed with g_object_unref() or NULL.
Since
1.0

◆ gaminggear_profile_page_get_type()

GType gaminggear_profile_page_get_type ( void  )

◆ gaminggear_profile_page_set_profile_data()

void gaminggear_profile_page_set_profile_data ( GaminggearProfilePage self,
GaminggearProfileData profile_data 
)

Set profile data.

GaminggearProfilePage keeps a reference to profile_data. If profile_data is NULL, all widgets are made unsensitive.

If there already was valid profile_data, that instance gets updated on user request before it's being replaced with new profile_data.

Parameters
selfInstance.
profile_dataor NULL.
Since
1.0

◆ gaminggear_profile_page_update_data()

void gaminggear_profile_page_update_data ( GaminggearProfilePage self)

Update profile_data.

Updates the profile_data with information from GUI on users request.

Parameters
selfInstance.
Since
1.0