Hexmap Gtk+ Bindings Reference Manual | |||
---|---|---|---|
<<< Previous Page | Home | Up |
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); |
GtkWidget* hex_icon_gtk_new (void); |
create a HexIconGtk
the newly created HexIconGtk
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
a HexIconGtk.
a HexTile.
the depth at which to place tile
void hex_icon_gtk_clear_list (HexIconGtk *icon); |
Clears all the tiles in icon.
a HexIconGtk.
HexTile* hex_icon_gtk_get_tile (HexIconGtk *icon, gint depth); |
Returns the tile at depth, or NULL if none is present.
a HexIconGtk.
the depth at which to look for tile
the tile
HexList* hex_icon_gtk_get_list (HexIconGtk *icon); |
Returns the list of tiles in icon (which is NULL if icon has no tiles)
a HexIconGtk.
the list