AnypaperWallpapersetter

AnypaperWallpapersetter — creates the wallpapersetter file and detects the wallpapersetter installed

Stability Level

Stable, unless otherwise indicated

Synopsis

#include <anypaper_wallpapersetter.h>

                    AnypaperWallpapersetterPrivate;
struct              AnypaperWallpapersetter;
void                anypaper_wallpapersetter_detect     (AnypaperWallpapersetter *wallpapersetter,
                                                         gchar *filename);
void                anypaper_wallpapersetter_file       (gchar *wallpapersetterFile);

Object Hierarchy

  GObject
   +----AnypaperWallpapersetter

Description

This application class creates the wallpapersetter file and detects the wallpapersetter installed

This application class detects the wallpapersetter listed in wallpapersetter file installed and stores this information in two lists, one for the wallpapersetter found and the other for the command (normally the fullscreen command). This class also creates the wallpapersetterfile that contains definitions for known wallpapersetters and the command used to set the wallpaper.

Details

AnypaperWallpapersetterPrivate

typedef struct _AnypaperWallpapersetterPrivate AnypaperWallpapersetterPrivate;


struct AnypaperWallpapersetter

struct AnypaperWallpapersetter {
	GList *wallpapersetter;
	GList *command;
};

Contains a list of wallpapersetter found and a list of commands used for them

GList *wallpapersetter;

contains a list of wallpapersetter found

GList *command;

contains a list of commands used for the wallpapersetter found

anypaper_wallpapersetter_detect ()

void                anypaper_wallpapersetter_detect     (AnypaperWallpapersetter *wallpapersetter,
                                                         gchar *filename);

Generate a list of found wallpapersetters and other for the associated commands.

wallpapersetter :

a AnypaperWallpapersetter

filename :

file that contains the wallpapersetters command definition

anypaper_wallpapersetter_file ()

void                anypaper_wallpapersetter_file       (gchar *wallpapersetterFile);

Generate a file with names of wallpapersetter and the associated commands.

wallpapersetterFile :

filename to store the wallpapersetters command definition