![]() |
![]() |
![]() |
![]() |
void gnome_bg_load_from_preferences (GnomeBG *bg
,GSettings *settings
);
void gnome_bg_save_to_preferences (GnomeBG *bg
,GSettings *settings
);
void gnome_bg_set_placement (GnomeBG *bg
,GDesktopBackgroundStyle placement
);
void gnome_bg_set_rgba (GnomeBG *bg
,GDesktopBackgroundShading type
,GdkRGBA *primary
,GdkRGBA *secondary
);
void gnome_bg_get_rgba (GnomeBG *bg
,GDesktopBackgroundShading *type
,GdkRGBA *primary
,GdkRGBA *secondary
);
cairo_surface_t * gnome_bg_create_surface (GnomeBG *bg
,GdkWindow *window
,int width
,int height
);
Create a surface that can be set as background for window
.
gboolean gnome_bg_get_image_size (GnomeBG *bg
,GnomeDesktopThumbnailFactory *factory
,int best_width
,int best_height
,int *width
,int *height
);
GdkPixbuf * gnome_bg_create_thumbnail (GnomeBG *bg
,GnomeDesktopThumbnailFactory *factory
,GdkScreen *screen
,int dest_width
,int dest_height
);
GdkPixbuf * gnome_bg_create_frame_thumbnail (GnomeBG *bg
,GnomeDesktopThumbnailFactory *factory
,GdkScreen *screen
,int dest_width
,int dest_height
,int frame_num
);
Creates a thumbnail for a certain frame, where 'frame' is somewhat vaguely defined as 'suitable point to show while single-stepping through the slideshow'.