Documentation Index

CPAINT :: Cross-Platform Asynchronous INterface Toolkit

Backend: cpaint.set_id()

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_id ( string id )

Set the id property of the basenode.

Class

cpaint

Parameters

» string idid attribute of this node

Return Value

» void

API Tags

» Access: public
» Deprecated since version 2.0.0, use cpaint.set_attribute() instead

Description

This method is a wrapper for cpaint_node.set_id(). Its use is considered deprecated.