These are the functions available from the Tcl-object scripts. Lifted from the tclpd.tcl script with some comments added. pd::error_msg {m} # prints an error message on the console pd::add_inlet {self sel} # creates an inlet of type sel pd::add_outlet {self {sel {}}} # creates an outlet of type sel (allowed are: bang float list symbol) pd::outlet {self numInlet selector args} # used inside class for outputting some value pd::read_class_options {classname options} pd::class {classname args} # this handles the pd::class definition pd::guiclass {classname args} pd::post {args} # wrapper to post() withouth vargs pd::args {} # gets the argument list pd::arg {n {assertion any}} # get an argument from the args list pd::default_arg {n assertion defval} pd::strip_selectors {pdlist} # convert a Pd list to a Tcl list pd::add_selector {s} # convert a Tcl type to Pd type pd::add_selectors {tcllist} # convert a Tcl list to a Pd list pd::strip_empty {tcllist} pd::add_empty {tcllist} pd::guiproc {name argz body} # mechanism for uploading procs to gui interp, without the hassle of escaping [encoder] pd::get_binbuf {self}