Documentation Index

CPAINT :: Cross-Platform Asynchronous INterface Toolkit

Backend: cpaint.set_attribute()

cpaint Method Summary

boolean register()
boolean unregister()
void start()
void return_data()
object add_node()
void set_data()
mixed get_data()
void set_id()
string get_id()
void set_attribute()
string get_attribute()
void set_name()
string get_name()
string get_response_type()

void set_attribute ( string attribute_name, mixed value )

Assigns a new value to an attribute of the basenode.




» string namename of the attribute to assign a value to.
» mixed valuevalue to assign to this attribute. Please note that the value must be scalar.

Return Value

» void

API Tags

» Access: public


This method is a wrapper for cpaint_node.set_attribute() and assigns an attribute value to the basenode of the CPAINT response.