You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -100,6 +100,6 @@ You can access GIMP PDB procedure information ([`Gimp.Procedure`](https://develo
100
100
101
101
### Registering plug-in procedures
102
102
103
-
Import the `wrappers/procedure.py` module and call `procedure.register_procedure()`to register a single PDB procedure. See the [`generate-pdb-stubs` module](generate-pdb-stubs/generate-pdb-stubs.py#L51) for an example.
104
-
105
-
At the end of your main Python module, call `procedure.main()`.
103
+
1. Copy the `wrappers/procedure.py` module to your plug-in directory.
104
+
2. Within the main file of your plug-in (a Python script with same name as its parent directory) import the `procedure` module and call `procedure.register_procedure()` to register a single PDB procedure. See the [`generate-pdb-stubs` module](generate-pdb-stubs/generate-pdb-stubs.py#L51) for an example.
105
+
3.At the end of your main Python module, call `procedure.main()`.
0 commit comments