AnypaperWindow

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

Stability Level

Stable, unless otherwise indicated

Synopsis

#include <anypaper_window.h>

                    AnypaperWindowPrivate;
                    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;


AnypaperWindow

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

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