Changeset View
Changeset View
Standalone View
Standalone View
source/blender/python/intern/bpy_rna.c
- This file is larger than 256 KB, so syntax highlighting is disabled by default.
| Show First 20 Lines • Show All 8,830 Lines • ▼ Show 20 Lines | PyDoc_STRVAR( | ||||
| " It gets the specified arguments as input.\n" | " It gets the specified arguments as input.\n" | ||||
| " :type callback: function\n" | " :type callback: function\n" | ||||
| " :param args: Arguments that will be passed to the callback.\n" | " :param args: Arguments that will be passed to the callback.\n" | ||||
| " :type args: tuple\n" | " :type args: tuple\n" | ||||
| " :param region_type: The region type the callback draws in; usually `'WINDOW'`. " | " :param region_type: The region type the callback draws in; usually `'WINDOW'`. " | ||||
| "(:class:`bpy.types.Region.type`)\n" | "(:class:`bpy.types.Region.type`)\n" | ||||
| " :type region_type: str\n" | " :type region_type: str\n" | ||||
| " :param draw_type: Usually `POST_PIXEL` for 2D drawing and `POST_VIEW` for 3D drawing. In " | " :param draw_type: Usually `POST_PIXEL` for 2D drawing and `POST_VIEW` for 3D drawing. In " | ||||
| "some cases `PRE_VIEW` can be used.\n" | "some cases `PRE_VIEW` can be used. `BACKDROP` can be used for backdrops in the node editor.\n" | ||||
| " :type draw_type: str\n" | " :type draw_type: str\n" | ||||
| " :return: Handler that can be removed later on.\n" | " :return: Handler that can be removed later on.\n" | ||||
| " :rtype: object"); | " :rtype: object"); | ||||
| PyDoc_STRVAR(pyrna_draw_handler_remove_doc, | PyDoc_STRVAR(pyrna_draw_handler_remove_doc, | ||||
| ".. method:: draw_handler_remove(handler, region_type)\n" | ".. method:: draw_handler_remove(handler, region_type)\n" | ||||
| "\n" | "\n" | ||||
| " Remove a draw handler that was added previously.\n" | " Remove a draw handler that was added previously.\n" | ||||
| ▲ Show 20 Lines • Show All 53 Lines • Show Last 20 Lines | |||||