Version: 4.1.2
| graph-snip<%> : interface? |
| (send a-graph-snip add-child child) → void? |
| child : (is-a?/c graph-snip<%>) |
Adds a child of this snip. Instead of calling this method, consider using the add-links function.
| (send a-graph-snip add-parent parent) → void? | |||||||||||||||||||||||||||||||||||
| parent : (is-a?/c graph-snip<%>) | |||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||
| parent : (is-a?/c graph-snip<%>) | |||||||||||||||||||||||||||||||||||
| mouse-over-pen : (or/c false/c (is-a?/c pen%)) | |||||||||||||||||||||||||||||||||||
| mouse-off-pen : (or/c false/c (is-a?/c pen%)) | |||||||||||||||||||||||||||||||||||
| mouse-over-brush : (or/c false/c (is-a?/c brush%)) | |||||||||||||||||||||||||||||||||||
| mouse-off-brush : (or/c false/c (is-a?/c brush%)) |
Adds a parent of this snip. Instead of calling this method, consider using the add-links function.
| (send a-graph-snip get-children) → (listof snip%) |
returns a list of snips that implement graph-snip<%>. Each of these snips will have a line drawn from it, pointing at this snip.
| (send a-graph-snip get-parents) → (listof graph-snip<%>) |
Returns a list of snips that implement graph-snip<%>. Each of these snips will have a line drawn to it, starting from this snip.
| (send a-graph-snip remove-child child) → void? |
| child : (is-a?/c graph-snip<%>) |
Removes a child snip from this snip. Be sure to remove this snip as a parent from the argument, too.
| (send a-graph-snip remove-parent parent) → void? |
| parent : (is-a?/c graph-snip<%>) |
Removes a parent snip from this snip. Be sure to remove this snip as a child from the argument, too.