fake-bpy-module 20240717__py3-none-any.whl → 20240719__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of fake-bpy-module might be problematic. Click here for more details.

Files changed (119) hide show
  1. bl_operators/add_mesh_torus/__init__.pyi +1 -190
  2. bl_operators/anim/__init__.pyi +104 -1504
  3. bl_operators/assets/__init__.pyi +3 -535
  4. bl_operators/bone_selection_sets/__init__.pyi +187 -2680
  5. bl_operators/clip/__init__.pyi +144 -1894
  6. bl_operators/connect_to_output/__init__.pyi +3 -176
  7. bl_operators/console/__init__.pyi +5 -880
  8. bl_operators/constraint/__init__.pyi +4 -704
  9. bl_operators/file/__init__.pyi +3 -528
  10. bl_operators/freestyle/__init__.pyi +4 -704
  11. bl_operators/geometry_nodes/__init__.pyi +4 -704
  12. bl_operators/image/__init__.pyi +5 -869
  13. bl_operators/image_as_planes/__init__.pyi +4 -424
  14. bl_operators/mesh/__init__.pyi +3 -528
  15. bl_operators/node/__init__.pyi +159 -2065
  16. bl_operators/object/__init__.pyi +217 -2842
  17. bl_operators/object_align/__init__.pyi +1 -176
  18. bl_operators/object_quick_effects/__init__.pyi +4 -725
  19. bl_operators/object_randomize_transform/__init__.pyi +1 -176
  20. bl_operators/presets/__init__.pyi +405 -5487
  21. bl_operators/rigidbody/__init__.pyi +3 -528
  22. bl_operators/screen_play_rendered_anim/__init__.pyi +1 -176
  23. bl_operators/sequencer/__init__.pyi +119 -1507
  24. bl_operators/spreadsheet/__init__.pyi +1 -176
  25. bl_operators/userpref/__init__.pyi +383 -4757
  26. bl_operators/uvcalc_follow_active/__init__.pyi +1 -176
  27. bl_operators/uvcalc_lightmap/__init__.pyi +1 -176
  28. bl_operators/uvcalc_transform/__init__.pyi +2 -352
  29. bl_operators/vertexpaint_dirt/__init__.pyi +1 -176
  30. bl_operators/view3d/__init__.pyi +101 -1468
  31. bl_operators/wm/__init__.pyi +723 -8894
  32. bl_operators/world/__init__.pyi +1 -176
  33. bl_ui/__init__.pyi +3 -534
  34. bl_ui/anim/__init__.pyi +1 -244
  35. bl_ui/asset_shelf/__init__.pyi +1 -189
  36. bl_ui/generic_ui_list/__init__.pyi +3 -594
  37. bl_ui/node_add_menu/__init__.pyi +1 -244
  38. bl_ui/node_add_menu_compositor/__init__.pyi +226 -4600
  39. bl_ui/node_add_menu_geometry/__init__.pyi +654 -12802
  40. bl_ui/node_add_menu_shader/__init__.pyi +94 -2531
  41. bl_ui/node_add_menu_texture/__init__.pyi +81 -2268
  42. bl_ui/properties_collection/__init__.pyi +58 -1272
  43. bl_ui/properties_constraint/__init__.pyi +1508 -32656
  44. bl_ui/properties_data_armature/__init__.pyi +278 -3804
  45. bl_ui/properties_data_bone/__init__.pyi +151 -2062
  46. bl_ui/properties_data_camera/__init__.pyi +216 -3034
  47. bl_ui/properties_data_curve/__init__.pyi +214 -3117
  48. bl_ui/properties_data_curves/__init__.pyi +57 -1273
  49. bl_ui/properties_data_empty/__init__.pyi +2 -385
  50. bl_ui/properties_data_gpencil/__init__.pyi +285 -3922
  51. bl_ui/properties_data_grease_pencil/__init__.pyi +198 -3081
  52. bl_ui/properties_data_lattice/__init__.pyi +3 -595
  53. bl_ui/properties_data_light/__init__.pyi +200 -2502
  54. bl_ui/properties_data_lightprobe/__init__.pyi +212 -2704
  55. bl_ui/properties_data_mesh/__init__.pyi +323 -4380
  56. bl_ui/properties_data_metaball/__init__.pyi +38 -1011
  57. bl_ui/properties_data_modifier/__init__.pyi +157 -2451
  58. bl_ui/properties_data_pointcloud/__init__.pyi +68 -1087
  59. bl_ui/properties_data_shaderfx/__init__.pyi +1 -189
  60. bl_ui/properties_data_speaker/__init__.pyi +36 -1018
  61. bl_ui/properties_data_volume/__init__.pyi +104 -1660
  62. bl_ui/properties_freestyle/__init__.pyi +438 -5136
  63. bl_ui/properties_grease_pencil_common/__init__.pyi +197 -3852
  64. bl_ui/properties_mask_common/__init__.pyi +59 -1705
  65. bl_ui/properties_material/__init__.pyi +227 -3334
  66. bl_ui/properties_material_gpencil/__init__.pyi +187 -2221
  67. bl_ui/properties_object/__init__.pyi +197 -2908
  68. bl_ui/properties_output/__init__.pyi +286 -3895
  69. bl_ui/properties_paint_common/__init__.pyi +40 -923
  70. bl_ui/properties_particle/__init__.pyi +954 -10839
  71. bl_ui/properties_physics_cloth/__init__.pyi +219 -2979
  72. bl_ui/properties_physics_common/__init__.pyi +1 -196
  73. bl_ui/properties_physics_dynamicpaint/__init__.pyi +429 -5411
  74. bl_ui/properties_physics_field/__init__.pyi +160 -2166
  75. bl_ui/properties_physics_fluid/__init__.pyi +541 -7352
  76. bl_ui/properties_physics_geometry_nodes/__init__.pyi +1 -189
  77. bl_ui/properties_physics_rigidbody/__init__.pyi +125 -1623
  78. bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +196 -2640
  79. bl_ui/properties_physics_softbody/__init__.pyi +238 -3135
  80. bl_ui/properties_render/__init__.pyi +1065 -11565
  81. bl_ui/properties_scene/__init__.pyi +209 -3090
  82. bl_ui/properties_texture/__init__.pyi +426 -5475
  83. bl_ui/properties_view_layer/__init__.pyi +264 -3827
  84. bl_ui/properties_workspace/__init__.pyi +7 -770
  85. bl_ui/properties_world/__init__.pyi +147 -2056
  86. bl_ui/space_clip/__init__.pyi +1013 -16279
  87. bl_ui/space_console/__init__.pyi +39 -1442
  88. bl_ui/space_dopesheet/__init__.pyi +450 -7213
  89. bl_ui/space_filebrowser/__init__.pyi +406 -6708
  90. bl_ui/space_graph/__init__.pyi +223 -4886
  91. bl_ui/space_image/__init__.pyi +1091 -16394
  92. bl_ui/space_info/__init__.pyi +39 -1442
  93. bl_ui/space_nla/__init__.pyi +216 -4157
  94. bl_ui/space_node/__init__.pyi +394 -6344
  95. bl_ui/space_outliner/__init__.pyi +156 -3448
  96. bl_ui/space_properties/__init__.pyi +3 -567
  97. bl_ui/space_sequencer/__init__.pyi +1224 -18036
  98. bl_ui/space_spreadsheet/__init__.pyi +1 -189
  99. bl_ui/space_statusbar/__init__.pyi +1 -189
  100. bl_ui/space_text/__init__.pyi +183 -3851
  101. bl_ui/space_time/__init__.pyi +69 -1622
  102. bl_ui/space_toolsystem_common/__init__.pyi +2 -118
  103. bl_ui/space_toolsystem_toolbar/__init__.pyi +13 -476
  104. bl_ui/space_topbar/__init__.pyi +322 -6269
  105. bl_ui/space_userpref/__init__.pyi +1758 -19735
  106. bl_ui/space_view3d/__init__.pyi +3853 -67593
  107. bl_ui/space_view3d_toolbar/__init__.pyi +1948 -23558
  108. bl_ui/temp_anim_layers/__init__.pyi +1 -189
  109. bl_ui/utils/__init__.pyi +0 -35
  110. bpy/ops/outliner/__init__.pyi +0 -1
  111. bpy/ops/screen/__init__.pyi +6 -3
  112. bpy/types/__init__.pyi +77 -5
  113. bpy_extras/node_shader_utils/__init__.pyi +0 -8
  114. {fake_bpy_module-20240717.dist-info → fake_bpy_module-20240719.dist-info}/METADATA +1 -1
  115. {fake_bpy_module-20240717.dist-info → fake_bpy_module-20240719.dist-info}/RECORD +119 -119
  116. {fake_bpy_module-20240717.dist-info → fake_bpy_module-20240719.dist-info}/WHEEL +1 -1
  117. keyingsets_builtins/__init__.pyi +268 -4448
  118. nodeitems_builtins/__init__.pyi +1 -7
  119. {fake_bpy_module-20240717.dist-info → fake_bpy_module-20240719.dist-info}/top_level.txt +0 -0
@@ -9,7 +9,7 @@ import rna_prop_ui
9
9
  GenericType1 = typing.TypeVar("GenericType1")
10
10
  GenericType2 = typing.TypeVar("GenericType2")
11
11
 
12
- class DATA_PT_context_gpencil(DataButtonsPanel, bpy_types._GenericUI):
12
+ class DATA_PT_context_gpencil(bpy.types.Panel, DataButtonsPanel, bpy_types._GenericUI):
13
13
  bl_context: typing.Any
14
14
  bl_label: typing.Any
15
15
  bl_options: typing.Any
@@ -18,22 +18,6 @@ class DATA_PT_context_gpencil(DataButtonsPanel, bpy_types._GenericUI):
18
18
  bl_space_type: typing.Any
19
19
  id_data: typing.Any
20
20
 
21
- def append(self, draw_func):
22
- """Append a draw function to this menu,
23
- takes the same arguments as the menus draw function
24
-
25
- :param draw_func:
26
- """
27
- ...
28
-
29
- def as_pointer(self) -> int:
30
- """Returns the memory address which holds a pointer to Blender's internal data
31
-
32
- :return: int (memory address).
33
- :rtype: int
34
- """
35
- ...
36
-
37
21
  def bl_rna_get_subclass(self) -> bpy.types.Struct:
38
22
  """
39
23
 
@@ -57,217 +41,266 @@ class DATA_PT_context_gpencil(DataButtonsPanel, bpy_types._GenericUI):
57
41
  """
58
42
  ...
59
43
 
60
- def driver_add(self) -> bpy.types.FCurve:
61
- """Adds driver(s) to the given property
62
-
63
- :return: The driver(s) added.
64
- :rtype: bpy.types.FCurve
65
- """
66
- ...
44
+ class DATA_PT_custom_props_gpencil(
45
+ bpy.types.Panel, DataButtonsPanel, rna_prop_ui.PropertyPanel, bpy_types._GenericUI
46
+ ):
47
+ """The subclass should have its own poll function
48
+ and the variable '_context_path' MUST be set.
49
+ """
67
50
 
68
- def driver_remove(self) -> bool:
69
- """Remove driver(s) from the given property
51
+ bl_context: typing.Any
52
+ bl_label: typing.Any
53
+ bl_options: typing.Any
54
+ bl_order: typing.Any
55
+ bl_region_type: typing.Any
56
+ bl_rna: typing.Any
57
+ bl_space_type: typing.Any
58
+ id_data: typing.Any
70
59
 
71
- :return: Success of driver removal.
72
- :rtype: bool
60
+ def bl_rna_get_subclass(self) -> bpy.types.Struct:
73
61
  """
74
- ...
75
-
76
- def get(self):
77
- """Returns the value of the custom property assigned to key or default
78
- when not found (matches Python's dictionary function of the same name).
79
62
 
63
+ :return: The RNA type or default when not found.
64
+ :rtype: bpy.types.Struct
80
65
  """
81
66
  ...
82
67
 
83
- def id_properties_clear(self):
68
+ def bl_rna_get_subclass_py(self) -> typing.Any:
84
69
  """
85
70
 
86
- :return: Remove the parent group for an RNA struct's custom IDProperties.
71
+ :return: The class or default when not found.
72
+ :rtype: typing.Any
87
73
  """
88
74
  ...
89
75
 
90
- def id_properties_ensure(self):
76
+ class DATA_PT_gpencil_canvas(bpy.types.Panel, DataButtonsPanel, bpy_types._GenericUI):
77
+ bl_context: typing.Any
78
+ bl_label: typing.Any
79
+ bl_options: typing.Any
80
+ bl_parent_id: typing.Any
81
+ bl_region_type: typing.Any
82
+ bl_rna: typing.Any
83
+ bl_space_type: typing.Any
84
+ id_data: typing.Any
85
+
86
+ def bl_rna_get_subclass(self) -> bpy.types.Struct:
91
87
  """
92
88
 
93
- :return: the parent group for an RNA struct's custom IDProperties.
89
+ :return: The RNA type or default when not found.
90
+ :rtype: bpy.types.Struct
94
91
  """
95
92
  ...
96
93
 
97
- def id_properties_ui(self):
94
+ def bl_rna_get_subclass_py(self) -> typing.Any:
98
95
  """
99
96
 
100
- :return: Return an object used to manage an IDProperty's UI data.
97
+ :return: The class or default when not found.
98
+ :rtype: typing.Any
101
99
  """
102
100
  ...
103
101
 
104
- def is_extended(self): ...
105
- def is_property_hidden(self) -> bool:
106
- """Check if a property is hidden.
102
+ def draw(self, context):
103
+ """
107
104
 
108
- :return: True when the property is hidden.
109
- :rtype: bool
105
+ :param context:
110
106
  """
111
107
  ...
112
108
 
113
- def is_property_overridable_library(self) -> bool:
114
- """Check if a property is overridable.
109
+ class DATA_PT_gpencil_display(bpy.types.Panel, DataButtonsPanel, bpy_types._GenericUI):
110
+ bl_context: typing.Any
111
+ bl_label: typing.Any
112
+ bl_options: typing.Any
113
+ bl_region_type: typing.Any
114
+ bl_rna: typing.Any
115
+ bl_space_type: typing.Any
116
+ id_data: typing.Any
115
117
 
116
- :return: True when the property is overridable.
117
- :rtype: bool
118
+ def bl_rna_get_subclass(self) -> bpy.types.Struct:
118
119
  """
119
- ...
120
-
121
- def is_property_readonly(self) -> bool:
122
- """Check if a property is readonly.
123
120
 
124
- :return: True when the property is readonly (not writable).
125
- :rtype: bool
121
+ :return: The RNA type or default when not found.
122
+ :rtype: bpy.types.Struct
126
123
  """
127
124
  ...
128
125
 
129
- def is_property_set(self) -> bool:
130
- """Check if a property is set, use for testing operator properties.
126
+ def bl_rna_get_subclass_py(self) -> typing.Any:
127
+ """
131
128
 
132
- :return: True when the property has been set.
133
- :rtype: bool
129
+ :return: The class or default when not found.
130
+ :rtype: typing.Any
134
131
  """
135
132
  ...
136
133
 
137
- def items(self):
138
- """Returns the items of this objects custom properties (matches Python's
139
- dictionary function of the same name).
134
+ def draw(self, context):
135
+ """
140
136
 
141
- :return: custom property key, value pairs.
137
+ :param context:
142
138
  """
143
139
  ...
144
140
 
145
- def keyframe_delete(self) -> bool:
146
- """Remove a keyframe from this properties fcurve.
141
+ class DATA_PT_gpencil_layer_adjustments(
142
+ bpy.types.Panel,
143
+ LayerDataButtonsPanel,
144
+ bl_ui.properties_grease_pencil_common.GreasePencilLayerAdjustmentsPanel,
145
+ bpy_types._GenericUI,
146
+ ):
147
+ bl_context: typing.Any
148
+ bl_label: typing.Any
149
+ bl_options: typing.Any
150
+ bl_parent_id: typing.Any
151
+ bl_region_type: typing.Any
152
+ bl_rna: typing.Any
153
+ bl_space_type: typing.Any
154
+ id_data: typing.Any
147
155
 
148
- :return: Success of keyframe deletion.
149
- :rtype: bool
156
+ def bl_rna_get_subclass(self) -> bpy.types.Struct:
150
157
  """
151
- ...
152
158
 
153
- def keyframe_insert(self) -> bool:
154
- """Insert a keyframe on the property given, adding fcurves and animation data when necessary.
155
-
156
- :return: Success of keyframe insertion.
157
- :rtype: bool
159
+ :return: The RNA type or default when not found.
160
+ :rtype: bpy.types.Struct
158
161
  """
159
162
  ...
160
163
 
161
- def keys(self):
162
- """Returns the keys of this objects custom properties (matches Python's
163
- dictionary function of the same name).
164
+ def bl_rna_get_subclass_py(self) -> typing.Any:
165
+ """
164
166
 
165
- :return: custom property keys.
167
+ :return: The class or default when not found.
168
+ :rtype: typing.Any
166
169
  """
167
170
  ...
168
171
 
169
- def path_from_id(self) -> str:
170
- """Returns the data path from the ID to this object (string).
172
+ class DATA_PT_gpencil_layer_display(
173
+ bpy.types.Panel,
174
+ LayerDataButtonsPanel,
175
+ bl_ui.properties_grease_pencil_common.GreasePencilLayerDisplayPanel,
176
+ bpy_types._GenericUI,
177
+ ):
178
+ bl_context: typing.Any
179
+ bl_label: typing.Any
180
+ bl_options: typing.Any
181
+ bl_parent_id: typing.Any
182
+ bl_region_type: typing.Any
183
+ bl_rna: typing.Any
184
+ bl_space_type: typing.Any
185
+ id_data: typing.Any
171
186
 
172
- :return: The path from `bpy.types.bpy_struct.id_data`
173
- to this struct and property (when given).
174
- :rtype: str
187
+ def bl_rna_get_subclass(self) -> bpy.types.Struct:
175
188
  """
176
- ...
177
189
 
178
- def path_resolve(self):
179
- """Returns the property from the path, raise an exception when not found."""
190
+ :return: The RNA type or default when not found.
191
+ :rtype: bpy.types.Struct
192
+ """
180
193
  ...
181
194
 
182
- def poll(self, context):
195
+ def bl_rna_get_subclass_py(self) -> typing.Any:
183
196
  """
184
197
 
185
- :param context:
198
+ :return: The class or default when not found.
199
+ :rtype: typing.Any
186
200
  """
187
201
  ...
188
202
 
189
- def pop(self):
190
- """Remove and return the value of the custom property assigned to key or default
191
- when not found (matches Python's dictionary function of the same name).
203
+ class DATA_PT_gpencil_layer_masks(
204
+ bpy.types.Panel,
205
+ LayerDataButtonsPanel,
206
+ bl_ui.properties_grease_pencil_common.GreasePencilLayerMasksPanel,
207
+ bpy_types._GenericUI,
208
+ ):
209
+ bl_context: typing.Any
210
+ bl_label: typing.Any
211
+ bl_options: typing.Any
212
+ bl_parent_id: typing.Any
213
+ bl_region_type: typing.Any
214
+ bl_rna: typing.Any
215
+ bl_space_type: typing.Any
216
+ id_data: typing.Any
192
217
 
218
+ def bl_rna_get_subclass(self) -> bpy.types.Struct:
193
219
  """
194
- ...
195
220
 
196
- def prepend(self, draw_func):
197
- """Prepend a draw function to this menu, takes the same arguments as
198
- the menus draw function
199
-
200
- :param draw_func:
221
+ :return: The RNA type or default when not found.
222
+ :rtype: bpy.types.Struct
201
223
  """
202
224
  ...
203
225
 
204
- def property_overridable_library_set(self) -> bool:
205
- """Define a property as overridable or not (only for custom properties!).
206
-
207
- :return: True when the overridable status of the property was successfully set.
208
- :rtype: bool
226
+ def bl_rna_get_subclass_py(self) -> typing.Any:
209
227
  """
210
- ...
211
228
 
212
- def property_unset(self):
213
- """Unset a property, will use default value afterward."""
229
+ :return: The class or default when not found.
230
+ :rtype: typing.Any
231
+ """
214
232
  ...
215
233
 
216
- def remove(self, draw_func):
217
- """Remove a draw function that has been added to this menu
234
+ class DATA_PT_gpencil_layer_relations(
235
+ bpy.types.Panel,
236
+ LayerDataButtonsPanel,
237
+ bl_ui.properties_grease_pencil_common.GreasePencilLayerRelationsPanel,
238
+ bpy_types._GenericUI,
239
+ ):
240
+ bl_context: typing.Any
241
+ bl_label: typing.Any
242
+ bl_options: typing.Any
243
+ bl_parent_id: typing.Any
244
+ bl_region_type: typing.Any
245
+ bl_rna: typing.Any
246
+ bl_space_type: typing.Any
247
+ id_data: typing.Any
218
248
 
219
- :param draw_func:
249
+ def bl_rna_get_subclass(self) -> bpy.types.Struct:
220
250
  """
221
- ...
222
251
 
223
- def type_recast(self):
224
- """Return a new instance, this is needed because types
225
- such as textures can be changed at runtime.
226
-
227
- :return: a new instance of this object with the type initialized again.
252
+ :return: The RNA type or default when not found.
253
+ :rtype: bpy.types.Struct
228
254
  """
229
255
  ...
230
256
 
231
- def values(self):
232
- """Returns the values of this objects custom properties (matches Python's
233
- dictionary function of the same name).
257
+ def bl_rna_get_subclass_py(self) -> typing.Any:
258
+ """
234
259
 
235
- :return: custom property values.
260
+ :return: The class or default when not found.
261
+ :rtype: typing.Any
236
262
  """
237
263
  ...
238
264
 
239
- class DATA_PT_custom_props_gpencil(
240
- DataButtonsPanel, rna_prop_ui.PropertyPanel, bpy_types._GenericUI
265
+ class DATA_PT_gpencil_layer_transform(
266
+ bpy.types.Panel,
267
+ LayerDataButtonsPanel,
268
+ bl_ui.properties_grease_pencil_common.GreasePencilLayerTransformPanel,
269
+ bpy_types._GenericUI,
241
270
  ):
242
- """The subclass should have its own poll function
243
- and the variable '_context_path' MUST be set.
244
- """
245
-
246
271
  bl_context: typing.Any
247
272
  bl_label: typing.Any
248
273
  bl_options: typing.Any
249
- bl_order: typing.Any
274
+ bl_parent_id: typing.Any
250
275
  bl_region_type: typing.Any
251
276
  bl_rna: typing.Any
252
277
  bl_space_type: typing.Any
253
278
  id_data: typing.Any
254
279
 
255
- def append(self, draw_func):
256
- """Append a draw function to this menu,
257
- takes the same arguments as the menus draw function
280
+ def bl_rna_get_subclass(self) -> bpy.types.Struct:
281
+ """
258
282
 
259
- :param draw_func:
283
+ :return: The RNA type or default when not found.
284
+ :rtype: bpy.types.Struct
260
285
  """
261
286
  ...
262
287
 
263
- def as_pointer(self) -> int:
264
- """Returns the memory address which holds a pointer to Blender's internal data
288
+ def bl_rna_get_subclass_py(self) -> typing.Any:
289
+ """
265
290
 
266
- :return: int (memory address).
267
- :rtype: int
291
+ :return: The class or default when not found.
292
+ :rtype: typing.Any
268
293
  """
269
294
  ...
270
295
 
296
+ class DATA_PT_gpencil_layers(bpy.types.Panel, DataButtonsPanel, bpy_types._GenericUI):
297
+ bl_context: typing.Any
298
+ bl_label: typing.Any
299
+ bl_region_type: typing.Any
300
+ bl_rna: typing.Any
301
+ bl_space_type: typing.Any
302
+ id_data: typing.Any
303
+
271
304
  def bl_rna_get_subclass(self) -> bpy.types.Struct:
272
305
  """
273
306
 
@@ -291,3492 +324,134 @@ class DATA_PT_custom_props_gpencil(
291
324
  """
292
325
  ...
293
326
 
294
- def driver_add(self) -> bpy.types.FCurve:
295
- """Adds driver(s) to the given property
296
-
297
- :return: The driver(s) added.
298
- :rtype: bpy.types.FCurve
327
+ def draw_layers(self, _context, layout, gpd):
299
328
  """
300
- ...
301
329
 
302
- def driver_remove(self) -> bool:
303
- """Remove driver(s) from the given property
304
-
305
- :return: Success of driver removal.
306
- :rtype: bool
330
+ :param _context:
331
+ :param layout:
332
+ :param gpd:
307
333
  """
308
334
  ...
309
335
 
310
- def get(self):
311
- """Returns the value of the custom property assigned to key or default
312
- when not found (matches Python's dictionary function of the same name).
313
-
314
- """
315
- ...
336
+ class DATA_PT_gpencil_onion_skinning(
337
+ bpy.types.Panel, DataButtonsPanel, bpy_types._GenericUI
338
+ ):
339
+ bl_context: typing.Any
340
+ bl_label: typing.Any
341
+ bl_region_type: typing.Any
342
+ bl_rna: typing.Any
343
+ bl_space_type: typing.Any
344
+ id_data: typing.Any
316
345
 
317
- def id_properties_clear(self):
346
+ def bl_rna_get_subclass(self) -> bpy.types.Struct:
318
347
  """
319
348
 
320
- :return: Remove the parent group for an RNA struct's custom IDProperties.
349
+ :return: The RNA type or default when not found.
350
+ :rtype: bpy.types.Struct
321
351
  """
322
352
  ...
323
353
 
324
- def id_properties_ensure(self):
354
+ def bl_rna_get_subclass_py(self) -> typing.Any:
325
355
  """
326
356
 
327
- :return: the parent group for an RNA struct's custom IDProperties.
357
+ :return: The class or default when not found.
358
+ :rtype: typing.Any
328
359
  """
329
360
  ...
330
361
 
331
- def id_properties_ui(self):
362
+ def draw(self, context):
332
363
  """
333
364
 
334
- :return: Return an object used to manage an IDProperty's UI data.
365
+ :param context:
335
366
  """
336
367
  ...
337
368
 
338
- def is_extended(self): ...
339
- def is_property_hidden(self) -> bool:
340
- """Check if a property is hidden.
369
+ class DATA_PT_gpencil_onion_skinning_custom_colors(
370
+ bpy.types.Panel, DataButtonsPanel, bpy_types._GenericUI
371
+ ):
372
+ bl_context: typing.Any
373
+ bl_label: typing.Any
374
+ bl_options: typing.Any
375
+ bl_parent_id: typing.Any
376
+ bl_region_type: typing.Any
377
+ bl_rna: typing.Any
378
+ bl_space_type: typing.Any
379
+ id_data: typing.Any
341
380
 
342
- :return: True when the property is hidden.
343
- :rtype: bool
381
+ def bl_rna_get_subclass(self) -> bpy.types.Struct:
344
382
  """
345
- ...
346
383
 
347
- def is_property_overridable_library(self) -> bool:
348
- """Check if a property is overridable.
349
-
350
- :return: True when the property is overridable.
351
- :rtype: bool
384
+ :return: The RNA type or default when not found.
385
+ :rtype: bpy.types.Struct
352
386
  """
353
387
  ...
354
388
 
355
- def is_property_readonly(self) -> bool:
356
- """Check if a property is readonly.
389
+ def bl_rna_get_subclass_py(self) -> typing.Any:
390
+ """
357
391
 
358
- :return: True when the property is readonly (not writable).
359
- :rtype: bool
392
+ :return: The class or default when not found.
393
+ :rtype: typing.Any
360
394
  """
361
395
  ...
362
396
 
363
- def is_property_set(self) -> bool:
364
- """Check if a property is set, use for testing operator properties.
397
+ def draw(self, context):
398
+ """
365
399
 
366
- :return: True when the property has been set.
367
- :rtype: bool
400
+ :param context:
368
401
  """
369
402
  ...
370
403
 
371
- def items(self):
372
- """Returns the items of this objects custom properties (matches Python's
373
- dictionary function of the same name).
404
+ def draw_header(self, context):
405
+ """
374
406
 
375
- :return: custom property key, value pairs.
407
+ :param context:
376
408
  """
377
409
  ...
378
410
 
379
- def keyframe_delete(self) -> bool:
380
- """Remove a keyframe from this properties fcurve.
411
+ class DATA_PT_gpencil_onion_skinning_display(
412
+ bpy.types.Panel, DataButtonsPanel, bpy_types._GenericUI
413
+ ):
414
+ bl_context: typing.Any
415
+ bl_label: typing.Any
416
+ bl_options: typing.Any
417
+ bl_parent_id: typing.Any
418
+ bl_region_type: typing.Any
419
+ bl_rna: typing.Any
420
+ bl_space_type: typing.Any
421
+ id_data: typing.Any
381
422
 
382
- :return: Success of keyframe deletion.
383
- :rtype: bool
423
+ def bl_rna_get_subclass(self) -> bpy.types.Struct:
384
424
  """
385
- ...
386
425
 
387
- def keyframe_insert(self) -> bool:
388
- """Insert a keyframe on the property given, adding fcurves and animation data when necessary.
389
-
390
- :return: Success of keyframe insertion.
391
- :rtype: bool
426
+ :return: The RNA type or default when not found.
427
+ :rtype: bpy.types.Struct
392
428
  """
393
429
  ...
394
430
 
395
- def keys(self):
396
- """Returns the keys of this objects custom properties (matches Python's
397
- dictionary function of the same name).
431
+ def bl_rna_get_subclass_py(self) -> typing.Any:
432
+ """
398
433
 
399
- :return: custom property keys.
434
+ :return: The class or default when not found.
435
+ :rtype: typing.Any
400
436
  """
401
437
  ...
402
438
 
403
- def path_from_id(self) -> str:
404
- """Returns the data path from the ID to this object (string).
439
+ def draw(self, context):
440
+ """
405
441
 
406
- :return: The path from `bpy.types.bpy_struct.id_data`
407
- to this struct and property (when given).
408
- :rtype: str
442
+ :param context:
409
443
  """
410
444
  ...
411
445
 
412
- def path_resolve(self):
413
- """Returns the property from the path, raise an exception when not found."""
414
- ...
415
-
416
- def poll(self, context):
417
- """
418
-
419
- :param context:
420
- """
421
- ...
422
-
423
- def pop(self):
424
- """Remove and return the value of the custom property assigned to key or default
425
- when not found (matches Python's dictionary function of the same name).
426
-
427
- """
428
- ...
429
-
430
- def prepend(self, draw_func):
431
- """Prepend a draw function to this menu, takes the same arguments as
432
- the menus draw function
433
-
434
- :param draw_func:
435
- """
436
- ...
437
-
438
- def property_overridable_library_set(self) -> bool:
439
- """Define a property as overridable or not (only for custom properties!).
440
-
441
- :return: True when the overridable status of the property was successfully set.
442
- :rtype: bool
443
- """
444
- ...
445
-
446
- def property_unset(self):
447
- """Unset a property, will use default value afterward."""
448
- ...
449
-
450
- def remove(self, draw_func):
451
- """Remove a draw function that has been added to this menu
452
-
453
- :param draw_func:
454
- """
455
- ...
456
-
457
- def type_recast(self):
458
- """Return a new instance, this is needed because types
459
- such as textures can be changed at runtime.
460
-
461
- :return: a new instance of this object with the type initialized again.
462
- """
463
- ...
464
-
465
- def values(self):
466
- """Returns the values of this objects custom properties (matches Python's
467
- dictionary function of the same name).
468
-
469
- :return: custom property values.
470
- """
471
- ...
472
-
473
- class DATA_PT_gpencil_canvas(DataButtonsPanel, bpy_types._GenericUI):
474
- bl_context: typing.Any
475
- bl_label: typing.Any
476
- bl_options: typing.Any
477
- bl_parent_id: typing.Any
478
- bl_region_type: typing.Any
479
- bl_rna: typing.Any
480
- bl_space_type: typing.Any
481
- id_data: typing.Any
482
-
483
- def append(self, draw_func):
484
- """Append a draw function to this menu,
485
- takes the same arguments as the menus draw function
486
-
487
- :param draw_func:
488
- """
489
- ...
490
-
491
- def as_pointer(self) -> int:
492
- """Returns the memory address which holds a pointer to Blender's internal data
493
-
494
- :return: int (memory address).
495
- :rtype: int
496
- """
497
- ...
498
-
499
- def bl_rna_get_subclass(self) -> bpy.types.Struct:
500
- """
501
-
502
- :return: The RNA type or default when not found.
503
- :rtype: bpy.types.Struct
504
- """
505
- ...
506
-
507
- def bl_rna_get_subclass_py(self) -> typing.Any:
508
- """
509
-
510
- :return: The class or default when not found.
511
- :rtype: typing.Any
512
- """
513
- ...
514
-
515
- def draw(self, context):
516
- """
517
-
518
- :param context:
519
- """
520
- ...
521
-
522
- def driver_add(self) -> bpy.types.FCurve:
523
- """Adds driver(s) to the given property
524
-
525
- :return: The driver(s) added.
526
- :rtype: bpy.types.FCurve
527
- """
528
- ...
529
-
530
- def driver_remove(self) -> bool:
531
- """Remove driver(s) from the given property
532
-
533
- :return: Success of driver removal.
534
- :rtype: bool
535
- """
536
- ...
537
-
538
- def get(self):
539
- """Returns the value of the custom property assigned to key or default
540
- when not found (matches Python's dictionary function of the same name).
541
-
542
- """
543
- ...
544
-
545
- def id_properties_clear(self):
546
- """
547
-
548
- :return: Remove the parent group for an RNA struct's custom IDProperties.
549
- """
550
- ...
551
-
552
- def id_properties_ensure(self):
553
- """
554
-
555
- :return: the parent group for an RNA struct's custom IDProperties.
556
- """
557
- ...
558
-
559
- def id_properties_ui(self):
560
- """
561
-
562
- :return: Return an object used to manage an IDProperty's UI data.
563
- """
564
- ...
565
-
566
- def is_extended(self): ...
567
- def is_property_hidden(self) -> bool:
568
- """Check if a property is hidden.
569
-
570
- :return: True when the property is hidden.
571
- :rtype: bool
572
- """
573
- ...
574
-
575
- def is_property_overridable_library(self) -> bool:
576
- """Check if a property is overridable.
577
-
578
- :return: True when the property is overridable.
579
- :rtype: bool
580
- """
581
- ...
582
-
583
- def is_property_readonly(self) -> bool:
584
- """Check if a property is readonly.
585
-
586
- :return: True when the property is readonly (not writable).
587
- :rtype: bool
588
- """
589
- ...
590
-
591
- def is_property_set(self) -> bool:
592
- """Check if a property is set, use for testing operator properties.
593
-
594
- :return: True when the property has been set.
595
- :rtype: bool
596
- """
597
- ...
598
-
599
- def items(self):
600
- """Returns the items of this objects custom properties (matches Python's
601
- dictionary function of the same name).
602
-
603
- :return: custom property key, value pairs.
604
- """
605
- ...
606
-
607
- def keyframe_delete(self) -> bool:
608
- """Remove a keyframe from this properties fcurve.
609
-
610
- :return: Success of keyframe deletion.
611
- :rtype: bool
612
- """
613
- ...
614
-
615
- def keyframe_insert(self) -> bool:
616
- """Insert a keyframe on the property given, adding fcurves and animation data when necessary.
617
-
618
- :return: Success of keyframe insertion.
619
- :rtype: bool
620
- """
621
- ...
622
-
623
- def keys(self):
624
- """Returns the keys of this objects custom properties (matches Python's
625
- dictionary function of the same name).
626
-
627
- :return: custom property keys.
628
- """
629
- ...
630
-
631
- def path_from_id(self) -> str:
632
- """Returns the data path from the ID to this object (string).
633
-
634
- :return: The path from `bpy.types.bpy_struct.id_data`
635
- to this struct and property (when given).
636
- :rtype: str
637
- """
638
- ...
639
-
640
- def path_resolve(self):
641
- """Returns the property from the path, raise an exception when not found."""
642
- ...
643
-
644
- def poll(self, context):
645
- """
646
-
647
- :param context:
648
- """
649
- ...
650
-
651
- def pop(self):
652
- """Remove and return the value of the custom property assigned to key or default
653
- when not found (matches Python's dictionary function of the same name).
654
-
655
- """
656
- ...
657
-
658
- def prepend(self, draw_func):
659
- """Prepend a draw function to this menu, takes the same arguments as
660
- the menus draw function
661
-
662
- :param draw_func:
663
- """
664
- ...
665
-
666
- def property_overridable_library_set(self) -> bool:
667
- """Define a property as overridable or not (only for custom properties!).
668
-
669
- :return: True when the overridable status of the property was successfully set.
670
- :rtype: bool
671
- """
672
- ...
673
-
674
- def property_unset(self):
675
- """Unset a property, will use default value afterward."""
676
- ...
677
-
678
- def remove(self, draw_func):
679
- """Remove a draw function that has been added to this menu
680
-
681
- :param draw_func:
682
- """
683
- ...
684
-
685
- def type_recast(self):
686
- """Return a new instance, this is needed because types
687
- such as textures can be changed at runtime.
688
-
689
- :return: a new instance of this object with the type initialized again.
690
- """
691
- ...
692
-
693
- def values(self):
694
- """Returns the values of this objects custom properties (matches Python's
695
- dictionary function of the same name).
696
-
697
- :return: custom property values.
698
- """
699
- ...
700
-
701
- class DATA_PT_gpencil_display(DataButtonsPanel, bpy_types._GenericUI):
702
- bl_context: typing.Any
703
- bl_label: typing.Any
704
- bl_options: typing.Any
705
- bl_region_type: typing.Any
706
- bl_rna: typing.Any
707
- bl_space_type: typing.Any
708
- id_data: typing.Any
709
-
710
- def append(self, draw_func):
711
- """Append a draw function to this menu,
712
- takes the same arguments as the menus draw function
713
-
714
- :param draw_func:
715
- """
716
- ...
717
-
718
- def as_pointer(self) -> int:
719
- """Returns the memory address which holds a pointer to Blender's internal data
720
-
721
- :return: int (memory address).
722
- :rtype: int
723
- """
724
- ...
725
-
726
- def bl_rna_get_subclass(self) -> bpy.types.Struct:
727
- """
728
-
729
- :return: The RNA type or default when not found.
730
- :rtype: bpy.types.Struct
731
- """
732
- ...
733
-
734
- def bl_rna_get_subclass_py(self) -> typing.Any:
735
- """
736
-
737
- :return: The class or default when not found.
738
- :rtype: typing.Any
739
- """
740
- ...
741
-
742
- def draw(self, context):
743
- """
744
-
745
- :param context:
746
- """
747
- ...
748
-
749
- def driver_add(self) -> bpy.types.FCurve:
750
- """Adds driver(s) to the given property
751
-
752
- :return: The driver(s) added.
753
- :rtype: bpy.types.FCurve
754
- """
755
- ...
756
-
757
- def driver_remove(self) -> bool:
758
- """Remove driver(s) from the given property
759
-
760
- :return: Success of driver removal.
761
- :rtype: bool
762
- """
763
- ...
764
-
765
- def get(self):
766
- """Returns the value of the custom property assigned to key or default
767
- when not found (matches Python's dictionary function of the same name).
768
-
769
- """
770
- ...
771
-
772
- def id_properties_clear(self):
773
- """
774
-
775
- :return: Remove the parent group for an RNA struct's custom IDProperties.
776
- """
777
- ...
778
-
779
- def id_properties_ensure(self):
780
- """
781
-
782
- :return: the parent group for an RNA struct's custom IDProperties.
783
- """
784
- ...
785
-
786
- def id_properties_ui(self):
787
- """
788
-
789
- :return: Return an object used to manage an IDProperty's UI data.
790
- """
791
- ...
792
-
793
- def is_extended(self): ...
794
- def is_property_hidden(self) -> bool:
795
- """Check if a property is hidden.
796
-
797
- :return: True when the property is hidden.
798
- :rtype: bool
799
- """
800
- ...
801
-
802
- def is_property_overridable_library(self) -> bool:
803
- """Check if a property is overridable.
804
-
805
- :return: True when the property is overridable.
806
- :rtype: bool
807
- """
808
- ...
809
-
810
- def is_property_readonly(self) -> bool:
811
- """Check if a property is readonly.
812
-
813
- :return: True when the property is readonly (not writable).
814
- :rtype: bool
815
- """
816
- ...
817
-
818
- def is_property_set(self) -> bool:
819
- """Check if a property is set, use for testing operator properties.
820
-
821
- :return: True when the property has been set.
822
- :rtype: bool
823
- """
824
- ...
825
-
826
- def items(self):
827
- """Returns the items of this objects custom properties (matches Python's
828
- dictionary function of the same name).
829
-
830
- :return: custom property key, value pairs.
831
- """
832
- ...
833
-
834
- def keyframe_delete(self) -> bool:
835
- """Remove a keyframe from this properties fcurve.
836
-
837
- :return: Success of keyframe deletion.
838
- :rtype: bool
839
- """
840
- ...
841
-
842
- def keyframe_insert(self) -> bool:
843
- """Insert a keyframe on the property given, adding fcurves and animation data when necessary.
844
-
845
- :return: Success of keyframe insertion.
846
- :rtype: bool
847
- """
848
- ...
849
-
850
- def keys(self):
851
- """Returns the keys of this objects custom properties (matches Python's
852
- dictionary function of the same name).
853
-
854
- :return: custom property keys.
855
- """
856
- ...
857
-
858
- def path_from_id(self) -> str:
859
- """Returns the data path from the ID to this object (string).
860
-
861
- :return: The path from `bpy.types.bpy_struct.id_data`
862
- to this struct and property (when given).
863
- :rtype: str
864
- """
865
- ...
866
-
867
- def path_resolve(self):
868
- """Returns the property from the path, raise an exception when not found."""
869
- ...
870
-
871
- def poll(self, context):
872
- """
873
-
874
- :param context:
875
- """
876
- ...
877
-
878
- def pop(self):
879
- """Remove and return the value of the custom property assigned to key or default
880
- when not found (matches Python's dictionary function of the same name).
881
-
882
- """
883
- ...
884
-
885
- def prepend(self, draw_func):
886
- """Prepend a draw function to this menu, takes the same arguments as
887
- the menus draw function
888
-
889
- :param draw_func:
890
- """
891
- ...
892
-
893
- def property_overridable_library_set(self) -> bool:
894
- """Define a property as overridable or not (only for custom properties!).
895
-
896
- :return: True when the overridable status of the property was successfully set.
897
- :rtype: bool
898
- """
899
- ...
900
-
901
- def property_unset(self):
902
- """Unset a property, will use default value afterward."""
903
- ...
904
-
905
- def remove(self, draw_func):
906
- """Remove a draw function that has been added to this menu
907
-
908
- :param draw_func:
909
- """
910
- ...
911
-
912
- def type_recast(self):
913
- """Return a new instance, this is needed because types
914
- such as textures can be changed at runtime.
915
-
916
- :return: a new instance of this object with the type initialized again.
917
- """
918
- ...
919
-
920
- def values(self):
921
- """Returns the values of this objects custom properties (matches Python's
922
- dictionary function of the same name).
923
-
924
- :return: custom property values.
925
- """
926
- ...
927
-
928
- class DATA_PT_gpencil_layer_adjustments(
929
- LayerDataButtonsPanel,
930
- bl_ui.properties_grease_pencil_common.GreasePencilLayerAdjustmentsPanel,
931
- bpy_types._GenericUI,
932
- ):
933
- bl_context: typing.Any
934
- bl_label: typing.Any
935
- bl_options: typing.Any
936
- bl_parent_id: typing.Any
937
- bl_region_type: typing.Any
938
- bl_rna: typing.Any
939
- bl_space_type: typing.Any
940
- id_data: typing.Any
941
-
942
- def append(self, draw_func):
943
- """Append a draw function to this menu,
944
- takes the same arguments as the menus draw function
945
-
946
- :param draw_func:
947
- """
948
- ...
949
-
950
- def as_pointer(self) -> int:
951
- """Returns the memory address which holds a pointer to Blender's internal data
952
-
953
- :return: int (memory address).
954
- :rtype: int
955
- """
956
- ...
957
-
958
- def bl_rna_get_subclass(self) -> bpy.types.Struct:
959
- """
960
-
961
- :return: The RNA type or default when not found.
962
- :rtype: bpy.types.Struct
963
- """
964
- ...
965
-
966
- def bl_rna_get_subclass_py(self) -> typing.Any:
967
- """
968
-
969
- :return: The class or default when not found.
970
- :rtype: typing.Any
971
- """
972
- ...
973
-
974
- def draw(self, context):
975
- """
976
-
977
- :param context:
978
- """
979
- ...
980
-
981
- def driver_add(self) -> bpy.types.FCurve:
982
- """Adds driver(s) to the given property
983
-
984
- :return: The driver(s) added.
985
- :rtype: bpy.types.FCurve
986
- """
987
- ...
988
-
989
- def driver_remove(self) -> bool:
990
- """Remove driver(s) from the given property
991
-
992
- :return: Success of driver removal.
993
- :rtype: bool
994
- """
995
- ...
996
-
997
- def get(self):
998
- """Returns the value of the custom property assigned to key or default
999
- when not found (matches Python's dictionary function of the same name).
1000
-
1001
- """
1002
- ...
1003
-
1004
- def id_properties_clear(self):
1005
- """
1006
-
1007
- :return: Remove the parent group for an RNA struct's custom IDProperties.
1008
- """
1009
- ...
1010
-
1011
- def id_properties_ensure(self):
1012
- """
1013
-
1014
- :return: the parent group for an RNA struct's custom IDProperties.
1015
- """
1016
- ...
1017
-
1018
- def id_properties_ui(self):
1019
- """
1020
-
1021
- :return: Return an object used to manage an IDProperty's UI data.
1022
- """
1023
- ...
1024
-
1025
- def is_extended(self): ...
1026
- def is_property_hidden(self) -> bool:
1027
- """Check if a property is hidden.
1028
-
1029
- :return: True when the property is hidden.
1030
- :rtype: bool
1031
- """
1032
- ...
1033
-
1034
- def is_property_overridable_library(self) -> bool:
1035
- """Check if a property is overridable.
1036
-
1037
- :return: True when the property is overridable.
1038
- :rtype: bool
1039
- """
1040
- ...
1041
-
1042
- def is_property_readonly(self) -> bool:
1043
- """Check if a property is readonly.
1044
-
1045
- :return: True when the property is readonly (not writable).
1046
- :rtype: bool
1047
- """
1048
- ...
1049
-
1050
- def is_property_set(self) -> bool:
1051
- """Check if a property is set, use for testing operator properties.
1052
-
1053
- :return: True when the property has been set.
1054
- :rtype: bool
1055
- """
1056
- ...
1057
-
1058
- def items(self):
1059
- """Returns the items of this objects custom properties (matches Python's
1060
- dictionary function of the same name).
1061
-
1062
- :return: custom property key, value pairs.
1063
- """
1064
- ...
1065
-
1066
- def keyframe_delete(self) -> bool:
1067
- """Remove a keyframe from this properties fcurve.
1068
-
1069
- :return: Success of keyframe deletion.
1070
- :rtype: bool
1071
- """
1072
- ...
1073
-
1074
- def keyframe_insert(self) -> bool:
1075
- """Insert a keyframe on the property given, adding fcurves and animation data when necessary.
1076
-
1077
- :return: Success of keyframe insertion.
1078
- :rtype: bool
1079
- """
1080
- ...
1081
-
1082
- def keys(self):
1083
- """Returns the keys of this objects custom properties (matches Python's
1084
- dictionary function of the same name).
1085
-
1086
- :return: custom property keys.
1087
- """
1088
- ...
1089
-
1090
- def path_from_id(self) -> str:
1091
- """Returns the data path from the ID to this object (string).
1092
-
1093
- :return: The path from `bpy.types.bpy_struct.id_data`
1094
- to this struct and property (when given).
1095
- :rtype: str
1096
- """
1097
- ...
1098
-
1099
- def path_resolve(self):
1100
- """Returns the property from the path, raise an exception when not found."""
1101
- ...
1102
-
1103
- def poll(self, context):
1104
- """
1105
-
1106
- :param context:
1107
- """
1108
- ...
1109
-
1110
- def pop(self):
1111
- """Remove and return the value of the custom property assigned to key or default
1112
- when not found (matches Python's dictionary function of the same name).
1113
-
1114
- """
1115
- ...
1116
-
1117
- def prepend(self, draw_func):
1118
- """Prepend a draw function to this menu, takes the same arguments as
1119
- the menus draw function
1120
-
1121
- :param draw_func:
1122
- """
1123
- ...
1124
-
1125
- def property_overridable_library_set(self) -> bool:
1126
- """Define a property as overridable or not (only for custom properties!).
1127
-
1128
- :return: True when the overridable status of the property was successfully set.
1129
- :rtype: bool
1130
- """
1131
- ...
1132
-
1133
- def property_unset(self):
1134
- """Unset a property, will use default value afterward."""
1135
- ...
1136
-
1137
- def remove(self, draw_func):
1138
- """Remove a draw function that has been added to this menu
1139
-
1140
- :param draw_func:
1141
- """
1142
- ...
1143
-
1144
- def type_recast(self):
1145
- """Return a new instance, this is needed because types
1146
- such as textures can be changed at runtime.
1147
-
1148
- :return: a new instance of this object with the type initialized again.
1149
- """
1150
- ...
1151
-
1152
- def values(self):
1153
- """Returns the values of this objects custom properties (matches Python's
1154
- dictionary function of the same name).
1155
-
1156
- :return: custom property values.
1157
- """
1158
- ...
1159
-
1160
- class DATA_PT_gpencil_layer_display(
1161
- LayerDataButtonsPanel,
1162
- bl_ui.properties_grease_pencil_common.GreasePencilLayerDisplayPanel,
1163
- bpy_types._GenericUI,
1164
- ):
1165
- bl_context: typing.Any
1166
- bl_label: typing.Any
1167
- bl_options: typing.Any
1168
- bl_parent_id: typing.Any
1169
- bl_region_type: typing.Any
1170
- bl_rna: typing.Any
1171
- bl_space_type: typing.Any
1172
- id_data: typing.Any
1173
-
1174
- def append(self, draw_func):
1175
- """Append a draw function to this menu,
1176
- takes the same arguments as the menus draw function
1177
-
1178
- :param draw_func:
1179
- """
1180
- ...
1181
-
1182
- def as_pointer(self) -> int:
1183
- """Returns the memory address which holds a pointer to Blender's internal data
1184
-
1185
- :return: int (memory address).
1186
- :rtype: int
1187
- """
1188
- ...
1189
-
1190
- def bl_rna_get_subclass(self) -> bpy.types.Struct:
1191
- """
1192
-
1193
- :return: The RNA type or default when not found.
1194
- :rtype: bpy.types.Struct
1195
- """
1196
- ...
1197
-
1198
- def bl_rna_get_subclass_py(self) -> typing.Any:
1199
- """
1200
-
1201
- :return: The class or default when not found.
1202
- :rtype: typing.Any
1203
- """
1204
- ...
1205
-
1206
- def draw(self, context):
1207
- """
1208
-
1209
- :param context:
1210
- """
1211
- ...
1212
-
1213
- def driver_add(self) -> bpy.types.FCurve:
1214
- """Adds driver(s) to the given property
1215
-
1216
- :return: The driver(s) added.
1217
- :rtype: bpy.types.FCurve
1218
- """
1219
- ...
1220
-
1221
- def driver_remove(self) -> bool:
1222
- """Remove driver(s) from the given property
1223
-
1224
- :return: Success of driver removal.
1225
- :rtype: bool
1226
- """
1227
- ...
1228
-
1229
- def get(self):
1230
- """Returns the value of the custom property assigned to key or default
1231
- when not found (matches Python's dictionary function of the same name).
1232
-
1233
- """
1234
- ...
1235
-
1236
- def id_properties_clear(self):
1237
- """
1238
-
1239
- :return: Remove the parent group for an RNA struct's custom IDProperties.
1240
- """
1241
- ...
1242
-
1243
- def id_properties_ensure(self):
1244
- """
1245
-
1246
- :return: the parent group for an RNA struct's custom IDProperties.
1247
- """
1248
- ...
1249
-
1250
- def id_properties_ui(self):
1251
- """
1252
-
1253
- :return: Return an object used to manage an IDProperty's UI data.
1254
- """
1255
- ...
1256
-
1257
- def is_extended(self): ...
1258
- def is_property_hidden(self) -> bool:
1259
- """Check if a property is hidden.
1260
-
1261
- :return: True when the property is hidden.
1262
- :rtype: bool
1263
- """
1264
- ...
1265
-
1266
- def is_property_overridable_library(self) -> bool:
1267
- """Check if a property is overridable.
1268
-
1269
- :return: True when the property is overridable.
1270
- :rtype: bool
1271
- """
1272
- ...
1273
-
1274
- def is_property_readonly(self) -> bool:
1275
- """Check if a property is readonly.
1276
-
1277
- :return: True when the property is readonly (not writable).
1278
- :rtype: bool
1279
- """
1280
- ...
1281
-
1282
- def is_property_set(self) -> bool:
1283
- """Check if a property is set, use for testing operator properties.
1284
-
1285
- :return: True when the property has been set.
1286
- :rtype: bool
1287
- """
1288
- ...
1289
-
1290
- def items(self):
1291
- """Returns the items of this objects custom properties (matches Python's
1292
- dictionary function of the same name).
1293
-
1294
- :return: custom property key, value pairs.
1295
- """
1296
- ...
1297
-
1298
- def keyframe_delete(self) -> bool:
1299
- """Remove a keyframe from this properties fcurve.
1300
-
1301
- :return: Success of keyframe deletion.
1302
- :rtype: bool
1303
- """
1304
- ...
1305
-
1306
- def keyframe_insert(self) -> bool:
1307
- """Insert a keyframe on the property given, adding fcurves and animation data when necessary.
1308
-
1309
- :return: Success of keyframe insertion.
1310
- :rtype: bool
1311
- """
1312
- ...
1313
-
1314
- def keys(self):
1315
- """Returns the keys of this objects custom properties (matches Python's
1316
- dictionary function of the same name).
1317
-
1318
- :return: custom property keys.
1319
- """
1320
- ...
1321
-
1322
- def path_from_id(self) -> str:
1323
- """Returns the data path from the ID to this object (string).
1324
-
1325
- :return: The path from `bpy.types.bpy_struct.id_data`
1326
- to this struct and property (when given).
1327
- :rtype: str
1328
- """
1329
- ...
1330
-
1331
- def path_resolve(self):
1332
- """Returns the property from the path, raise an exception when not found."""
1333
- ...
1334
-
1335
- def poll(self, context):
1336
- """
1337
-
1338
- :param context:
1339
- """
1340
- ...
1341
-
1342
- def pop(self):
1343
- """Remove and return the value of the custom property assigned to key or default
1344
- when not found (matches Python's dictionary function of the same name).
1345
-
1346
- """
1347
- ...
1348
-
1349
- def prepend(self, draw_func):
1350
- """Prepend a draw function to this menu, takes the same arguments as
1351
- the menus draw function
1352
-
1353
- :param draw_func:
1354
- """
1355
- ...
1356
-
1357
- def property_overridable_library_set(self) -> bool:
1358
- """Define a property as overridable or not (only for custom properties!).
1359
-
1360
- :return: True when the overridable status of the property was successfully set.
1361
- :rtype: bool
1362
- """
1363
- ...
1364
-
1365
- def property_unset(self):
1366
- """Unset a property, will use default value afterward."""
1367
- ...
1368
-
1369
- def remove(self, draw_func):
1370
- """Remove a draw function that has been added to this menu
1371
-
1372
- :param draw_func:
1373
- """
1374
- ...
1375
-
1376
- def type_recast(self):
1377
- """Return a new instance, this is needed because types
1378
- such as textures can be changed at runtime.
1379
-
1380
- :return: a new instance of this object with the type initialized again.
1381
- """
1382
- ...
1383
-
1384
- def values(self):
1385
- """Returns the values of this objects custom properties (matches Python's
1386
- dictionary function of the same name).
1387
-
1388
- :return: custom property values.
1389
- """
1390
- ...
1391
-
1392
- class DATA_PT_gpencil_layer_masks(
1393
- LayerDataButtonsPanel,
1394
- bl_ui.properties_grease_pencil_common.GreasePencilLayerMasksPanel,
1395
- bpy_types._GenericUI,
1396
- ):
1397
- bl_context: typing.Any
1398
- bl_label: typing.Any
1399
- bl_options: typing.Any
1400
- bl_parent_id: typing.Any
1401
- bl_region_type: typing.Any
1402
- bl_rna: typing.Any
1403
- bl_space_type: typing.Any
1404
- id_data: typing.Any
1405
-
1406
- def append(self, draw_func):
1407
- """Append a draw function to this menu,
1408
- takes the same arguments as the menus draw function
1409
-
1410
- :param draw_func:
1411
- """
1412
- ...
1413
-
1414
- def as_pointer(self) -> int:
1415
- """Returns the memory address which holds a pointer to Blender's internal data
1416
-
1417
- :return: int (memory address).
1418
- :rtype: int
1419
- """
1420
- ...
1421
-
1422
- def bl_rna_get_subclass(self) -> bpy.types.Struct:
1423
- """
1424
-
1425
- :return: The RNA type or default when not found.
1426
- :rtype: bpy.types.Struct
1427
- """
1428
- ...
1429
-
1430
- def bl_rna_get_subclass_py(self) -> typing.Any:
1431
- """
1432
-
1433
- :return: The class or default when not found.
1434
- :rtype: typing.Any
1435
- """
1436
- ...
1437
-
1438
- def draw(self, context):
1439
- """
1440
-
1441
- :param context:
1442
- """
1443
- ...
1444
-
1445
- def draw_header(self, context):
1446
- """
1447
-
1448
- :param context:
1449
- """
1450
- ...
1451
-
1452
- def driver_add(self) -> bpy.types.FCurve:
1453
- """Adds driver(s) to the given property
1454
-
1455
- :return: The driver(s) added.
1456
- :rtype: bpy.types.FCurve
1457
- """
1458
- ...
1459
-
1460
- def driver_remove(self) -> bool:
1461
- """Remove driver(s) from the given property
1462
-
1463
- :return: Success of driver removal.
1464
- :rtype: bool
1465
- """
1466
- ...
1467
-
1468
- def get(self):
1469
- """Returns the value of the custom property assigned to key or default
1470
- when not found (matches Python's dictionary function of the same name).
1471
-
1472
- """
1473
- ...
1474
-
1475
- def id_properties_clear(self):
1476
- """
1477
-
1478
- :return: Remove the parent group for an RNA struct's custom IDProperties.
1479
- """
1480
- ...
1481
-
1482
- def id_properties_ensure(self):
1483
- """
1484
-
1485
- :return: the parent group for an RNA struct's custom IDProperties.
1486
- """
1487
- ...
1488
-
1489
- def id_properties_ui(self):
1490
- """
1491
-
1492
- :return: Return an object used to manage an IDProperty's UI data.
1493
- """
1494
- ...
1495
-
1496
- def is_extended(self): ...
1497
- def is_property_hidden(self) -> bool:
1498
- """Check if a property is hidden.
1499
-
1500
- :return: True when the property is hidden.
1501
- :rtype: bool
1502
- """
1503
- ...
1504
-
1505
- def is_property_overridable_library(self) -> bool:
1506
- """Check if a property is overridable.
1507
-
1508
- :return: True when the property is overridable.
1509
- :rtype: bool
1510
- """
1511
- ...
1512
-
1513
- def is_property_readonly(self) -> bool:
1514
- """Check if a property is readonly.
1515
-
1516
- :return: True when the property is readonly (not writable).
1517
- :rtype: bool
1518
- """
1519
- ...
1520
-
1521
- def is_property_set(self) -> bool:
1522
- """Check if a property is set, use for testing operator properties.
1523
-
1524
- :return: True when the property has been set.
1525
- :rtype: bool
1526
- """
1527
- ...
1528
-
1529
- def items(self):
1530
- """Returns the items of this objects custom properties (matches Python's
1531
- dictionary function of the same name).
1532
-
1533
- :return: custom property key, value pairs.
1534
- """
1535
- ...
1536
-
1537
- def keyframe_delete(self) -> bool:
1538
- """Remove a keyframe from this properties fcurve.
1539
-
1540
- :return: Success of keyframe deletion.
1541
- :rtype: bool
1542
- """
1543
- ...
1544
-
1545
- def keyframe_insert(self) -> bool:
1546
- """Insert a keyframe on the property given, adding fcurves and animation data when necessary.
1547
-
1548
- :return: Success of keyframe insertion.
1549
- :rtype: bool
1550
- """
1551
- ...
1552
-
1553
- def keys(self):
1554
- """Returns the keys of this objects custom properties (matches Python's
1555
- dictionary function of the same name).
1556
-
1557
- :return: custom property keys.
1558
- """
1559
- ...
1560
-
1561
- def path_from_id(self) -> str:
1562
- """Returns the data path from the ID to this object (string).
1563
-
1564
- :return: The path from `bpy.types.bpy_struct.id_data`
1565
- to this struct and property (when given).
1566
- :rtype: str
1567
- """
1568
- ...
1569
-
1570
- def path_resolve(self):
1571
- """Returns the property from the path, raise an exception when not found."""
1572
- ...
1573
-
1574
- def poll(self, context):
1575
- """
1576
-
1577
- :param context:
1578
- """
1579
- ...
1580
-
1581
- def pop(self):
1582
- """Remove and return the value of the custom property assigned to key or default
1583
- when not found (matches Python's dictionary function of the same name).
1584
-
1585
- """
1586
- ...
1587
-
1588
- def prepend(self, draw_func):
1589
- """Prepend a draw function to this menu, takes the same arguments as
1590
- the menus draw function
1591
-
1592
- :param draw_func:
1593
- """
1594
- ...
1595
-
1596
- def property_overridable_library_set(self) -> bool:
1597
- """Define a property as overridable or not (only for custom properties!).
1598
-
1599
- :return: True when the overridable status of the property was successfully set.
1600
- :rtype: bool
1601
- """
1602
- ...
1603
-
1604
- def property_unset(self):
1605
- """Unset a property, will use default value afterward."""
1606
- ...
1607
-
1608
- def remove(self, draw_func):
1609
- """Remove a draw function that has been added to this menu
1610
-
1611
- :param draw_func:
1612
- """
1613
- ...
1614
-
1615
- def type_recast(self):
1616
- """Return a new instance, this is needed because types
1617
- such as textures can be changed at runtime.
1618
-
1619
- :return: a new instance of this object with the type initialized again.
1620
- """
1621
- ...
1622
-
1623
- def values(self):
1624
- """Returns the values of this objects custom properties (matches Python's
1625
- dictionary function of the same name).
1626
-
1627
- :return: custom property values.
1628
- """
1629
- ...
1630
-
1631
- class DATA_PT_gpencil_layer_relations(
1632
- LayerDataButtonsPanel,
1633
- bl_ui.properties_grease_pencil_common.GreasePencilLayerRelationsPanel,
1634
- bpy_types._GenericUI,
1635
- ):
1636
- bl_context: typing.Any
1637
- bl_label: typing.Any
1638
- bl_options: typing.Any
1639
- bl_parent_id: typing.Any
1640
- bl_region_type: typing.Any
1641
- bl_rna: typing.Any
1642
- bl_space_type: typing.Any
1643
- id_data: typing.Any
1644
-
1645
- def append(self, draw_func):
1646
- """Append a draw function to this menu,
1647
- takes the same arguments as the menus draw function
1648
-
1649
- :param draw_func:
1650
- """
1651
- ...
1652
-
1653
- def as_pointer(self) -> int:
1654
- """Returns the memory address which holds a pointer to Blender's internal data
1655
-
1656
- :return: int (memory address).
1657
- :rtype: int
1658
- """
1659
- ...
1660
-
1661
- def bl_rna_get_subclass(self) -> bpy.types.Struct:
1662
- """
1663
-
1664
- :return: The RNA type or default when not found.
1665
- :rtype: bpy.types.Struct
1666
- """
1667
- ...
1668
-
1669
- def bl_rna_get_subclass_py(self) -> typing.Any:
1670
- """
1671
-
1672
- :return: The class or default when not found.
1673
- :rtype: typing.Any
1674
- """
1675
- ...
1676
-
1677
- def draw(self, context):
1678
- """
1679
-
1680
- :param context:
1681
- """
1682
- ...
1683
-
1684
- def driver_add(self) -> bpy.types.FCurve:
1685
- """Adds driver(s) to the given property
1686
-
1687
- :return: The driver(s) added.
1688
- :rtype: bpy.types.FCurve
1689
- """
1690
- ...
1691
-
1692
- def driver_remove(self) -> bool:
1693
- """Remove driver(s) from the given property
1694
-
1695
- :return: Success of driver removal.
1696
- :rtype: bool
1697
- """
1698
- ...
1699
-
1700
- def get(self):
1701
- """Returns the value of the custom property assigned to key or default
1702
- when not found (matches Python's dictionary function of the same name).
1703
-
1704
- """
1705
- ...
1706
-
1707
- def id_properties_clear(self):
1708
- """
1709
-
1710
- :return: Remove the parent group for an RNA struct's custom IDProperties.
1711
- """
1712
- ...
1713
-
1714
- def id_properties_ensure(self):
1715
- """
1716
-
1717
- :return: the parent group for an RNA struct's custom IDProperties.
1718
- """
1719
- ...
1720
-
1721
- def id_properties_ui(self):
1722
- """
1723
-
1724
- :return: Return an object used to manage an IDProperty's UI data.
1725
- """
1726
- ...
1727
-
1728
- def is_extended(self): ...
1729
- def is_property_hidden(self) -> bool:
1730
- """Check if a property is hidden.
1731
-
1732
- :return: True when the property is hidden.
1733
- :rtype: bool
1734
- """
1735
- ...
1736
-
1737
- def is_property_overridable_library(self) -> bool:
1738
- """Check if a property is overridable.
1739
-
1740
- :return: True when the property is overridable.
1741
- :rtype: bool
1742
- """
1743
- ...
1744
-
1745
- def is_property_readonly(self) -> bool:
1746
- """Check if a property is readonly.
1747
-
1748
- :return: True when the property is readonly (not writable).
1749
- :rtype: bool
1750
- """
1751
- ...
1752
-
1753
- def is_property_set(self) -> bool:
1754
- """Check if a property is set, use for testing operator properties.
1755
-
1756
- :return: True when the property has been set.
1757
- :rtype: bool
1758
- """
1759
- ...
1760
-
1761
- def items(self):
1762
- """Returns the items of this objects custom properties (matches Python's
1763
- dictionary function of the same name).
1764
-
1765
- :return: custom property key, value pairs.
1766
- """
1767
- ...
1768
-
1769
- def keyframe_delete(self) -> bool:
1770
- """Remove a keyframe from this properties fcurve.
1771
-
1772
- :return: Success of keyframe deletion.
1773
- :rtype: bool
1774
- """
1775
- ...
1776
-
1777
- def keyframe_insert(self) -> bool:
1778
- """Insert a keyframe on the property given, adding fcurves and animation data when necessary.
1779
-
1780
- :return: Success of keyframe insertion.
1781
- :rtype: bool
1782
- """
1783
- ...
1784
-
1785
- def keys(self):
1786
- """Returns the keys of this objects custom properties (matches Python's
1787
- dictionary function of the same name).
1788
-
1789
- :return: custom property keys.
1790
- """
1791
- ...
1792
-
1793
- def path_from_id(self) -> str:
1794
- """Returns the data path from the ID to this object (string).
1795
-
1796
- :return: The path from `bpy.types.bpy_struct.id_data`
1797
- to this struct and property (when given).
1798
- :rtype: str
1799
- """
1800
- ...
1801
-
1802
- def path_resolve(self):
1803
- """Returns the property from the path, raise an exception when not found."""
1804
- ...
1805
-
1806
- def poll(self, context):
1807
- """
1808
-
1809
- :param context:
1810
- """
1811
- ...
1812
-
1813
- def pop(self):
1814
- """Remove and return the value of the custom property assigned to key or default
1815
- when not found (matches Python's dictionary function of the same name).
1816
-
1817
- """
1818
- ...
1819
-
1820
- def prepend(self, draw_func):
1821
- """Prepend a draw function to this menu, takes the same arguments as
1822
- the menus draw function
1823
-
1824
- :param draw_func:
1825
- """
1826
- ...
1827
-
1828
- def property_overridable_library_set(self) -> bool:
1829
- """Define a property as overridable or not (only for custom properties!).
1830
-
1831
- :return: True when the overridable status of the property was successfully set.
1832
- :rtype: bool
1833
- """
1834
- ...
1835
-
1836
- def property_unset(self):
1837
- """Unset a property, will use default value afterward."""
1838
- ...
1839
-
1840
- def remove(self, draw_func):
1841
- """Remove a draw function that has been added to this menu
1842
-
1843
- :param draw_func:
1844
- """
1845
- ...
1846
-
1847
- def type_recast(self):
1848
- """Return a new instance, this is needed because types
1849
- such as textures can be changed at runtime.
1850
-
1851
- :return: a new instance of this object with the type initialized again.
1852
- """
1853
- ...
1854
-
1855
- def values(self):
1856
- """Returns the values of this objects custom properties (matches Python's
1857
- dictionary function of the same name).
1858
-
1859
- :return: custom property values.
1860
- """
1861
- ...
1862
-
1863
- class DATA_PT_gpencil_layer_transform(
1864
- LayerDataButtonsPanel,
1865
- bl_ui.properties_grease_pencil_common.GreasePencilLayerTransformPanel,
1866
- bpy_types._GenericUI,
1867
- ):
1868
- bl_context: typing.Any
1869
- bl_label: typing.Any
1870
- bl_options: typing.Any
1871
- bl_parent_id: typing.Any
1872
- bl_region_type: typing.Any
1873
- bl_rna: typing.Any
1874
- bl_space_type: typing.Any
1875
- id_data: typing.Any
1876
-
1877
- def append(self, draw_func):
1878
- """Append a draw function to this menu,
1879
- takes the same arguments as the menus draw function
1880
-
1881
- :param draw_func:
1882
- """
1883
- ...
1884
-
1885
- def as_pointer(self) -> int:
1886
- """Returns the memory address which holds a pointer to Blender's internal data
1887
-
1888
- :return: int (memory address).
1889
- :rtype: int
1890
- """
1891
- ...
1892
-
1893
- def bl_rna_get_subclass(self) -> bpy.types.Struct:
1894
- """
1895
-
1896
- :return: The RNA type or default when not found.
1897
- :rtype: bpy.types.Struct
1898
- """
1899
- ...
1900
-
1901
- def bl_rna_get_subclass_py(self) -> typing.Any:
1902
- """
1903
-
1904
- :return: The class or default when not found.
1905
- :rtype: typing.Any
1906
- """
1907
- ...
1908
-
1909
- def draw(self, context):
1910
- """
1911
-
1912
- :param context:
1913
- """
1914
- ...
1915
-
1916
- def driver_add(self) -> bpy.types.FCurve:
1917
- """Adds driver(s) to the given property
1918
-
1919
- :return: The driver(s) added.
1920
- :rtype: bpy.types.FCurve
1921
- """
1922
- ...
1923
-
1924
- def driver_remove(self) -> bool:
1925
- """Remove driver(s) from the given property
1926
-
1927
- :return: Success of driver removal.
1928
- :rtype: bool
1929
- """
1930
- ...
1931
-
1932
- def get(self):
1933
- """Returns the value of the custom property assigned to key or default
1934
- when not found (matches Python's dictionary function of the same name).
1935
-
1936
- """
1937
- ...
1938
-
1939
- def id_properties_clear(self):
1940
- """
1941
-
1942
- :return: Remove the parent group for an RNA struct's custom IDProperties.
1943
- """
1944
- ...
1945
-
1946
- def id_properties_ensure(self):
1947
- """
1948
-
1949
- :return: the parent group for an RNA struct's custom IDProperties.
1950
- """
1951
- ...
1952
-
1953
- def id_properties_ui(self):
1954
- """
1955
-
1956
- :return: Return an object used to manage an IDProperty's UI data.
1957
- """
1958
- ...
1959
-
1960
- def is_extended(self): ...
1961
- def is_property_hidden(self) -> bool:
1962
- """Check if a property is hidden.
1963
-
1964
- :return: True when the property is hidden.
1965
- :rtype: bool
1966
- """
1967
- ...
1968
-
1969
- def is_property_overridable_library(self) -> bool:
1970
- """Check if a property is overridable.
1971
-
1972
- :return: True when the property is overridable.
1973
- :rtype: bool
1974
- """
1975
- ...
1976
-
1977
- def is_property_readonly(self) -> bool:
1978
- """Check if a property is readonly.
1979
-
1980
- :return: True when the property is readonly (not writable).
1981
- :rtype: bool
1982
- """
1983
- ...
1984
-
1985
- def is_property_set(self) -> bool:
1986
- """Check if a property is set, use for testing operator properties.
1987
-
1988
- :return: True when the property has been set.
1989
- :rtype: bool
1990
- """
1991
- ...
1992
-
1993
- def items(self):
1994
- """Returns the items of this objects custom properties (matches Python's
1995
- dictionary function of the same name).
1996
-
1997
- :return: custom property key, value pairs.
1998
- """
1999
- ...
2000
-
2001
- def keyframe_delete(self) -> bool:
2002
- """Remove a keyframe from this properties fcurve.
2003
-
2004
- :return: Success of keyframe deletion.
2005
- :rtype: bool
2006
- """
2007
- ...
2008
-
2009
- def keyframe_insert(self) -> bool:
2010
- """Insert a keyframe on the property given, adding fcurves and animation data when necessary.
2011
-
2012
- :return: Success of keyframe insertion.
2013
- :rtype: bool
2014
- """
2015
- ...
2016
-
2017
- def keys(self):
2018
- """Returns the keys of this objects custom properties (matches Python's
2019
- dictionary function of the same name).
2020
-
2021
- :return: custom property keys.
2022
- """
2023
- ...
2024
-
2025
- def path_from_id(self) -> str:
2026
- """Returns the data path from the ID to this object (string).
2027
-
2028
- :return: The path from `bpy.types.bpy_struct.id_data`
2029
- to this struct and property (when given).
2030
- :rtype: str
2031
- """
2032
- ...
2033
-
2034
- def path_resolve(self):
2035
- """Returns the property from the path, raise an exception when not found."""
2036
- ...
2037
-
2038
- def poll(self, context):
2039
- """
2040
-
2041
- :param context:
2042
- """
2043
- ...
2044
-
2045
- def pop(self):
2046
- """Remove and return the value of the custom property assigned to key or default
2047
- when not found (matches Python's dictionary function of the same name).
2048
-
2049
- """
2050
- ...
2051
-
2052
- def prepend(self, draw_func):
2053
- """Prepend a draw function to this menu, takes the same arguments as
2054
- the menus draw function
2055
-
2056
- :param draw_func:
2057
- """
2058
- ...
2059
-
2060
- def property_overridable_library_set(self) -> bool:
2061
- """Define a property as overridable or not (only for custom properties!).
2062
-
2063
- :return: True when the overridable status of the property was successfully set.
2064
- :rtype: bool
2065
- """
2066
- ...
2067
-
2068
- def property_unset(self):
2069
- """Unset a property, will use default value afterward."""
2070
- ...
2071
-
2072
- def remove(self, draw_func):
2073
- """Remove a draw function that has been added to this menu
2074
-
2075
- :param draw_func:
2076
- """
2077
- ...
2078
-
2079
- def type_recast(self):
2080
- """Return a new instance, this is needed because types
2081
- such as textures can be changed at runtime.
2082
-
2083
- :return: a new instance of this object with the type initialized again.
2084
- """
2085
- ...
2086
-
2087
- def values(self):
2088
- """Returns the values of this objects custom properties (matches Python's
2089
- dictionary function of the same name).
2090
-
2091
- :return: custom property values.
2092
- """
2093
- ...
2094
-
2095
- class DATA_PT_gpencil_layers(DataButtonsPanel, bpy_types._GenericUI):
2096
- bl_context: typing.Any
2097
- bl_label: typing.Any
2098
- bl_region_type: typing.Any
2099
- bl_rna: typing.Any
2100
- bl_space_type: typing.Any
2101
- id_data: typing.Any
2102
-
2103
- def append(self, draw_func):
2104
- """Append a draw function to this menu,
2105
- takes the same arguments as the menus draw function
2106
-
2107
- :param draw_func:
2108
- """
2109
- ...
2110
-
2111
- def as_pointer(self) -> int:
2112
- """Returns the memory address which holds a pointer to Blender's internal data
2113
-
2114
- :return: int (memory address).
2115
- :rtype: int
2116
- """
2117
- ...
2118
-
2119
- def bl_rna_get_subclass(self) -> bpy.types.Struct:
2120
- """
2121
-
2122
- :return: The RNA type or default when not found.
2123
- :rtype: bpy.types.Struct
2124
- """
2125
- ...
2126
-
2127
- def bl_rna_get_subclass_py(self) -> typing.Any:
2128
- """
2129
-
2130
- :return: The class or default when not found.
2131
- :rtype: typing.Any
2132
- """
2133
- ...
2134
-
2135
- def draw(self, context):
2136
- """
2137
-
2138
- :param context:
2139
- """
2140
- ...
2141
-
2142
- def draw_layers(self, _context, layout, gpd):
2143
- """
2144
-
2145
- :param _context:
2146
- :param layout:
2147
- :param gpd:
2148
- """
2149
- ...
2150
-
2151
- def driver_add(self) -> bpy.types.FCurve:
2152
- """Adds driver(s) to the given property
2153
-
2154
- :return: The driver(s) added.
2155
- :rtype: bpy.types.FCurve
2156
- """
2157
- ...
2158
-
2159
- def driver_remove(self) -> bool:
2160
- """Remove driver(s) from the given property
2161
-
2162
- :return: Success of driver removal.
2163
- :rtype: bool
2164
- """
2165
- ...
2166
-
2167
- def get(self):
2168
- """Returns the value of the custom property assigned to key or default
2169
- when not found (matches Python's dictionary function of the same name).
2170
-
2171
- """
2172
- ...
2173
-
2174
- def id_properties_clear(self):
2175
- """
2176
-
2177
- :return: Remove the parent group for an RNA struct's custom IDProperties.
2178
- """
2179
- ...
2180
-
2181
- def id_properties_ensure(self):
2182
- """
2183
-
2184
- :return: the parent group for an RNA struct's custom IDProperties.
2185
- """
2186
- ...
2187
-
2188
- def id_properties_ui(self):
2189
- """
2190
-
2191
- :return: Return an object used to manage an IDProperty's UI data.
2192
- """
2193
- ...
2194
-
2195
- def is_extended(self): ...
2196
- def is_property_hidden(self) -> bool:
2197
- """Check if a property is hidden.
2198
-
2199
- :return: True when the property is hidden.
2200
- :rtype: bool
2201
- """
2202
- ...
2203
-
2204
- def is_property_overridable_library(self) -> bool:
2205
- """Check if a property is overridable.
2206
-
2207
- :return: True when the property is overridable.
2208
- :rtype: bool
2209
- """
2210
- ...
2211
-
2212
- def is_property_readonly(self) -> bool:
2213
- """Check if a property is readonly.
2214
-
2215
- :return: True when the property is readonly (not writable).
2216
- :rtype: bool
2217
- """
2218
- ...
2219
-
2220
- def is_property_set(self) -> bool:
2221
- """Check if a property is set, use for testing operator properties.
2222
-
2223
- :return: True when the property has been set.
2224
- :rtype: bool
2225
- """
2226
- ...
2227
-
2228
- def items(self):
2229
- """Returns the items of this objects custom properties (matches Python's
2230
- dictionary function of the same name).
2231
-
2232
- :return: custom property key, value pairs.
2233
- """
2234
- ...
2235
-
2236
- def keyframe_delete(self) -> bool:
2237
- """Remove a keyframe from this properties fcurve.
2238
-
2239
- :return: Success of keyframe deletion.
2240
- :rtype: bool
2241
- """
2242
- ...
2243
-
2244
- def keyframe_insert(self) -> bool:
2245
- """Insert a keyframe on the property given, adding fcurves and animation data when necessary.
2246
-
2247
- :return: Success of keyframe insertion.
2248
- :rtype: bool
2249
- """
2250
- ...
2251
-
2252
- def keys(self):
2253
- """Returns the keys of this objects custom properties (matches Python's
2254
- dictionary function of the same name).
2255
-
2256
- :return: custom property keys.
2257
- """
2258
- ...
2259
-
2260
- def path_from_id(self) -> str:
2261
- """Returns the data path from the ID to this object (string).
2262
-
2263
- :return: The path from `bpy.types.bpy_struct.id_data`
2264
- to this struct and property (when given).
2265
- :rtype: str
2266
- """
2267
- ...
2268
-
2269
- def path_resolve(self):
2270
- """Returns the property from the path, raise an exception when not found."""
2271
- ...
2272
-
2273
- def poll(self, context):
2274
- """
2275
-
2276
- :param context:
2277
- """
2278
- ...
2279
-
2280
- def pop(self):
2281
- """Remove and return the value of the custom property assigned to key or default
2282
- when not found (matches Python's dictionary function of the same name).
2283
-
2284
- """
2285
- ...
2286
-
2287
- def prepend(self, draw_func):
2288
- """Prepend a draw function to this menu, takes the same arguments as
2289
- the menus draw function
2290
-
2291
- :param draw_func:
2292
- """
2293
- ...
2294
-
2295
- def property_overridable_library_set(self) -> bool:
2296
- """Define a property as overridable or not (only for custom properties!).
2297
-
2298
- :return: True when the overridable status of the property was successfully set.
2299
- :rtype: bool
2300
- """
2301
- ...
2302
-
2303
- def property_unset(self):
2304
- """Unset a property, will use default value afterward."""
2305
- ...
2306
-
2307
- def remove(self, draw_func):
2308
- """Remove a draw function that has been added to this menu
2309
-
2310
- :param draw_func:
2311
- """
2312
- ...
2313
-
2314
- def type_recast(self):
2315
- """Return a new instance, this is needed because types
2316
- such as textures can be changed at runtime.
2317
-
2318
- :return: a new instance of this object with the type initialized again.
2319
- """
2320
- ...
2321
-
2322
- def values(self):
2323
- """Returns the values of this objects custom properties (matches Python's
2324
- dictionary function of the same name).
2325
-
2326
- :return: custom property values.
2327
- """
2328
- ...
2329
-
2330
- class DATA_PT_gpencil_onion_skinning(DataButtonsPanel, bpy_types._GenericUI):
2331
- bl_context: typing.Any
2332
- bl_label: typing.Any
2333
- bl_region_type: typing.Any
2334
- bl_rna: typing.Any
2335
- bl_space_type: typing.Any
2336
- id_data: typing.Any
2337
-
2338
- def append(self, draw_func):
2339
- """Append a draw function to this menu,
2340
- takes the same arguments as the menus draw function
2341
-
2342
- :param draw_func:
2343
- """
2344
- ...
2345
-
2346
- def as_pointer(self) -> int:
2347
- """Returns the memory address which holds a pointer to Blender's internal data
2348
-
2349
- :return: int (memory address).
2350
- :rtype: int
2351
- """
2352
- ...
2353
-
2354
- def bl_rna_get_subclass(self) -> bpy.types.Struct:
2355
- """
2356
-
2357
- :return: The RNA type or default when not found.
2358
- :rtype: bpy.types.Struct
2359
- """
2360
- ...
2361
-
2362
- def bl_rna_get_subclass_py(self) -> typing.Any:
2363
- """
2364
-
2365
- :return: The class or default when not found.
2366
- :rtype: typing.Any
2367
- """
2368
- ...
2369
-
2370
- def draw(self, context):
2371
- """
2372
-
2373
- :param context:
2374
- """
2375
- ...
2376
-
2377
- def driver_add(self) -> bpy.types.FCurve:
2378
- """Adds driver(s) to the given property
2379
-
2380
- :return: The driver(s) added.
2381
- :rtype: bpy.types.FCurve
2382
- """
2383
- ...
2384
-
2385
- def driver_remove(self) -> bool:
2386
- """Remove driver(s) from the given property
2387
-
2388
- :return: Success of driver removal.
2389
- :rtype: bool
2390
- """
2391
- ...
2392
-
2393
- def get(self):
2394
- """Returns the value of the custom property assigned to key or default
2395
- when not found (matches Python's dictionary function of the same name).
2396
-
2397
- """
2398
- ...
2399
-
2400
- def id_properties_clear(self):
2401
- """
2402
-
2403
- :return: Remove the parent group for an RNA struct's custom IDProperties.
2404
- """
2405
- ...
2406
-
2407
- def id_properties_ensure(self):
2408
- """
2409
-
2410
- :return: the parent group for an RNA struct's custom IDProperties.
2411
- """
2412
- ...
2413
-
2414
- def id_properties_ui(self):
2415
- """
2416
-
2417
- :return: Return an object used to manage an IDProperty's UI data.
2418
- """
2419
- ...
2420
-
2421
- def is_extended(self): ...
2422
- def is_property_hidden(self) -> bool:
2423
- """Check if a property is hidden.
2424
-
2425
- :return: True when the property is hidden.
2426
- :rtype: bool
2427
- """
2428
- ...
2429
-
2430
- def is_property_overridable_library(self) -> bool:
2431
- """Check if a property is overridable.
2432
-
2433
- :return: True when the property is overridable.
2434
- :rtype: bool
2435
- """
2436
- ...
2437
-
2438
- def is_property_readonly(self) -> bool:
2439
- """Check if a property is readonly.
2440
-
2441
- :return: True when the property is readonly (not writable).
2442
- :rtype: bool
2443
- """
2444
- ...
2445
-
2446
- def is_property_set(self) -> bool:
2447
- """Check if a property is set, use for testing operator properties.
2448
-
2449
- :return: True when the property has been set.
2450
- :rtype: bool
2451
- """
2452
- ...
2453
-
2454
- def items(self):
2455
- """Returns the items of this objects custom properties (matches Python's
2456
- dictionary function of the same name).
2457
-
2458
- :return: custom property key, value pairs.
2459
- """
2460
- ...
2461
-
2462
- def keyframe_delete(self) -> bool:
2463
- """Remove a keyframe from this properties fcurve.
2464
-
2465
- :return: Success of keyframe deletion.
2466
- :rtype: bool
2467
- """
2468
- ...
2469
-
2470
- def keyframe_insert(self) -> bool:
2471
- """Insert a keyframe on the property given, adding fcurves and animation data when necessary.
2472
-
2473
- :return: Success of keyframe insertion.
2474
- :rtype: bool
2475
- """
2476
- ...
2477
-
2478
- def keys(self):
2479
- """Returns the keys of this objects custom properties (matches Python's
2480
- dictionary function of the same name).
2481
-
2482
- :return: custom property keys.
2483
- """
2484
- ...
2485
-
2486
- def path_from_id(self) -> str:
2487
- """Returns the data path from the ID to this object (string).
2488
-
2489
- :return: The path from `bpy.types.bpy_struct.id_data`
2490
- to this struct and property (when given).
2491
- :rtype: str
2492
- """
2493
- ...
2494
-
2495
- def path_resolve(self):
2496
- """Returns the property from the path, raise an exception when not found."""
2497
- ...
2498
-
2499
- def poll(self, context):
2500
- """
2501
-
2502
- :param context:
2503
- """
2504
- ...
2505
-
2506
- def pop(self):
2507
- """Remove and return the value of the custom property assigned to key or default
2508
- when not found (matches Python's dictionary function of the same name).
2509
-
2510
- """
2511
- ...
2512
-
2513
- def prepend(self, draw_func):
2514
- """Prepend a draw function to this menu, takes the same arguments as
2515
- the menus draw function
2516
-
2517
- :param draw_func:
2518
- """
2519
- ...
2520
-
2521
- def property_overridable_library_set(self) -> bool:
2522
- """Define a property as overridable or not (only for custom properties!).
2523
-
2524
- :return: True when the overridable status of the property was successfully set.
2525
- :rtype: bool
2526
- """
2527
- ...
2528
-
2529
- def property_unset(self):
2530
- """Unset a property, will use default value afterward."""
2531
- ...
2532
-
2533
- def remove(self, draw_func):
2534
- """Remove a draw function that has been added to this menu
2535
-
2536
- :param draw_func:
2537
- """
2538
- ...
2539
-
2540
- def type_recast(self):
2541
- """Return a new instance, this is needed because types
2542
- such as textures can be changed at runtime.
2543
-
2544
- :return: a new instance of this object with the type initialized again.
2545
- """
2546
- ...
2547
-
2548
- def values(self):
2549
- """Returns the values of this objects custom properties (matches Python's
2550
- dictionary function of the same name).
2551
-
2552
- :return: custom property values.
2553
- """
2554
- ...
2555
-
2556
- class DATA_PT_gpencil_onion_skinning_custom_colors(
2557
- DataButtonsPanel, bpy_types._GenericUI
2558
- ):
2559
- bl_context: typing.Any
2560
- bl_label: typing.Any
2561
- bl_options: typing.Any
2562
- bl_parent_id: typing.Any
2563
- bl_region_type: typing.Any
2564
- bl_rna: typing.Any
2565
- bl_space_type: typing.Any
2566
- id_data: typing.Any
2567
-
2568
- def append(self, draw_func):
2569
- """Append a draw function to this menu,
2570
- takes the same arguments as the menus draw function
2571
-
2572
- :param draw_func:
2573
- """
2574
- ...
2575
-
2576
- def as_pointer(self) -> int:
2577
- """Returns the memory address which holds a pointer to Blender's internal data
2578
-
2579
- :return: int (memory address).
2580
- :rtype: int
2581
- """
2582
- ...
2583
-
2584
- def bl_rna_get_subclass(self) -> bpy.types.Struct:
2585
- """
2586
-
2587
- :return: The RNA type or default when not found.
2588
- :rtype: bpy.types.Struct
2589
- """
2590
- ...
2591
-
2592
- def bl_rna_get_subclass_py(self) -> typing.Any:
2593
- """
2594
-
2595
- :return: The class or default when not found.
2596
- :rtype: typing.Any
2597
- """
2598
- ...
2599
-
2600
- def draw(self, context):
2601
- """
2602
-
2603
- :param context:
2604
- """
2605
- ...
2606
-
2607
- def draw_header(self, context):
2608
- """
2609
-
2610
- :param context:
2611
- """
2612
- ...
2613
-
2614
- def driver_add(self) -> bpy.types.FCurve:
2615
- """Adds driver(s) to the given property
2616
-
2617
- :return: The driver(s) added.
2618
- :rtype: bpy.types.FCurve
2619
- """
2620
- ...
2621
-
2622
- def driver_remove(self) -> bool:
2623
- """Remove driver(s) from the given property
2624
-
2625
- :return: Success of driver removal.
2626
- :rtype: bool
2627
- """
2628
- ...
2629
-
2630
- def get(self):
2631
- """Returns the value of the custom property assigned to key or default
2632
- when not found (matches Python's dictionary function of the same name).
2633
-
2634
- """
2635
- ...
2636
-
2637
- def id_properties_clear(self):
2638
- """
2639
-
2640
- :return: Remove the parent group for an RNA struct's custom IDProperties.
2641
- """
2642
- ...
2643
-
2644
- def id_properties_ensure(self):
2645
- """
2646
-
2647
- :return: the parent group for an RNA struct's custom IDProperties.
2648
- """
2649
- ...
2650
-
2651
- def id_properties_ui(self):
2652
- """
2653
-
2654
- :return: Return an object used to manage an IDProperty's UI data.
2655
- """
2656
- ...
2657
-
2658
- def is_extended(self): ...
2659
- def is_property_hidden(self) -> bool:
2660
- """Check if a property is hidden.
2661
-
2662
- :return: True when the property is hidden.
2663
- :rtype: bool
2664
- """
2665
- ...
2666
-
2667
- def is_property_overridable_library(self) -> bool:
2668
- """Check if a property is overridable.
2669
-
2670
- :return: True when the property is overridable.
2671
- :rtype: bool
2672
- """
2673
- ...
2674
-
2675
- def is_property_readonly(self) -> bool:
2676
- """Check if a property is readonly.
2677
-
2678
- :return: True when the property is readonly (not writable).
2679
- :rtype: bool
2680
- """
2681
- ...
2682
-
2683
- def is_property_set(self) -> bool:
2684
- """Check if a property is set, use for testing operator properties.
2685
-
2686
- :return: True when the property has been set.
2687
- :rtype: bool
2688
- """
2689
- ...
2690
-
2691
- def items(self):
2692
- """Returns the items of this objects custom properties (matches Python's
2693
- dictionary function of the same name).
2694
-
2695
- :return: custom property key, value pairs.
2696
- """
2697
- ...
2698
-
2699
- def keyframe_delete(self) -> bool:
2700
- """Remove a keyframe from this properties fcurve.
2701
-
2702
- :return: Success of keyframe deletion.
2703
- :rtype: bool
2704
- """
2705
- ...
2706
-
2707
- def keyframe_insert(self) -> bool:
2708
- """Insert a keyframe on the property given, adding fcurves and animation data when necessary.
2709
-
2710
- :return: Success of keyframe insertion.
2711
- :rtype: bool
2712
- """
2713
- ...
2714
-
2715
- def keys(self):
2716
- """Returns the keys of this objects custom properties (matches Python's
2717
- dictionary function of the same name).
2718
-
2719
- :return: custom property keys.
2720
- """
2721
- ...
2722
-
2723
- def path_from_id(self) -> str:
2724
- """Returns the data path from the ID to this object (string).
2725
-
2726
- :return: The path from `bpy.types.bpy_struct.id_data`
2727
- to this struct and property (when given).
2728
- :rtype: str
2729
- """
2730
- ...
2731
-
2732
- def path_resolve(self):
2733
- """Returns the property from the path, raise an exception when not found."""
2734
- ...
2735
-
2736
- def poll(self, context):
2737
- """
2738
-
2739
- :param context:
2740
- """
2741
- ...
2742
-
2743
- def pop(self):
2744
- """Remove and return the value of the custom property assigned to key or default
2745
- when not found (matches Python's dictionary function of the same name).
2746
-
2747
- """
2748
- ...
2749
-
2750
- def prepend(self, draw_func):
2751
- """Prepend a draw function to this menu, takes the same arguments as
2752
- the menus draw function
2753
-
2754
- :param draw_func:
2755
- """
2756
- ...
2757
-
2758
- def property_overridable_library_set(self) -> bool:
2759
- """Define a property as overridable or not (only for custom properties!).
2760
-
2761
- :return: True when the overridable status of the property was successfully set.
2762
- :rtype: bool
2763
- """
2764
- ...
2765
-
2766
- def property_unset(self):
2767
- """Unset a property, will use default value afterward."""
2768
- ...
2769
-
2770
- def remove(self, draw_func):
2771
- """Remove a draw function that has been added to this menu
2772
-
2773
- :param draw_func:
2774
- """
2775
- ...
2776
-
2777
- def type_recast(self):
2778
- """Return a new instance, this is needed because types
2779
- such as textures can be changed at runtime.
2780
-
2781
- :return: a new instance of this object with the type initialized again.
2782
- """
2783
- ...
2784
-
2785
- def values(self):
2786
- """Returns the values of this objects custom properties (matches Python's
2787
- dictionary function of the same name).
2788
-
2789
- :return: custom property values.
2790
- """
2791
- ...
2792
-
2793
- class DATA_PT_gpencil_onion_skinning_display(DataButtonsPanel, bpy_types._GenericUI):
2794
- bl_context: typing.Any
2795
- bl_label: typing.Any
2796
- bl_options: typing.Any
2797
- bl_parent_id: typing.Any
2798
- bl_region_type: typing.Any
2799
- bl_rna: typing.Any
2800
- bl_space_type: typing.Any
2801
- id_data: typing.Any
2802
-
2803
- def append(self, draw_func):
2804
- """Append a draw function to this menu,
2805
- takes the same arguments as the menus draw function
2806
-
2807
- :param draw_func:
2808
- """
2809
- ...
2810
-
2811
- def as_pointer(self) -> int:
2812
- """Returns the memory address which holds a pointer to Blender's internal data
2813
-
2814
- :return: int (memory address).
2815
- :rtype: int
2816
- """
2817
- ...
2818
-
2819
- def bl_rna_get_subclass(self) -> bpy.types.Struct:
2820
- """
2821
-
2822
- :return: The RNA type or default when not found.
2823
- :rtype: bpy.types.Struct
2824
- """
2825
- ...
2826
-
2827
- def bl_rna_get_subclass_py(self) -> typing.Any:
2828
- """
2829
-
2830
- :return: The class or default when not found.
2831
- :rtype: typing.Any
2832
- """
2833
- ...
2834
-
2835
- def draw(self, context):
2836
- """
2837
-
2838
- :param context:
2839
- """
2840
- ...
2841
-
2842
- def driver_add(self) -> bpy.types.FCurve:
2843
- """Adds driver(s) to the given property
2844
-
2845
- :return: The driver(s) added.
2846
- :rtype: bpy.types.FCurve
2847
- """
2848
- ...
2849
-
2850
- def driver_remove(self) -> bool:
2851
- """Remove driver(s) from the given property
2852
-
2853
- :return: Success of driver removal.
2854
- :rtype: bool
2855
- """
2856
- ...
2857
-
2858
- def get(self):
2859
- """Returns the value of the custom property assigned to key or default
2860
- when not found (matches Python's dictionary function of the same name).
2861
-
2862
- """
2863
- ...
2864
-
2865
- def id_properties_clear(self):
2866
- """
2867
-
2868
- :return: Remove the parent group for an RNA struct's custom IDProperties.
2869
- """
2870
- ...
2871
-
2872
- def id_properties_ensure(self):
2873
- """
2874
-
2875
- :return: the parent group for an RNA struct's custom IDProperties.
2876
- """
2877
- ...
2878
-
2879
- def id_properties_ui(self):
2880
- """
2881
-
2882
- :return: Return an object used to manage an IDProperty's UI data.
2883
- """
2884
- ...
2885
-
2886
- def is_extended(self): ...
2887
- def is_property_hidden(self) -> bool:
2888
- """Check if a property is hidden.
2889
-
2890
- :return: True when the property is hidden.
2891
- :rtype: bool
2892
- """
2893
- ...
2894
-
2895
- def is_property_overridable_library(self) -> bool:
2896
- """Check if a property is overridable.
2897
-
2898
- :return: True when the property is overridable.
2899
- :rtype: bool
2900
- """
2901
- ...
2902
-
2903
- def is_property_readonly(self) -> bool:
2904
- """Check if a property is readonly.
2905
-
2906
- :return: True when the property is readonly (not writable).
2907
- :rtype: bool
2908
- """
2909
- ...
2910
-
2911
- def is_property_set(self) -> bool:
2912
- """Check if a property is set, use for testing operator properties.
2913
-
2914
- :return: True when the property has been set.
2915
- :rtype: bool
2916
- """
2917
- ...
2918
-
2919
- def items(self):
2920
- """Returns the items of this objects custom properties (matches Python's
2921
- dictionary function of the same name).
2922
-
2923
- :return: custom property key, value pairs.
2924
- """
2925
- ...
2926
-
2927
- def keyframe_delete(self) -> bool:
2928
- """Remove a keyframe from this properties fcurve.
2929
-
2930
- :return: Success of keyframe deletion.
2931
- :rtype: bool
2932
- """
2933
- ...
2934
-
2935
- def keyframe_insert(self) -> bool:
2936
- """Insert a keyframe on the property given, adding fcurves and animation data when necessary.
2937
-
2938
- :return: Success of keyframe insertion.
2939
- :rtype: bool
2940
- """
2941
- ...
2942
-
2943
- def keys(self):
2944
- """Returns the keys of this objects custom properties (matches Python's
2945
- dictionary function of the same name).
2946
-
2947
- :return: custom property keys.
2948
- """
2949
- ...
2950
-
2951
- def path_from_id(self) -> str:
2952
- """Returns the data path from the ID to this object (string).
2953
-
2954
- :return: The path from `bpy.types.bpy_struct.id_data`
2955
- to this struct and property (when given).
2956
- :rtype: str
2957
- """
2958
- ...
2959
-
2960
- def path_resolve(self):
2961
- """Returns the property from the path, raise an exception when not found."""
2962
- ...
2963
-
2964
- def poll(self, context):
2965
- """
2966
-
2967
- :param context:
2968
- """
2969
- ...
2970
-
2971
- def pop(self):
2972
- """Remove and return the value of the custom property assigned to key or default
2973
- when not found (matches Python's dictionary function of the same name).
2974
-
2975
- """
2976
- ...
2977
-
2978
- def prepend(self, draw_func):
2979
- """Prepend a draw function to this menu, takes the same arguments as
2980
- the menus draw function
2981
-
2982
- :param draw_func:
2983
- """
2984
- ...
2985
-
2986
- def property_overridable_library_set(self) -> bool:
2987
- """Define a property as overridable or not (only for custom properties!).
2988
-
2989
- :return: True when the overridable status of the property was successfully set.
2990
- :rtype: bool
2991
- """
2992
- ...
2993
-
2994
- def property_unset(self):
2995
- """Unset a property, will use default value afterward."""
2996
- ...
2997
-
2998
- def remove(self, draw_func):
2999
- """Remove a draw function that has been added to this menu
3000
-
3001
- :param draw_func:
3002
- """
3003
- ...
3004
-
3005
- def type_recast(self):
3006
- """Return a new instance, this is needed because types
3007
- such as textures can be changed at runtime.
3008
-
3009
- :return: a new instance of this object with the type initialized again.
3010
- """
3011
- ...
3012
-
3013
- def values(self):
3014
- """Returns the values of this objects custom properties (matches Python's
3015
- dictionary function of the same name).
3016
-
3017
- :return: custom property values.
3018
- """
3019
- ...
3020
-
3021
- class DATA_PT_gpencil_strokes(DataButtonsPanel, bpy_types._GenericUI):
3022
- bl_context: typing.Any
3023
- bl_label: typing.Any
3024
- bl_options: typing.Any
3025
- bl_region_type: typing.Any
3026
- bl_rna: typing.Any
3027
- bl_space_type: typing.Any
3028
- id_data: typing.Any
3029
-
3030
- def append(self, draw_func):
3031
- """Append a draw function to this menu,
3032
- takes the same arguments as the menus draw function
3033
-
3034
- :param draw_func:
3035
- """
3036
- ...
3037
-
3038
- def as_pointer(self) -> int:
3039
- """Returns the memory address which holds a pointer to Blender's internal data
3040
-
3041
- :return: int (memory address).
3042
- :rtype: int
3043
- """
3044
- ...
3045
-
3046
- def bl_rna_get_subclass(self) -> bpy.types.Struct:
3047
- """
3048
-
3049
- :return: The RNA type or default when not found.
3050
- :rtype: bpy.types.Struct
3051
- """
3052
- ...
3053
-
3054
- def bl_rna_get_subclass_py(self) -> typing.Any:
3055
- """
3056
-
3057
- :return: The class or default when not found.
3058
- :rtype: typing.Any
3059
- """
3060
- ...
3061
-
3062
- def draw(self, context):
3063
- """
3064
-
3065
- :param context:
3066
- """
3067
- ...
3068
-
3069
- def driver_add(self) -> bpy.types.FCurve:
3070
- """Adds driver(s) to the given property
3071
-
3072
- :return: The driver(s) added.
3073
- :rtype: bpy.types.FCurve
3074
- """
3075
- ...
3076
-
3077
- def driver_remove(self) -> bool:
3078
- """Remove driver(s) from the given property
3079
-
3080
- :return: Success of driver removal.
3081
- :rtype: bool
3082
- """
3083
- ...
3084
-
3085
- def get(self):
3086
- """Returns the value of the custom property assigned to key or default
3087
- when not found (matches Python's dictionary function of the same name).
3088
-
3089
- """
3090
- ...
3091
-
3092
- def id_properties_clear(self):
3093
- """
3094
-
3095
- :return: Remove the parent group for an RNA struct's custom IDProperties.
3096
- """
3097
- ...
3098
-
3099
- def id_properties_ensure(self):
3100
- """
3101
-
3102
- :return: the parent group for an RNA struct's custom IDProperties.
3103
- """
3104
- ...
3105
-
3106
- def id_properties_ui(self):
3107
- """
3108
-
3109
- :return: Return an object used to manage an IDProperty's UI data.
3110
- """
3111
- ...
3112
-
3113
- def is_extended(self): ...
3114
- def is_property_hidden(self) -> bool:
3115
- """Check if a property is hidden.
3116
-
3117
- :return: True when the property is hidden.
3118
- :rtype: bool
3119
- """
3120
- ...
3121
-
3122
- def is_property_overridable_library(self) -> bool:
3123
- """Check if a property is overridable.
3124
-
3125
- :return: True when the property is overridable.
3126
- :rtype: bool
3127
- """
3128
- ...
3129
-
3130
- def is_property_readonly(self) -> bool:
3131
- """Check if a property is readonly.
3132
-
3133
- :return: True when the property is readonly (not writable).
3134
- :rtype: bool
3135
- """
3136
- ...
3137
-
3138
- def is_property_set(self) -> bool:
3139
- """Check if a property is set, use for testing operator properties.
3140
-
3141
- :return: True when the property has been set.
3142
- :rtype: bool
3143
- """
3144
- ...
3145
-
3146
- def items(self):
3147
- """Returns the items of this objects custom properties (matches Python's
3148
- dictionary function of the same name).
3149
-
3150
- :return: custom property key, value pairs.
3151
- """
3152
- ...
3153
-
3154
- def keyframe_delete(self) -> bool:
3155
- """Remove a keyframe from this properties fcurve.
3156
-
3157
- :return: Success of keyframe deletion.
3158
- :rtype: bool
3159
- """
3160
- ...
3161
-
3162
- def keyframe_insert(self) -> bool:
3163
- """Insert a keyframe on the property given, adding fcurves and animation data when necessary.
3164
-
3165
- :return: Success of keyframe insertion.
3166
- :rtype: bool
3167
- """
3168
- ...
3169
-
3170
- def keys(self):
3171
- """Returns the keys of this objects custom properties (matches Python's
3172
- dictionary function of the same name).
3173
-
3174
- :return: custom property keys.
3175
- """
3176
- ...
3177
-
3178
- def path_from_id(self) -> str:
3179
- """Returns the data path from the ID to this object (string).
3180
-
3181
- :return: The path from `bpy.types.bpy_struct.id_data`
3182
- to this struct and property (when given).
3183
- :rtype: str
3184
- """
3185
- ...
3186
-
3187
- def path_resolve(self):
3188
- """Returns the property from the path, raise an exception when not found."""
3189
- ...
3190
-
3191
- def poll(self, context):
3192
- """
3193
-
3194
- :param context:
3195
- """
3196
- ...
3197
-
3198
- def pop(self):
3199
- """Remove and return the value of the custom property assigned to key or default
3200
- when not found (matches Python's dictionary function of the same name).
3201
-
3202
- """
3203
- ...
3204
-
3205
- def prepend(self, draw_func):
3206
- """Prepend a draw function to this menu, takes the same arguments as
3207
- the menus draw function
3208
-
3209
- :param draw_func:
3210
- """
3211
- ...
3212
-
3213
- def property_overridable_library_set(self) -> bool:
3214
- """Define a property as overridable or not (only for custom properties!).
3215
-
3216
- :return: True when the overridable status of the property was successfully set.
3217
- :rtype: bool
3218
- """
3219
- ...
3220
-
3221
- def property_unset(self):
3222
- """Unset a property, will use default value afterward."""
3223
- ...
3224
-
3225
- def remove(self, draw_func):
3226
- """Remove a draw function that has been added to this menu
3227
-
3228
- :param draw_func:
3229
- """
3230
- ...
3231
-
3232
- def type_recast(self):
3233
- """Return a new instance, this is needed because types
3234
- such as textures can be changed at runtime.
3235
-
3236
- :return: a new instance of this object with the type initialized again.
3237
- """
3238
- ...
3239
-
3240
- def values(self):
3241
- """Returns the values of this objects custom properties (matches Python's
3242
- dictionary function of the same name).
3243
-
3244
- :return: custom property values.
3245
- """
3246
- ...
3247
-
3248
- class DATA_PT_gpencil_vertex_groups(ObjectButtonsPanel, bpy_types._GenericUI):
3249
- bl_context: typing.Any
3250
- bl_label: typing.Any
3251
- bl_options: typing.Any
3252
- bl_region_type: typing.Any
3253
- bl_rna: typing.Any
3254
- bl_space_type: typing.Any
3255
- id_data: typing.Any
3256
-
3257
- def append(self, draw_func):
3258
- """Append a draw function to this menu,
3259
- takes the same arguments as the menus draw function
3260
-
3261
- :param draw_func:
3262
- """
3263
- ...
3264
-
3265
- def as_pointer(self) -> int:
3266
- """Returns the memory address which holds a pointer to Blender's internal data
3267
-
3268
- :return: int (memory address).
3269
- :rtype: int
3270
- """
3271
- ...
3272
-
3273
- def bl_rna_get_subclass(self) -> bpy.types.Struct:
3274
- """
3275
-
3276
- :return: The RNA type or default when not found.
3277
- :rtype: bpy.types.Struct
3278
- """
3279
- ...
3280
-
3281
- def bl_rna_get_subclass_py(self) -> typing.Any:
3282
- """
3283
-
3284
- :return: The class or default when not found.
3285
- :rtype: typing.Any
3286
- """
3287
- ...
3288
-
3289
- def draw(self, context):
3290
- """
3291
-
3292
- :param context:
3293
- """
3294
- ...
3295
-
3296
- def driver_add(self) -> bpy.types.FCurve:
3297
- """Adds driver(s) to the given property
3298
-
3299
- :return: The driver(s) added.
3300
- :rtype: bpy.types.FCurve
3301
- """
3302
- ...
3303
-
3304
- def driver_remove(self) -> bool:
3305
- """Remove driver(s) from the given property
3306
-
3307
- :return: Success of driver removal.
3308
- :rtype: bool
3309
- """
3310
- ...
3311
-
3312
- def get(self):
3313
- """Returns the value of the custom property assigned to key or default
3314
- when not found (matches Python's dictionary function of the same name).
3315
-
3316
- """
3317
- ...
3318
-
3319
- def id_properties_clear(self):
3320
- """
3321
-
3322
- :return: Remove the parent group for an RNA struct's custom IDProperties.
3323
- """
3324
- ...
3325
-
3326
- def id_properties_ensure(self):
3327
- """
3328
-
3329
- :return: the parent group for an RNA struct's custom IDProperties.
3330
- """
3331
- ...
3332
-
3333
- def id_properties_ui(self):
3334
- """
3335
-
3336
- :return: Return an object used to manage an IDProperty's UI data.
3337
- """
3338
- ...
3339
-
3340
- def is_extended(self): ...
3341
- def is_property_hidden(self) -> bool:
3342
- """Check if a property is hidden.
3343
-
3344
- :return: True when the property is hidden.
3345
- :rtype: bool
3346
- """
3347
- ...
3348
-
3349
- def is_property_overridable_library(self) -> bool:
3350
- """Check if a property is overridable.
3351
-
3352
- :return: True when the property is overridable.
3353
- :rtype: bool
3354
- """
3355
- ...
3356
-
3357
- def is_property_readonly(self) -> bool:
3358
- """Check if a property is readonly.
3359
-
3360
- :return: True when the property is readonly (not writable).
3361
- :rtype: bool
3362
- """
3363
- ...
3364
-
3365
- def is_property_set(self) -> bool:
3366
- """Check if a property is set, use for testing operator properties.
3367
-
3368
- :return: True when the property has been set.
3369
- :rtype: bool
3370
- """
3371
- ...
3372
-
3373
- def items(self):
3374
- """Returns the items of this objects custom properties (matches Python's
3375
- dictionary function of the same name).
3376
-
3377
- :return: custom property key, value pairs.
3378
- """
3379
- ...
3380
-
3381
- def keyframe_delete(self) -> bool:
3382
- """Remove a keyframe from this properties fcurve.
3383
-
3384
- :return: Success of keyframe deletion.
3385
- :rtype: bool
3386
- """
3387
- ...
3388
-
3389
- def keyframe_insert(self) -> bool:
3390
- """Insert a keyframe on the property given, adding fcurves and animation data when necessary.
3391
-
3392
- :return: Success of keyframe insertion.
3393
- :rtype: bool
3394
- """
3395
- ...
3396
-
3397
- def keys(self):
3398
- """Returns the keys of this objects custom properties (matches Python's
3399
- dictionary function of the same name).
3400
-
3401
- :return: custom property keys.
3402
- """
3403
- ...
3404
-
3405
- def path_from_id(self) -> str:
3406
- """Returns the data path from the ID to this object (string).
3407
-
3408
- :return: The path from `bpy.types.bpy_struct.id_data`
3409
- to this struct and property (when given).
3410
- :rtype: str
3411
- """
3412
- ...
3413
-
3414
- def path_resolve(self):
3415
- """Returns the property from the path, raise an exception when not found."""
3416
- ...
3417
-
3418
- def poll(self, context):
3419
- """
3420
-
3421
- :param context:
3422
- """
3423
- ...
3424
-
3425
- def pop(self):
3426
- """Remove and return the value of the custom property assigned to key or default
3427
- when not found (matches Python's dictionary function of the same name).
3428
-
3429
- """
3430
- ...
3431
-
3432
- def prepend(self, draw_func):
3433
- """Prepend a draw function to this menu, takes the same arguments as
3434
- the menus draw function
3435
-
3436
- :param draw_func:
3437
- """
3438
- ...
3439
-
3440
- def property_overridable_library_set(self) -> bool:
3441
- """Define a property as overridable or not (only for custom properties!).
3442
-
3443
- :return: True when the overridable status of the property was successfully set.
3444
- :rtype: bool
3445
- """
3446
- ...
3447
-
3448
- def property_unset(self):
3449
- """Unset a property, will use default value afterward."""
3450
- ...
3451
-
3452
- def remove(self, draw_func):
3453
- """Remove a draw function that has been added to this menu
3454
-
3455
- :param draw_func:
3456
- """
3457
- ...
3458
-
3459
- def type_recast(self):
3460
- """Return a new instance, this is needed because types
3461
- such as textures can be changed at runtime.
3462
-
3463
- :return: a new instance of this object with the type initialized again.
3464
- """
3465
- ...
3466
-
3467
- def values(self):
3468
- """Returns the values of this objects custom properties (matches Python's
3469
- dictionary function of the same name).
3470
-
3471
- :return: custom property values.
3472
- """
3473
- ...
3474
-
3475
- class DataButtonsPanel:
3476
- bl_context: typing.Any
3477
- bl_region_type: typing.Any
3478
- bl_space_type: typing.Any
3479
-
3480
- @classmethod
3481
- def poll(cls, context):
3482
- """
3483
-
3484
- :param context:
3485
- """
3486
- ...
3487
-
3488
- class GPENCIL_MT_gpencil_vertex_group(bpy_types._GenericUI):
3489
- bl_label: typing.Any
3490
- bl_rna: typing.Any
3491
- id_data: typing.Any
3492
-
3493
- def append(self, draw_func):
3494
- """Append a draw function to this menu,
3495
- takes the same arguments as the menus draw function
3496
-
3497
- :param draw_func:
3498
- """
3499
- ...
3500
-
3501
- def as_pointer(self) -> int:
3502
- """Returns the memory address which holds a pointer to Blender's internal data
3503
-
3504
- :return: int (memory address).
3505
- :rtype: int
3506
- """
3507
- ...
3508
-
3509
- def bl_rna_get_subclass(self) -> bpy.types.Struct:
3510
- """
3511
-
3512
- :return: The RNA type or default when not found.
3513
- :rtype: bpy.types.Struct
3514
- """
3515
- ...
3516
-
3517
- def bl_rna_get_subclass_py(self) -> typing.Any:
3518
- """
3519
-
3520
- :return: The class or default when not found.
3521
- :rtype: typing.Any
3522
- """
3523
- ...
3524
-
3525
- def draw(self, context):
3526
- """
3527
-
3528
- :param context:
3529
- """
3530
- ...
3531
-
3532
- def draw_collapsible(self, context, layout):
3533
- """
3534
-
3535
- :param context:
3536
- :param layout:
3537
- """
3538
- ...
3539
-
3540
- def draw_preset(self, _context):
3541
- """Define these on the subclass:
3542
- - preset_operator (string)
3543
- - preset_subdir (string)Optionally:
3544
- - preset_add_operator (string)
3545
- - preset_extensions (set of strings)
3546
- - preset_operator_defaults (dict of keyword args)
3547
-
3548
- :param _context:
3549
- """
3550
- ...
3551
-
3552
- def driver_add(self) -> bpy.types.FCurve:
3553
- """Adds driver(s) to the given property
3554
-
3555
- :return: The driver(s) added.
3556
- :rtype: bpy.types.FCurve
3557
- """
3558
- ...
3559
-
3560
- def driver_remove(self) -> bool:
3561
- """Remove driver(s) from the given property
3562
-
3563
- :return: Success of driver removal.
3564
- :rtype: bool
3565
- """
3566
- ...
3567
-
3568
- def get(self):
3569
- """Returns the value of the custom property assigned to key or default
3570
- when not found (matches Python's dictionary function of the same name).
3571
-
3572
- """
3573
- ...
3574
-
3575
- def id_properties_clear(self):
3576
- """
3577
-
3578
- :return: Remove the parent group for an RNA struct's custom IDProperties.
3579
- """
3580
- ...
3581
-
3582
- def id_properties_ensure(self):
3583
- """
3584
-
3585
- :return: the parent group for an RNA struct's custom IDProperties.
3586
- """
3587
- ...
3588
-
3589
- def id_properties_ui(self):
3590
- """
3591
-
3592
- :return: Return an object used to manage an IDProperty's UI data.
3593
- """
3594
- ...
3595
-
3596
- def is_extended(self): ...
3597
- def is_property_hidden(self) -> bool:
3598
- """Check if a property is hidden.
3599
-
3600
- :return: True when the property is hidden.
3601
- :rtype: bool
3602
- """
3603
- ...
3604
-
3605
- def is_property_overridable_library(self) -> bool:
3606
- """Check if a property is overridable.
3607
-
3608
- :return: True when the property is overridable.
3609
- :rtype: bool
3610
- """
3611
- ...
3612
-
3613
- def is_property_readonly(self) -> bool:
3614
- """Check if a property is readonly.
3615
-
3616
- :return: True when the property is readonly (not writable).
3617
- :rtype: bool
3618
- """
3619
- ...
3620
-
3621
- def is_property_set(self) -> bool:
3622
- """Check if a property is set, use for testing operator properties.
3623
-
3624
- :return: True when the property has been set.
3625
- :rtype: bool
3626
- """
3627
- ...
3628
-
3629
- def items(self):
3630
- """Returns the items of this objects custom properties (matches Python's
3631
- dictionary function of the same name).
3632
-
3633
- :return: custom property key, value pairs.
3634
- """
3635
- ...
3636
-
3637
- def keyframe_delete(self) -> bool:
3638
- """Remove a keyframe from this properties fcurve.
3639
-
3640
- :return: Success of keyframe deletion.
3641
- :rtype: bool
3642
- """
3643
- ...
3644
-
3645
- def keyframe_insert(self) -> bool:
3646
- """Insert a keyframe on the property given, adding fcurves and animation data when necessary.
3647
-
3648
- :return: Success of keyframe insertion.
3649
- :rtype: bool
3650
- """
3651
- ...
3652
-
3653
- def keys(self):
3654
- """Returns the keys of this objects custom properties (matches Python's
3655
- dictionary function of the same name).
3656
-
3657
- :return: custom property keys.
3658
- """
3659
- ...
3660
-
3661
- def path_from_id(self) -> str:
3662
- """Returns the data path from the ID to this object (string).
3663
-
3664
- :return: The path from `bpy.types.bpy_struct.id_data`
3665
- to this struct and property (when given).
3666
- :rtype: str
3667
- """
3668
- ...
3669
-
3670
- def path_menu(
3671
- self,
3672
- searchpaths: list[str],
3673
- operator: str,
3674
- *,
3675
- props_default: dict = None,
3676
- prop_filepath: str | None = "filepath",
3677
- filter_ext: collections.abc.Callable | None = None,
3678
- filter_path=None,
3679
- display_name: collections.abc.Callable | None = None,
3680
- add_operator=None,
3681
- add_operator_props=None,
3682
- ):
3683
- """Populate a menu from a list of paths.
3684
-
3685
- :param searchpaths: Paths to scan.
3686
- :type searchpaths: list[str]
3687
- :param operator: The operator id to use with each file.
3688
- :type operator: str
3689
- :param props_default: Properties to assign to each operator.
3690
- :type props_default: dict
3691
- :param prop_filepath: Optional operator filepath property (defaults to "filepath").
3692
- :type prop_filepath: str | None
3693
- :param filter_ext: Optional callback that takes the file extensions.
3694
-
3695
- Returning false excludes the file from the list.
3696
- :type filter_ext: collections.abc.Callable | None
3697
- :param filter_path:
3698
- :param display_name: Optional callback that takes the full path, returns the name to display.
3699
- :type display_name: collections.abc.Callable | None
3700
- :param add_operator:
3701
- :param add_operator_props:
3702
- """
3703
- ...
3704
-
3705
- def path_resolve(self):
3706
- """Returns the property from the path, raise an exception when not found."""
3707
- ...
3708
-
3709
- def pop(self):
3710
- """Remove and return the value of the custom property assigned to key or default
3711
- when not found (matches Python's dictionary function of the same name).
3712
-
3713
- """
3714
- ...
3715
-
3716
- def prepend(self, draw_func):
3717
- """Prepend a draw function to this menu, takes the same arguments as
3718
- the menus draw function
3719
-
3720
- :param draw_func:
3721
- """
3722
- ...
3723
-
3724
- def property_overridable_library_set(self) -> bool:
3725
- """Define a property as overridable or not (only for custom properties!).
3726
-
3727
- :return: True when the overridable status of the property was successfully set.
3728
- :rtype: bool
3729
- """
3730
- ...
3731
-
3732
- def property_unset(self):
3733
- """Unset a property, will use default value afterward."""
3734
- ...
3735
-
3736
- def remove(self, draw_func):
3737
- """Remove a draw function that has been added to this menu
3738
-
3739
- :param draw_func:
3740
- """
3741
- ...
3742
-
3743
- def type_recast(self):
3744
- """Return a new instance, this is needed because types
3745
- such as textures can be changed at runtime.
3746
-
3747
- :return: a new instance of this object with the type initialized again.
3748
- """
3749
- ...
3750
-
3751
- def values(self):
3752
- """Returns the values of this objects custom properties (matches Python's
3753
- dictionary function of the same name).
3754
-
3755
- :return: custom property values.
3756
- """
3757
- ...
3758
-
3759
- class GPENCIL_MT_layer_context_menu(bpy_types._GenericUI):
446
+ class DATA_PT_gpencil_strokes(bpy.types.Panel, DataButtonsPanel, bpy_types._GenericUI):
447
+ bl_context: typing.Any
3760
448
  bl_label: typing.Any
449
+ bl_options: typing.Any
450
+ bl_region_type: typing.Any
3761
451
  bl_rna: typing.Any
452
+ bl_space_type: typing.Any
3762
453
  id_data: typing.Any
3763
454
 
3764
- def append(self, draw_func):
3765
- """Append a draw function to this menu,
3766
- takes the same arguments as the menus draw function
3767
-
3768
- :param draw_func:
3769
- """
3770
- ...
3771
-
3772
- def as_pointer(self) -> int:
3773
- """Returns the memory address which holds a pointer to Blender's internal data
3774
-
3775
- :return: int (memory address).
3776
- :rtype: int
3777
- """
3778
- ...
3779
-
3780
455
  def bl_rna_get_subclass(self) -> bpy.types.Struct:
3781
456
  """
3782
457
 
@@ -3800,253 +475,113 @@ class GPENCIL_MT_layer_context_menu(bpy_types._GenericUI):
3800
475
  """
3801
476
  ...
3802
477
 
3803
- def draw_collapsible(self, context, layout):
3804
- """
3805
-
3806
- :param context:
3807
- :param layout:
3808
- """
3809
- ...
3810
-
3811
- def draw_preset(self, _context):
3812
- """Define these on the subclass:
3813
- - preset_operator (string)
3814
- - preset_subdir (string)Optionally:
3815
- - preset_add_operator (string)
3816
- - preset_extensions (set of strings)
3817
- - preset_operator_defaults (dict of keyword args)
3818
-
3819
- :param _context:
3820
- """
3821
- ...
3822
-
3823
- def driver_add(self) -> bpy.types.FCurve:
3824
- """Adds driver(s) to the given property
3825
-
3826
- :return: The driver(s) added.
3827
- :rtype: bpy.types.FCurve
3828
- """
3829
- ...
3830
-
3831
- def driver_remove(self) -> bool:
3832
- """Remove driver(s) from the given property
3833
-
3834
- :return: Success of driver removal.
3835
- :rtype: bool
3836
- """
3837
- ...
3838
-
3839
- def get(self):
3840
- """Returns the value of the custom property assigned to key or default
3841
- when not found (matches Python's dictionary function of the same name).
3842
-
3843
- """
3844
- ...
3845
-
3846
- def id_properties_clear(self):
3847
- """
3848
-
3849
- :return: Remove the parent group for an RNA struct's custom IDProperties.
3850
- """
3851
- ...
478
+ class DATA_PT_gpencil_vertex_groups(
479
+ bpy.types.Panel, ObjectButtonsPanel, bpy_types._GenericUI
480
+ ):
481
+ bl_context: typing.Any
482
+ bl_label: typing.Any
483
+ bl_options: typing.Any
484
+ bl_region_type: typing.Any
485
+ bl_rna: typing.Any
486
+ bl_space_type: typing.Any
487
+ id_data: typing.Any
3852
488
 
3853
- def id_properties_ensure(self):
489
+ def bl_rna_get_subclass(self) -> bpy.types.Struct:
3854
490
  """
3855
491
 
3856
- :return: the parent group for an RNA struct's custom IDProperties.
492
+ :return: The RNA type or default when not found.
493
+ :rtype: bpy.types.Struct
3857
494
  """
3858
495
  ...
3859
496
 
3860
- def id_properties_ui(self):
497
+ def bl_rna_get_subclass_py(self) -> typing.Any:
3861
498
  """
3862
499
 
3863
- :return: Return an object used to manage an IDProperty's UI data.
500
+ :return: The class or default when not found.
501
+ :rtype: typing.Any
3864
502
  """
3865
503
  ...
3866
504
 
3867
- def is_extended(self): ...
3868
- def is_property_hidden(self) -> bool:
3869
- """Check if a property is hidden.
3870
-
3871
- :return: True when the property is hidden.
3872
- :rtype: bool
505
+ def draw(self, context):
3873
506
  """
3874
- ...
3875
-
3876
- def is_property_overridable_library(self) -> bool:
3877
- """Check if a property is overridable.
3878
507
 
3879
- :return: True when the property is overridable.
3880
- :rtype: bool
508
+ :param context:
3881
509
  """
3882
510
  ...
3883
511
 
3884
- def is_property_readonly(self) -> bool:
3885
- """Check if a property is readonly.
512
+ class DataButtonsPanel:
513
+ bl_context: typing.Any
514
+ bl_region_type: typing.Any
515
+ bl_space_type: typing.Any
3886
516
 
3887
- :return: True when the property is readonly (not writable).
3888
- :rtype: bool
517
+ @classmethod
518
+ def poll(cls, context):
3889
519
  """
3890
- ...
3891
520
 
3892
- def is_property_set(self) -> bool:
3893
- """Check if a property is set, use for testing operator properties.
3894
-
3895
- :return: True when the property has been set.
3896
- :rtype: bool
521
+ :param context:
3897
522
  """
3898
523
  ...
3899
524
 
3900
- def items(self):
3901
- """Returns the items of this objects custom properties (matches Python's
3902
- dictionary function of the same name).
525
+ class GPENCIL_MT_gpencil_vertex_group(bpy.types.Menu, bpy_types._GenericUI):
526
+ bl_label: typing.Any
527
+ bl_rna: typing.Any
528
+ id_data: typing.Any
3903
529
 
3904
- :return: custom property key, value pairs.
530
+ def bl_rna_get_subclass(self) -> bpy.types.Struct:
3905
531
  """
3906
- ...
3907
-
3908
- def keyframe_delete(self) -> bool:
3909
- """Remove a keyframe from this properties fcurve.
3910
532
 
3911
- :return: Success of keyframe deletion.
3912
- :rtype: bool
533
+ :return: The RNA type or default when not found.
534
+ :rtype: bpy.types.Struct
3913
535
  """
3914
536
  ...
3915
537
 
3916
- def keyframe_insert(self) -> bool:
3917
- """Insert a keyframe on the property given, adding fcurves and animation data when necessary.
3918
-
3919
- :return: Success of keyframe insertion.
3920
- :rtype: bool
538
+ def bl_rna_get_subclass_py(self) -> typing.Any:
3921
539
  """
3922
- ...
3923
-
3924
- def keys(self):
3925
- """Returns the keys of this objects custom properties (matches Python's
3926
- dictionary function of the same name).
3927
540
 
3928
- :return: custom property keys.
541
+ :return: The class or default when not found.
542
+ :rtype: typing.Any
3929
543
  """
3930
544
  ...
3931
545
 
3932
- def path_from_id(self) -> str:
3933
- """Returns the data path from the ID to this object (string).
3934
-
3935
- :return: The path from `bpy.types.bpy_struct.id_data`
3936
- to this struct and property (when given).
3937
- :rtype: str
546
+ def draw(self, context):
3938
547
  """
3939
- ...
3940
548
 
3941
- def path_menu(
3942
- self,
3943
- searchpaths: list[str],
3944
- operator: str,
3945
- *,
3946
- props_default: dict = None,
3947
- prop_filepath: str | None = "filepath",
3948
- filter_ext: collections.abc.Callable | None = None,
3949
- filter_path=None,
3950
- display_name: collections.abc.Callable | None = None,
3951
- add_operator=None,
3952
- add_operator_props=None,
3953
- ):
3954
- """Populate a menu from a list of paths.
3955
-
3956
- :param searchpaths: Paths to scan.
3957
- :type searchpaths: list[str]
3958
- :param operator: The operator id to use with each file.
3959
- :type operator: str
3960
- :param props_default: Properties to assign to each operator.
3961
- :type props_default: dict
3962
- :param prop_filepath: Optional operator filepath property (defaults to "filepath").
3963
- :type prop_filepath: str | None
3964
- :param filter_ext: Optional callback that takes the file extensions.
3965
-
3966
- Returning false excludes the file from the list.
3967
- :type filter_ext: collections.abc.Callable | None
3968
- :param filter_path:
3969
- :param display_name: Optional callback that takes the full path, returns the name to display.
3970
- :type display_name: collections.abc.Callable | None
3971
- :param add_operator:
3972
- :param add_operator_props:
549
+ :param context:
3973
550
  """
3974
551
  ...
3975
552
 
3976
- def path_resolve(self):
3977
- """Returns the property from the path, raise an exception when not found."""
3978
- ...
3979
-
3980
- def pop(self):
3981
- """Remove and return the value of the custom property assigned to key or default
3982
- when not found (matches Python's dictionary function of the same name).
553
+ class GPENCIL_MT_layer_context_menu(bpy.types.Menu, bpy_types._GenericUI):
554
+ bl_label: typing.Any
555
+ bl_rna: typing.Any
556
+ id_data: typing.Any
3983
557
 
558
+ def bl_rna_get_subclass(self) -> bpy.types.Struct:
3984
559
  """
3985
- ...
3986
-
3987
- def prepend(self, draw_func):
3988
- """Prepend a draw function to this menu, takes the same arguments as
3989
- the menus draw function
3990
560
 
3991
- :param draw_func:
561
+ :return: The RNA type or default when not found.
562
+ :rtype: bpy.types.Struct
3992
563
  """
3993
564
  ...
3994
565
 
3995
- def property_overridable_library_set(self) -> bool:
3996
- """Define a property as overridable or not (only for custom properties!).
3997
-
3998
- :return: True when the overridable status of the property was successfully set.
3999
- :rtype: bool
566
+ def bl_rna_get_subclass_py(self) -> typing.Any:
4000
567
  """
4001
- ...
4002
-
4003
- def property_unset(self):
4004
- """Unset a property, will use default value afterward."""
4005
- ...
4006
-
4007
- def remove(self, draw_func):
4008
- """Remove a draw function that has been added to this menu
4009
568
 
4010
- :param draw_func:
569
+ :return: The class or default when not found.
570
+ :rtype: typing.Any
4011
571
  """
4012
572
  ...
4013
573
 
4014
- def type_recast(self):
4015
- """Return a new instance, this is needed because types
4016
- such as textures can be changed at runtime.
4017
-
4018
- :return: a new instance of this object with the type initialized again.
574
+ def draw(self, context):
4019
575
  """
4020
- ...
4021
-
4022
- def values(self):
4023
- """Returns the values of this objects custom properties (matches Python's
4024
- dictionary function of the same name).
4025
576
 
4026
- :return: custom property values.
577
+ :param context:
4027
578
  """
4028
579
  ...
4029
580
 
4030
- class GPENCIL_UL_vgroups(bpy_types._GenericUI):
581
+ class GPENCIL_UL_vgroups(bpy.types.UIList, bpy_types._GenericUI):
4031
582
  bl_rna: typing.Any
4032
583
  id_data: typing.Any
4033
584
 
4034
- def append(self, draw_func):
4035
- """Append a draw function to this menu,
4036
- takes the same arguments as the menus draw function
4037
-
4038
- :param draw_func:
4039
- """
4040
- ...
4041
-
4042
- def as_pointer(self) -> int:
4043
- """Returns the memory address which holds a pointer to Blender's internal data
4044
-
4045
- :return: int (memory address).
4046
- :rtype: int
4047
- """
4048
- ...
4049
-
4050
585
  def bl_rna_get_subclass(self) -> bpy.types.Struct:
4051
586
  """
4052
587
 
@@ -4087,178 +622,6 @@ class GPENCIL_UL_vgroups(bpy_types._GenericUI):
4087
622
  """
4088
623
  ...
4089
624
 
4090
- def driver_add(self) -> bpy.types.FCurve:
4091
- """Adds driver(s) to the given property
4092
-
4093
- :return: The driver(s) added.
4094
- :rtype: bpy.types.FCurve
4095
- """
4096
- ...
4097
-
4098
- def driver_remove(self) -> bool:
4099
- """Remove driver(s) from the given property
4100
-
4101
- :return: Success of driver removal.
4102
- :rtype: bool
4103
- """
4104
- ...
4105
-
4106
- def get(self):
4107
- """Returns the value of the custom property assigned to key or default
4108
- when not found (matches Python's dictionary function of the same name).
4109
-
4110
- """
4111
- ...
4112
-
4113
- def id_properties_clear(self):
4114
- """
4115
-
4116
- :return: Remove the parent group for an RNA struct's custom IDProperties.
4117
- """
4118
- ...
4119
-
4120
- def id_properties_ensure(self):
4121
- """
4122
-
4123
- :return: the parent group for an RNA struct's custom IDProperties.
4124
- """
4125
- ...
4126
-
4127
- def id_properties_ui(self):
4128
- """
4129
-
4130
- :return: Return an object used to manage an IDProperty's UI data.
4131
- """
4132
- ...
4133
-
4134
- def is_extended(self): ...
4135
- def is_property_hidden(self) -> bool:
4136
- """Check if a property is hidden.
4137
-
4138
- :return: True when the property is hidden.
4139
- :rtype: bool
4140
- """
4141
- ...
4142
-
4143
- def is_property_overridable_library(self) -> bool:
4144
- """Check if a property is overridable.
4145
-
4146
- :return: True when the property is overridable.
4147
- :rtype: bool
4148
- """
4149
- ...
4150
-
4151
- def is_property_readonly(self) -> bool:
4152
- """Check if a property is readonly.
4153
-
4154
- :return: True when the property is readonly (not writable).
4155
- :rtype: bool
4156
- """
4157
- ...
4158
-
4159
- def is_property_set(self) -> bool:
4160
- """Check if a property is set, use for testing operator properties.
4161
-
4162
- :return: True when the property has been set.
4163
- :rtype: bool
4164
- """
4165
- ...
4166
-
4167
- def items(self):
4168
- """Returns the items of this objects custom properties (matches Python's
4169
- dictionary function of the same name).
4170
-
4171
- :return: custom property key, value pairs.
4172
- """
4173
- ...
4174
-
4175
- def keyframe_delete(self) -> bool:
4176
- """Remove a keyframe from this properties fcurve.
4177
-
4178
- :return: Success of keyframe deletion.
4179
- :rtype: bool
4180
- """
4181
- ...
4182
-
4183
- def keyframe_insert(self) -> bool:
4184
- """Insert a keyframe on the property given, adding fcurves and animation data when necessary.
4185
-
4186
- :return: Success of keyframe insertion.
4187
- :rtype: bool
4188
- """
4189
- ...
4190
-
4191
- def keys(self):
4192
- """Returns the keys of this objects custom properties (matches Python's
4193
- dictionary function of the same name).
4194
-
4195
- :return: custom property keys.
4196
- """
4197
- ...
4198
-
4199
- def path_from_id(self) -> str:
4200
- """Returns the data path from the ID to this object (string).
4201
-
4202
- :return: The path from `bpy.types.bpy_struct.id_data`
4203
- to this struct and property (when given).
4204
- :rtype: str
4205
- """
4206
- ...
4207
-
4208
- def path_resolve(self):
4209
- """Returns the property from the path, raise an exception when not found."""
4210
- ...
4211
-
4212
- def pop(self):
4213
- """Remove and return the value of the custom property assigned to key or default
4214
- when not found (matches Python's dictionary function of the same name).
4215
-
4216
- """
4217
- ...
4218
-
4219
- def prepend(self, draw_func):
4220
- """Prepend a draw function to this menu, takes the same arguments as
4221
- the menus draw function
4222
-
4223
- :param draw_func:
4224
- """
4225
- ...
4226
-
4227
- def property_overridable_library_set(self) -> bool:
4228
- """Define a property as overridable or not (only for custom properties!).
4229
-
4230
- :return: True when the overridable status of the property was successfully set.
4231
- :rtype: bool
4232
- """
4233
- ...
4234
-
4235
- def property_unset(self):
4236
- """Unset a property, will use default value afterward."""
4237
- ...
4238
-
4239
- def remove(self, draw_func):
4240
- """Remove a draw function that has been added to this menu
4241
-
4242
- :param draw_func:
4243
- """
4244
- ...
4245
-
4246
- def type_recast(self):
4247
- """Return a new instance, this is needed because types
4248
- such as textures can be changed at runtime.
4249
-
4250
- :return: a new instance of this object with the type initialized again.
4251
- """
4252
- ...
4253
-
4254
- def values(self):
4255
- """Returns the values of this objects custom properties (matches Python's
4256
- dictionary function of the same name).
4257
-
4258
- :return: custom property values.
4259
- """
4260
- ...
4261
-
4262
625
  class LayerDataButtonsPanel:
4263
626
  bl_context: typing.Any
4264
627
  bl_region_type: typing.Any