AnypaperWindow

AnypaperWindow — builds the user interface and controls the operation of anyPaper

Stability Level

Stable, unless otherwise indicated

Synopsis

#include <anypaper_window.h>

                    AnypaperWindowPrivate;
struct              AnypaperWindow;
void                anypaper_window_set_position_range  (AnypaperWindow *window,
                                                         gint rangex,
                                                         gint rangey);
void                anypaper_window_create              (AnypaperWindow *window);

Object Hierarchy

  GObject
   +----AnypaperWindow

Description

The application class that builds the user interface and controls the operation of anyPaper. This class also links the objects required for the implementation of the anyPaper

Details

AnypaperWindowPrivate

typedef struct _AnypaperWindowPrivate AnypaperWindowPrivate;


struct AnypaperWindow

struct AnypaperWindow {
	AnypaperParameters		*parameters;
	AnypaperImage			*image;
	AnypaperPreview			*preview;
	AnypaperWallpapersetter		*wallpapersetter;
};

Contains the necessary objects for operation of the anyPaper


anypaper_window_set_position_range ()

void                anypaper_window_set_position_range  (AnypaperWindow *window,
                                                         gint rangex,
                                                         gint rangey);

Sets the range of displacement allowed for the image.

window :

the AnypaperWindow

rangex :

half of the displacement allowed in x direction

rangey :

half of the displacement allowed in y direction

anypaper_window_create ()

void                anypaper_window_create              (AnypaperWindow *window);

Creates and shows the AnypaperWindow.

window :

the AnypaperWindow

See Also

AnypaperImage, AnypaperParameters, AnypaperPreview