opencv/modules/python/src2/typing_stubs_generation
Vadim Levin dad72fd47b feat: add highgui functions to typing stubs
Manually add typing stubs for functions defined in `cv2_highgui.hpp`:
- `createTrackbar`

    ```python
     def createTrackbar(trackbarName: str,
                   windowName: str,
                   value: int,
                   count: int,
                   onChange: Callable[[int], None]) -> None: ...
    ```

- `createButton`

    ```python
    def createButton(buttonName: str,
                     onChange: Callable[[tuple[int] | tuple[int, Any]], None],
                     userData: Any | None = ...,
                     buttonType: int = ...,
                     initialButtonState: int = ...) -> None: ...
    ```

- `setMouseCallback`

    ```python
    def setMouseCallback(
        windowName: str,
        onMouse: Callback[[int, int, int, int, Any | None], None],
        param: Any | None = ...
    ) -> None: ...
    ```
2023-07-26 16:34:43 +03:00
..
nodes feat: add highgui functions to typing stubs 2023-07-26 16:34:43 +03:00
__init__.py Merge pull request #20370 from ddacw:stub-gen-next 2023-05-26 18:25:46 +03:00
api_refinement.py feat: add highgui functions to typing stubs 2023-07-26 16:34:43 +03:00
ast_utils.py Merge pull request #24022 from VadimLevin:dev/vlevin/python-typing-cuda 2023-07-19 16:51:41 +03:00
generation.py Merge pull request #24023 from VadimLevin:dev/vlevin/python-typing-magic-constants 2023-07-20 09:18:29 +03:00
predefined_types.py Merge pull request #24022 from VadimLevin:dev/vlevin/python-typing-cuda 2023-07-19 16:51:41 +03:00
types_conversion.py Merge pull request #20370 from ddacw:stub-gen-next 2023-05-26 18:25:46 +03:00