| Summary: | Initialization, hover in palette, unload
|
|---|
| Occurs: | When the item is initially dropped and copied (fires when you copy it and paste it)
|
|---|
| Details: | |
|---|
| mods = 0, 1, Default: | "This is the initilization routine. You need to set your
bounds, termSpecs, image, and state information here.
This routine is called when your node is initially dropped
and when it is copied."
|
|---|
| mods = -2: | "This is the routine that gets called when you get hovered over in the palette. You need to set your bounds and image here.
You don't have an external node reference or valid state info.
You will not get unloaded (don't allocate resources)."
- For all items besides bounds and image, return a default (cleared) value.
- For reply, specify 0
- For errOut, specify 0 for noError.
|
|---|
| mods = -1: | "This is the unload routine. If you allocated any resources,
they should be deallocated here."
- For reply, specify 0: "Reply is ignored in this routine."
- For errOut, specify 0 for noError.
|
|---|
|