Documentation Index

CPAINT :: Cross-Platform Asynchronous INterface Toolkit

Backend: cpaint.set_data()

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_data ( mixed data )

Assigns data to the basenode.

Class

cpaint

Parameters

» mixed datadata to assign to this node

API Tags

» Access: public

Description

This method is a wrapper for cpaint_node.set_data() and will assign data to the basenode of the CPAINT response.