GUI: PLT Graphics Toolkit

1`` | Overview
- | Windowing
- | Drawing
- | Editor
2`` | Reference
- | Windowing Classes
- | Windowing Functions
- | Drawing Classes
- | Drawing Functions
- | Editor Classes
- | Editor Functions
- | WXME Decoding
3`` | Configuration
4`` | Dynamic Loading
| Index

On this page:

get-dataclass
get-next
set-dataclass
set-next
write

Version: 4.0.2
contents index
← prev up next →

editor-data% : class?
superclass: object%

An editor-data% object contains extra data associated to a snip or region in an editor. See also Editor Data.

(make-object editor-data%) → (is-a?/c editor-data%)

The element returned by get-next is initialized to #f.

(send an-editor-data get-dataclass)
→ (or/c (is-a?/c editor-data-class%) false/c)

Gets the class for this data.

(send an-editor-data get-next)
→ (or/c (is-a?/c editor-data%) false/c)

Gets the next editor data element in a list of editor data elements. A #f terminates the list.

(send an-editor-data set-dataclass v) → void?
v : (is-a?/c editor-data-class%)

Sets the class for this data.

(send an-editor-data set-next v) → void?
v : (or/c (is-a?/c editor-data%) false/c)

Sets the next editor data element in a list of editor data elements. A #f terminates the list.

(send an-editor-data write f) → boolean?
f : (is-a?/c editor-stream-out%)

Specification: Writes the data to the specified stream, returning #t if data is written successfully or #f otherwise.

Default implementation: Returns #f.

contents index
← prev up next →