Method

MateDesktopBGcreate_frame_thumbnail

Declaration [src]

GdkPixbuf*
mate_bg_create_frame_thumbnail (
  MateBG* bg,
  MateDesktopThumbnailFactory* factory,
  GdkScreen* screen,
  int dest_width,
  int dest_height,
  int frame_num
)

Description [src]

Creates a thumbnail for a certain frame, where ‘frame’ is somewhat vaguely defined as ‘suitable point to show while single-stepping through the slideshow’.

Parameters

factory

Type: MateDesktopThumbnailFactory

No description available.

The data is owned by the caller of the method.
screen

Type: GdkScreen

No description available.

The data is owned by the caller of the method.
dest_width

Type: int

No description available.

dest_height

Type: int

No description available.

frame_num

Type: int

No description available.

Return value

Type: GdkPixbuf

The newly created thumbnail or or NULL if frame_num is out of bounds.

The caller of the method takes ownership of the data, and is responsible for freeing it.