Purple Theme Abstact Class API.
More...
#include <glib.h>
#include <glib-object.h>
#include "imgstore.h"
Go to the source code of this file.
Purple Theme Abstact Class API.
Definition in file theme.h.
◆ PURPLE_IS_THEME
#define PURPLE_IS_THEME |
( |
|
obj | ) |
(G_TYPE_CHECK_INSTANCE_TYPE ((obj), PURPLE_TYPE_THEME)) |
◆ PURPLE_IS_THEME_CLASS
#define PURPLE_IS_THEME_CLASS |
( |
|
klass | ) |
(G_TYPE_CHECK_CLASS_TYPE ((klass), PURPLE_TYPE_THEME)) |
◆ PURPLE_THEME
#define PURPLE_THEME |
( |
|
obj | ) |
(G_TYPE_CHECK_INSTANCE_CAST ((obj), PURPLE_TYPE_THEME, PurpleTheme)) |
◆ PURPLE_THEME_CLASS
#define PURPLE_THEME_CLASS |
( |
|
klass | ) |
(G_TYPE_CHECK_CLASS_CAST ((klass), PURPLE_TYPE_THEME, PurpleThemeClass)) |
◆ PURPLE_THEME_GET_CLASS
#define PURPLE_THEME_GET_CLASS |
( |
|
obj | ) |
(G_TYPE_INSTANCE_GET_CLASS ((obj), PURPLE_TYPE_THEME, PurpleThemeClass)) |
◆ PURPLE_TYPE_THEME
◆ 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 39 of file theme.h.
◆ PurpleThemeClass
◆ purple_theme_get_author()
const gchar * purple_theme_get_author |
( |
PurpleTheme * |
theme | ) |
|
Returns the author of the PurpleTheme object.
- Parameters
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
theme | The purple theme. |
author | The 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
-
theme | The purple theme. |
description | The 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
-
theme | The purple theme. |
dir | The 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
-
theme | The purple theme. |
img | The 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
-
theme | The purple theme. |
name | The name of the PurpleTheme object. |