On this page:
new
get-classname
read
set-classname

class

editor-data-class% : class?

  superclass: object%

An editor-data-class% object defines a type for editor-data% objects. See also Editor Data.

Creates a (useless) instance.

method

(send an-editor-data-class get-classname)  string?

Gets the name of the class. Names starting with wx are reserved for internal use.

method

(send an-editor-data-class read f)

  (or/c (is-a?/c editor-data%) #f)
  f : (is-a?/c editor-stream-in%)
Reads a new data object from the given stream, returning #f if there is an error.

method

(send an-editor-data-class set-classname v)  void?

  v : string?
Sets the name of the class. Names starting with wx are reserved for internal use.

An editor data class name should usually have the form "(lib\n ...)" to enable on-demand loading of the class; see Editor Data for details.