CuiIcon

Name

CuiIcon -- 

Synopsis


#include <history.h>


            CuiIcon;
CuiIcon*    cui_icon_new                    (CuiFilename *file);

Object Hierarchy


  GObject
   +----CuiIcon

Properties


  "file"                 gpointer              : Read / Write
  "max-height"           gint                  : Read / Write
  "max-size"             gint                  : Read / Write
  "pixbuf"               gpointer              : Read / Write

Description

Details

CuiIcon

typedef struct {
	GdkPixbuf             *pixbuf;
	gint                   max_size;
	gint                   max_height;
	CuiFilename           *filename;
} CuiIcon;

GdkPixbuf *pixbuf;

the GdkPixbuf we use as an icon

gint max_size;

gint max_height;

CuiFilename *filename;


cui_icon_new ()

CuiIcon*    cui_icon_new                    (CuiFilename *file);

Creates a new icon for the given file. FIXME: this function should be completed.

file :

a CuiFilename

Returns :

a new CuiIcon object

Properties

The "file" property

  "file"                 gpointer              : Read / Write

The CuiFilename this icon is representing.


The "max-height" property

  "max-height"           gint                  : Read / Write

The maximum height in pixels.

Allowed values: [10,1024]

Default value: 32


The "max-size" property

  "max-size"             gint                  : Read / Write

The maximum height and width in pixels.

Allowed values: [10,1024]

Default value: 32


The "pixbuf" property

  "pixbuf"               gpointer              : Read / Write

The icon in GdkPixbuf format.