Documentation Index

CPAINT :: Cross-Platform Asynchronous INterface Toolkit

Backend: cpaint_node.set_id()

cpaint_node Method Summary

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()

void set_id ( string id )

set id property

Class

cpaint_node

Parameters

» string idid attribute of this node

Return Value

» void

API Tags

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

Description

This method is just a special case of set_attribute() and exists merely for backward-compatibility reasons. Its use is considered deprecated.