Skip to content

Commit

Permalink
missing initproc property description
Browse files Browse the repository at this point in the history
  • Loading branch information
vdelachaux committed Oct 4, 2024
1 parent 528d01a commit ce52ab5
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 14 deletions.
4 changes: 2 additions & 2 deletions Project/Sources/Classes/_4DPop.4dm
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ Function getDependencies() : Collection
return $c

// === === === === === === === === === === === === === === === === === === === === === === === ===
// Display the palett
// Display the palette
Function display()

var $height; $width : Integer
Expand Down Expand Up @@ -493,7 +493,7 @@ Function abort()

For ($i; 1; Count user processes:C343; 1)

PROCESS PROPERTIES:C336($i; $t; $l; $l)
_O_PROCESS PROPERTIES:C336($i; $t; $l; $l)

If ($t="$4DPop")

Expand Down
25 changes: 13 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -251,21 +251,22 @@ The manifest describes the elements of the component that will be available via
}
```

| Attributes | | ||
|---- | ----| ----| ----|
| `name` | The name that will be displayed below the button | ① | Mandatory
| `media` | File name of the image used for the button. |⑦| If omitted a default picture is used
| `handler` | The name of the ‘entry point’ method for your component. <br>I suggest that this name starts with an underscore (`_`) to avoid it interfering with the type ahead, as it is shared. | ② | Mandatory
| `default` | The name of the method to be executed when the user clicks on the strip's button | ③ ④ ⑤| Optional if `tools`is defined
| `tools` | Collection of [tool objects](#tool) that will be displayed as a linked menu | ④ ⑥
| `popup` | To force the display of a linked menu indicator even if there is only one tool | ④
| `ondrop` | The name of the method to be executed at the time of a drop on the button | ③
| `helptip` | Text of help tip associated with button
| Attributes |    |      |    |
|------------|----|:----:|----|
| `name` | The name that will be displayed below the button | ① | Mandatory
| `media` | File name of the image used for the button. |⑦| If omitted a default picture is used
| `handler` | The name of the ‘entry point’ method for your component. <br>I suggest that this name starts with an underscore (`_`) to avoid it interfering with the type ahead, as it is shared. | ② | Mandatory
| `default` | The name of the method to be executed when the user clicks on the strip's button | ③ ④ ⑤| Optional if `tools`is defined
| `tools` | Collection of [tool objects](#tool) that will be displayed as a linked menu | ④ ⑥
| `popup` | To force the display of a linked menu indicator even if there is only one tool | ④
|`ondrop` | The name of the method to be executed at the time of a drop on the button | ③
| `initproc` | The name of the method to be executed when the component is loaded | ③
| `helptip` | Text of help tip associated with button

### <a name="tool">tool object</a>

| Attributes | | ||
|---- | ----| ----| ----|
| Attributes |    |      |    |
|------------|----|:----:|----|
| `name` | Name of the tool as it will appear in the menu associated with the button | ① ④ | Mandatory if there are several `tool`<br>• pass "-" to display a separator line
| `method` | The name of the method to run when the item is selected | ③ | Mandatory
----
Expand Down

0 comments on commit ce52ab5

Please sign in to comment.