HexIconGtk

Name

HexIconGtk -- 

Synopsis




struct      HexIconGtk;
struct      HexIconGtkClass;


GtkWidget*  hex_icon_gtk_new                (void);
void        hex_icon_gtk_set_tile           (HexIconGtk *icon,
                                             HexTile *tile,
                                             gint depth);
void        hex_icon_gtk_clear_list         (HexIconGtk *icon);
HexTile*    hex_icon_gtk_get_tile           (HexIconGtk *icon,
                                             gint depth);
HexList*    hex_icon_gtk_get_list           (HexIconGtk *icon);

Object Hierarchy


  GObject
   +----GtkObject
         +----GtkWidget
               +----GtkDrawingArea
                     +----HexIconGtk

Implemented Interfaces

HexIconGtk implements AtkImplementorIface.

Description

Details

struct HexIconGtk

struct HexIconGtk;

A display object to show a single hex.


struct HexIconGtkClass

struct HexIconGtkClass;

The class structure for HexIconGtk


hex_icon_gtk_new ()

GtkWidget*  hex_icon_gtk_new                (void);

create a HexIconGtk

Returns :

the newly created HexIconGtk


hex_icon_gtk_set_tile ()

void        hex_icon_gtk_set_tile           (HexIconGtk *icon,
                                             HexTile *tile,
                                             gint depth);

set the tile at depth depth to tile, replacing a previous tile if necessary

icon :

a HexIconGtk.

tile :

a HexTile.

depth :

the depth at which to place tile


hex_icon_gtk_clear_list ()

void        hex_icon_gtk_clear_list         (HexIconGtk *icon);

Clears all the tiles in icon.

icon :

a HexIconGtk.


hex_icon_gtk_get_tile ()

HexTile*    hex_icon_gtk_get_tile           (HexIconGtk *icon,
                                             gint depth);

Returns the tile at depth, or NULL if none is present.

icon :

a HexIconGtk.

depth :

the depth at which to look for tile

Returns :

the tile


hex_icon_gtk_get_list ()

HexList*    hex_icon_gtk_get_list           (HexIconGtk *icon);

Returns the list of tiles in icon (which is NULL if icon has no tiles)

icon :

a HexIconGtk.

Returns :

the list