Pike v8.1 release 6

Method GTK2.G.Object()->set_data()


Method set_data

object set_data(string name, mixed arg)

Description

Each object carries around a table of associations from strings to pointers. This function lets you set an association.

If the object already had an association with that name, the old association will be destroyed.