pidgin  2.14.10
theme.h File Reference

Purple Theme Abstact Class API. More...

#include <glib.h>
#include <glib-object.h>
#include "imgstore.h"

Go to the source code of this file.

Data Structures

struct  _PurpleTheme
 
struct  _PurpleThemeClass
 

Macros

#define PURPLE_TYPE_THEME   (purple_theme_get_type ())
 
#define PURPLE_THEME(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), PURPLE_TYPE_THEME, PurpleTheme))
 
#define PURPLE_THEME_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), PURPLE_TYPE_THEME, PurpleThemeClass))
 
#define PURPLE_IS_THEME(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PURPLE_TYPE_THEME))
 
#define PURPLE_IS_THEME_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), PURPLE_TYPE_THEME))
 
#define PURPLE_THEME_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), PURPLE_TYPE_THEME, PurpleThemeClass))
 

Typedefs

typedef struct _PurpleTheme PurpleTheme
 A purple theme. More...
 
typedef struct _PurpleThemeClass PurpleThemeClass
 

Functions

Purple Theme API <br>
G_BEGIN_DECLS GType purple_theme_get_type (void)
 GObject foo.
 
const gchar * purple_theme_get_name (PurpleTheme *theme)
 Returns the name of the PurpleTheme object. More...
 
void purple_theme_set_name (PurpleTheme *theme, const gchar *name)
 Sets the name of the PurpleTheme object. More...
 
const gchar * purple_theme_get_description (PurpleTheme *theme)
 Returns the description of the PurpleTheme object. More...
 
void purple_theme_set_description (PurpleTheme *theme, const gchar *description)
 Sets the description of the PurpleTheme object. More...
 
const gchar * purple_theme_get_author (PurpleTheme *theme)
 Returns the author of the PurpleTheme object. More...
 
void purple_theme_set_author (PurpleTheme *theme, const gchar *author)
 Sets the author of the PurpleTheme object. More...
 
const gchar * purple_theme_get_type_string (PurpleTheme *theme)
 Returns the type (string) of the PurpleTheme object. More...
 
const gchar * purple_theme_get_dir (PurpleTheme *theme)
 Returns the directory of the PurpleTheme object. More...
 
void purple_theme_set_dir (PurpleTheme *theme, const gchar *dir)
 Sets the directory of the PurpleTheme object. More...
 
const gchar * purple_theme_get_image (PurpleTheme *theme)
 Returns the image preview of the PurpleTheme object. More...
 
gchar * purple_theme_get_image_full (PurpleTheme *theme)
 Returns the image preview and directory of the PurpleTheme object. More...
 
void purple_theme_set_image (PurpleTheme *theme, const gchar *img)
 Sets the directory of the PurpleTheme object. More...
 

Detailed Description

Purple Theme Abstact Class API.

Definition in file theme.h.

Typedef Documentation

◆ PurpleTheme

typedef struct _PurpleTheme PurpleTheme

A purple theme.

This is an abstract class for Purple to use with the Purple theme manager.

PurpleTheme is a GObject.

Definition at line 1 of file theme.h.

Function Documentation

◆ purple_theme_get_author()

const gchar* purple_theme_get_author ( PurpleTheme theme)

Returns the author of the PurpleTheme object.

Parameters
themeThe purple theme.
Returns
The author of the theme.

◆ purple_theme_get_description()

const gchar* purple_theme_get_description ( PurpleTheme theme)

Returns the description of the PurpleTheme object.

Parameters
themeThe purple theme.
Returns
A short description of the theme.

◆ purple_theme_get_dir()

const gchar* purple_theme_get_dir ( PurpleTheme theme)

Returns the directory of the PurpleTheme object.

Parameters
themeThe purple theme.
Returns
The string representing the theme directory.

◆ purple_theme_get_image()

const gchar* purple_theme_get_image ( PurpleTheme theme)

Returns the image preview of the PurpleTheme object.

Parameters
themeThe purple theme.
Returns
The image preview of the PurpleTheme object.

◆ purple_theme_get_image_full()

gchar* purple_theme_get_image_full ( PurpleTheme theme)

Returns the image preview and directory of the PurpleTheme object.

Parameters
themeThe purple theme.
Returns
The image preview of the PurpleTheme object.

◆ purple_theme_get_name()

const gchar* purple_theme_get_name ( PurpleTheme theme)

Returns the name of the PurpleTheme object.

Parameters
themeThe purple theme.
Returns
The string representing the name of the theme.

◆ purple_theme_get_type_string()

const gchar* purple_theme_get_type_string ( PurpleTheme theme)

Returns the type (string) of the PurpleTheme object.

Parameters
themeThe purple theme.
Returns
The string representing the type.

◆ purple_theme_set_author()

void purple_theme_set_author ( PurpleTheme theme,
const gchar *  author 
)

Sets the author of the PurpleTheme object.

Parameters
themeThe purple theme.
authorThe author of the PurpleTheme object.

◆ purple_theme_set_description()

void purple_theme_set_description ( PurpleTheme theme,
const gchar *  description 
)

Sets the description of the PurpleTheme object.

Parameters
themeThe purple theme.
descriptionThe description of the PurpleTheme object.

◆ purple_theme_set_dir()

void purple_theme_set_dir ( PurpleTheme theme,
const gchar *  dir 
)

Sets the directory of the PurpleTheme object.

Parameters
themeThe purple theme.
dirThe directory of the PurpleTheme object.

◆ purple_theme_set_image()

void purple_theme_set_image ( PurpleTheme theme,
const gchar *  img 
)

Sets the directory of the PurpleTheme object.

Parameters
themeThe purple theme.
imgThe image preview of the PurpleTheme object.

◆ purple_theme_set_name()

void purple_theme_set_name ( PurpleTheme theme,
const gchar *  name 
)

Sets the name of the PurpleTheme object.

Parameters
themeThe purple theme.
nameThe name of the PurpleTheme object.