fake-bpy-module 20240706__py3-none-any.whl → 20240708__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 (63) hide show
  1. bl_operators/assets/__init__.pyi +8 -8
  2. bl_operators/image_as_planes/__init__.pyi +43 -43
  3. bl_operators/node/__init__.pyi +234 -234
  4. bl_operators/object_quick_effects/__init__.pyi +21 -21
  5. bl_operators/presets/__init__.pyi +388 -388
  6. bl_ui/properties_collection/__init__.pyi +12 -12
  7. bl_ui/properties_constraint/__init__.pyi +954 -954
  8. bl_ui/properties_data_armature/__init__.pyi +85 -85
  9. bl_ui/properties_data_bone/__init__.pyi +12 -12
  10. bl_ui/properties_data_curve/__init__.pyi +92 -92
  11. bl_ui/properties_data_curves/__init__.pyi +12 -12
  12. bl_ui/properties_data_empty/__init__.pyi +12 -12
  13. bl_ui/properties_data_gpencil/__init__.pyi +265 -265
  14. bl_ui/properties_data_grease_pencil/__init__.pyi +312 -312
  15. bl_ui/properties_data_lattice/__init__.pyi +12 -12
  16. bl_ui/properties_data_light/__init__.pyi +12 -12
  17. bl_ui/properties_data_lightprobe/__init__.pyi +12 -12
  18. bl_ui/properties_data_mesh/__init__.pyi +527 -527
  19. bl_ui/properties_data_metaball/__init__.pyi +12 -12
  20. bl_ui/properties_data_modifier/__init__.pyi +19 -19
  21. bl_ui/properties_data_pointcloud/__init__.pyi +140 -140
  22. bl_ui/properties_data_shaderfx/__init__.pyi +5 -5
  23. bl_ui/properties_data_speaker/__init__.pyi +12 -12
  24. bl_ui/properties_data_volume/__init__.pyi +65 -65
  25. bl_ui/properties_freestyle/__init__.pyi +248 -248
  26. bl_ui/properties_material/__init__.pyi +145 -145
  27. bl_ui/properties_material_gpencil/__init__.pyi +86 -86
  28. bl_ui/properties_object/__init__.pyi +75 -75
  29. bl_ui/properties_output/__init__.pyi +201 -201
  30. bl_ui/properties_particle/__init__.pyi +220 -220
  31. bl_ui/properties_physics_cloth/__init__.pyi +12 -12
  32. bl_ui/properties_physics_common/__init__.pyi +12 -12
  33. bl_ui/properties_physics_dynamicpaint/__init__.pyi +187 -187
  34. bl_ui/properties_physics_field/__init__.pyi +19 -19
  35. bl_ui/properties_physics_fluid/__init__.pyi +61 -61
  36. bl_ui/properties_physics_rigidbody/__init__.pyi +5 -5
  37. bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +5 -5
  38. bl_ui/properties_physics_softbody/__init__.pyi +12 -12
  39. bl_ui/properties_render/__init__.pyi +217 -217
  40. bl_ui/properties_scene/__init__.pyi +143 -143
  41. bl_ui/properties_texture/__init__.pyi +156 -156
  42. bl_ui/properties_view_layer/__init__.pyi +78 -78
  43. bl_ui/properties_workspace/__init__.pyi +64 -64
  44. bl_ui/properties_world/__init__.pyi +12 -12
  45. bl_ui/space_clip/__init__.pyi +366 -366
  46. bl_ui/space_dopesheet/__init__.pyi +176 -176
  47. bl_ui/space_filebrowser/__init__.pyi +735 -735
  48. bl_ui/space_image/__init__.pyi +646 -646
  49. bl_ui/space_sequencer/__init__.pyi +841 -389
  50. bl_ui/space_time/__init__.pyi +11 -11
  51. bl_ui/space_userpref/__init__.pyi +684 -684
  52. bl_ui/space_view3d/__init__.pyi +1152 -1152
  53. bl_ui/space_view3d_toolbar/__init__.pyi +2831 -2831
  54. bmesh/types/__init__.pyi +48 -0
  55. bpy/types/__init__.pyi +70624 -70606
  56. {fake_bpy_module-20240706.dist-info → fake_bpy_module-20240708.dist-info}/METADATA +4 -4
  57. {fake_bpy_module-20240706.dist-info → fake_bpy_module-20240708.dist-info}/RECORD +63 -63
  58. freestyle/utils/__init__.pyi +1 -1
  59. keyingsets_builtins/__init__.pyi +87 -87
  60. mathutils/__init__.pyi +156 -50
  61. nodeitems_builtins/__init__.pyi +7 -7
  62. {fake_bpy_module-20240706.dist-info → fake_bpy_module-20240708.dist-info}/WHEEL +0 -0
  63. {fake_bpy_module-20240706.dist-info → fake_bpy_module-20240708.dist-info}/top_level.txt +0 -0
@@ -8,21 +8,14 @@ import rna_prop_ui
8
8
  GenericType1 = typing.TypeVar("GenericType1")
9
9
  GenericType2 = typing.TypeVar("GenericType2")
10
10
 
11
- class MaterialButtonsPanel:
11
+ class EEVEE_MATERIAL_PT_context_material(MaterialButtonsPanel, bpy_types._GenericUI):
12
+ COMPAT_ENGINES: typing.Any
12
13
  bl_context: typing.Any
13
- bl_region_type: typing.Any
14
- bl_space_type: typing.Any
15
-
16
- def poll(self, context):
17
- """
18
-
19
- :param context:
20
- """
21
- ...
22
-
23
- class MATERIAL_MT_context_menu(bpy_types._GenericUI):
24
14
  bl_label: typing.Any
15
+ bl_options: typing.Any
16
+ bl_region_type: typing.Any
25
17
  bl_rna: typing.Any
18
+ bl_space_type: typing.Any
26
19
  id_data: typing.Any
27
20
 
28
21
  def append(self, draw_func):
@@ -57,30 +50,10 @@ class MATERIAL_MT_context_menu(bpy_types._GenericUI):
57
50
  """
58
51
  ...
59
52
 
60
- def draw(self, _context):
61
- """
62
-
63
- :param _context:
64
- """
65
- ...
66
-
67
- def draw_collapsible(self, context, layout):
53
+ def draw(self, context):
68
54
  """
69
55
 
70
56
  :param context:
71
- :param layout:
72
- """
73
- ...
74
-
75
- def draw_preset(self, _context):
76
- """Define these on the subclass:
77
- - preset_operator (string)
78
- - preset_subdir (string)Optionally:
79
- - preset_add_operator (string)
80
- - preset_extensions (set of strings)
81
- - preset_operator_defaults (dict of keyword args)
82
-
83
- :param _context:
84
57
  """
85
58
  ...
86
59
 
@@ -202,42 +175,15 @@ class MATERIAL_MT_context_menu(bpy_types._GenericUI):
202
175
  """
203
176
  ...
204
177
 
205
- def path_menu(
206
- self,
207
- searchpaths: list[str],
208
- operator: str,
209
- props_default: dict = None,
210
- prop_filepath: str | None = "filepath",
211
- filter_ext: collections.abc.Callable | None = None,
212
- filter_path=None,
213
- display_name: collections.abc.Callable | None = None,
214
- add_operator=None,
215
- add_operator_props=None,
216
- ):
217
- """Populate a menu from a list of paths.
218
-
219
- :param searchpaths: Paths to scan.
220
- :type searchpaths: list[str]
221
- :param operator: The operator id to use with each file.
222
- :type operator: str
223
- :param props_default: Properties to assign to each operator.
224
- :type props_default: dict
225
- :param prop_filepath: Optional operator filepath property (defaults to "filepath").
226
- :type prop_filepath: str | None
227
- :param filter_ext: Optional callback that takes the file extensions.
178
+ def path_resolve(self):
179
+ """Returns the property from the path, raise an exception when not found."""
180
+ ...
228
181
 
229
- Returning false excludes the file from the list.
230
- :type filter_ext: collections.abc.Callable | None
231
- :param filter_path:
232
- :param display_name: Optional callback that takes the full path, returns the name to display.
233
- :type display_name: collections.abc.Callable | None
234
- :param add_operator:
235
- :param add_operator_props:
182
+ def poll(self, context):
236
183
  """
237
- ...
238
184
 
239
- def path_resolve(self):
240
- """Returns the property from the path, raise an exception when not found."""
185
+ :param context:
186
+ """
241
187
  ...
242
188
 
243
189
  def pop(self):
@@ -290,8 +236,14 @@ class MATERIAL_MT_context_menu(bpy_types._GenericUI):
290
236
  """
291
237
  ...
292
238
 
293
- class MATERIAL_UL_matslots(bpy_types._GenericUI):
239
+ class EEVEE_MATERIAL_PT_displacement(MaterialButtonsPanel, bpy_types._GenericUI):
240
+ COMPAT_ENGINES: typing.Any
241
+ bl_context: typing.Any
242
+ bl_label: typing.Any
243
+ bl_options: typing.Any
244
+ bl_region_type: typing.Any
294
245
  bl_rna: typing.Any
246
+ bl_space_type: typing.Any
295
247
  id_data: typing.Any
296
248
 
297
249
  def append(self, draw_func):
@@ -326,27 +278,10 @@ class MATERIAL_UL_matslots(bpy_types._GenericUI):
326
278
  """
327
279
  ...
328
280
 
329
- def draw_item(
330
- self,
331
- _context,
332
- layout,
333
- _data,
334
- item,
335
- icon,
336
- _active_data,
337
- _active_propname,
338
- _index,
339
- ):
281
+ def draw(self, context):
340
282
  """
341
283
 
342
- :param _context:
343
- :param layout:
344
- :param _data:
345
- :param item:
346
- :param icon:
347
- :param _active_data:
348
- :param _active_propname:
349
- :param _index:
284
+ :param context:
350
285
  """
351
286
  ...
352
287
 
@@ -472,6 +407,13 @@ class MATERIAL_UL_matslots(bpy_types._GenericUI):
472
407
  """Returns the property from the path, raise an exception when not found."""
473
408
  ...
474
409
 
410
+ def poll(self, context):
411
+ """
412
+
413
+ :param context:
414
+ """
415
+ ...
416
+
475
417
  def pop(self):
476
418
  """Remove and return the value of the custom property assigned to key or default
477
419
  when not found (matches Python's dictionary function of the same name).
@@ -522,11 +464,10 @@ class MATERIAL_UL_matslots(bpy_types._GenericUI):
522
464
  """
523
465
  ...
524
466
 
525
- class EEVEE_MATERIAL_PT_context_material(MaterialButtonsPanel, bpy_types._GenericUI):
467
+ class EEVEE_MATERIAL_PT_settings(MaterialButtonsPanel, bpy_types._GenericUI):
526
468
  COMPAT_ENGINES: typing.Any
527
469
  bl_context: typing.Any
528
470
  bl_label: typing.Any
529
- bl_options: typing.Any
530
471
  bl_region_type: typing.Any
531
472
  bl_rna: typing.Any
532
473
  bl_space_type: typing.Any
@@ -750,11 +691,10 @@ class EEVEE_MATERIAL_PT_context_material(MaterialButtonsPanel, bpy_types._Generi
750
691
  """
751
692
  ...
752
693
 
753
- class EEVEE_MATERIAL_PT_displacement(MaterialButtonsPanel, bpy_types._GenericUI):
694
+ class EEVEE_MATERIAL_PT_surface(MaterialButtonsPanel, bpy_types._GenericUI):
754
695
  COMPAT_ENGINES: typing.Any
755
696
  bl_context: typing.Any
756
697
  bl_label: typing.Any
757
- bl_options: typing.Any
758
698
  bl_region_type: typing.Any
759
699
  bl_rna: typing.Any
760
700
  bl_space_type: typing.Any
@@ -978,13 +918,15 @@ class EEVEE_MATERIAL_PT_displacement(MaterialButtonsPanel, bpy_types._GenericUI)
978
918
  """
979
919
  ...
980
920
 
981
- class EEVEE_MATERIAL_PT_settings(MaterialButtonsPanel, bpy_types._GenericUI):
921
+ class EEVEE_MATERIAL_PT_thickness(MaterialButtonsPanel, bpy_types._GenericUI):
982
922
  COMPAT_ENGINES: typing.Any
983
923
  bl_context: typing.Any
984
924
  bl_label: typing.Any
925
+ bl_options: typing.Any
985
926
  bl_region_type: typing.Any
986
927
  bl_rna: typing.Any
987
928
  bl_space_type: typing.Any
929
+ bl_translation_context: typing.Any
988
930
  id_data: typing.Any
989
931
 
990
932
  def append(self, draw_func):
@@ -1205,10 +1147,11 @@ class EEVEE_MATERIAL_PT_settings(MaterialButtonsPanel, bpy_types._GenericUI):
1205
1147
  """
1206
1148
  ...
1207
1149
 
1208
- class EEVEE_MATERIAL_PT_surface(MaterialButtonsPanel, bpy_types._GenericUI):
1150
+ class EEVEE_MATERIAL_PT_viewport_settings(MaterialButtonsPanel, bpy_types._GenericUI):
1209
1151
  COMPAT_ENGINES: typing.Any
1210
1152
  bl_context: typing.Any
1211
1153
  bl_label: typing.Any
1154
+ bl_parent_id: typing.Any
1212
1155
  bl_region_type: typing.Any
1213
1156
  bl_rna: typing.Any
1214
1157
  bl_space_type: typing.Any
@@ -1432,7 +1375,7 @@ class EEVEE_MATERIAL_PT_surface(MaterialButtonsPanel, bpy_types._GenericUI):
1432
1375
  """
1433
1376
  ...
1434
1377
 
1435
- class EEVEE_MATERIAL_PT_thickness(MaterialButtonsPanel, bpy_types._GenericUI):
1378
+ class EEVEE_MATERIAL_PT_volume(MaterialButtonsPanel, bpy_types._GenericUI):
1436
1379
  COMPAT_ENGINES: typing.Any
1437
1380
  bl_context: typing.Any
1438
1381
  bl_label: typing.Any
@@ -1661,11 +1604,10 @@ class EEVEE_MATERIAL_PT_thickness(MaterialButtonsPanel, bpy_types._GenericUI):
1661
1604
  """
1662
1605
  ...
1663
1606
 
1664
- class EEVEE_MATERIAL_PT_viewport_settings(MaterialButtonsPanel, bpy_types._GenericUI):
1607
+ class EEVEE_NEXT_MATERIAL_PT_settings(MaterialButtonsPanel, bpy_types._GenericUI):
1665
1608
  COMPAT_ENGINES: typing.Any
1666
1609
  bl_context: typing.Any
1667
1610
  bl_label: typing.Any
1668
- bl_parent_id: typing.Any
1669
1611
  bl_region_type: typing.Any
1670
1612
  bl_rna: typing.Any
1671
1613
  bl_space_type: typing.Any
@@ -1889,15 +1831,16 @@ class EEVEE_MATERIAL_PT_viewport_settings(MaterialButtonsPanel, bpy_types._Gener
1889
1831
  """
1890
1832
  ...
1891
1833
 
1892
- class EEVEE_MATERIAL_PT_volume(MaterialButtonsPanel, bpy_types._GenericUI):
1834
+ class EEVEE_NEXT_MATERIAL_PT_settings_surface(
1835
+ MaterialButtonsPanel, bpy_types._GenericUI
1836
+ ):
1893
1837
  COMPAT_ENGINES: typing.Any
1894
1838
  bl_context: typing.Any
1895
1839
  bl_label: typing.Any
1896
- bl_options: typing.Any
1840
+ bl_parent_id: typing.Any
1897
1841
  bl_region_type: typing.Any
1898
1842
  bl_rna: typing.Any
1899
1843
  bl_space_type: typing.Any
1900
- bl_translation_context: typing.Any
1901
1844
  id_data: typing.Any
1902
1845
 
1903
1846
  def append(self, draw_func):
@@ -2118,10 +2061,13 @@ class EEVEE_MATERIAL_PT_volume(MaterialButtonsPanel, bpy_types._GenericUI):
2118
2061
  """
2119
2062
  ...
2120
2063
 
2121
- class EEVEE_NEXT_MATERIAL_PT_settings(MaterialButtonsPanel, bpy_types._GenericUI):
2064
+ class EEVEE_NEXT_MATERIAL_PT_settings_volume(
2065
+ MaterialButtonsPanel, bpy_types._GenericUI
2066
+ ):
2122
2067
  COMPAT_ENGINES: typing.Any
2123
2068
  bl_context: typing.Any
2124
2069
  bl_label: typing.Any
2070
+ bl_parent_id: typing.Any
2125
2071
  bl_region_type: typing.Any
2126
2072
  bl_rna: typing.Any
2127
2073
  bl_space_type: typing.Any
@@ -2345,16 +2291,9 @@ class EEVEE_NEXT_MATERIAL_PT_settings(MaterialButtonsPanel, bpy_types._GenericUI
2345
2291
  """
2346
2292
  ...
2347
2293
 
2348
- class EEVEE_NEXT_MATERIAL_PT_settings_surface(
2349
- MaterialButtonsPanel, bpy_types._GenericUI
2350
- ):
2351
- COMPAT_ENGINES: typing.Any
2352
- bl_context: typing.Any
2294
+ class MATERIAL_MT_context_menu(bpy_types._GenericUI):
2353
2295
  bl_label: typing.Any
2354
- bl_parent_id: typing.Any
2355
- bl_region_type: typing.Any
2356
2296
  bl_rna: typing.Any
2357
- bl_space_type: typing.Any
2358
2297
  id_data: typing.Any
2359
2298
 
2360
2299
  def append(self, draw_func):
@@ -2389,10 +2328,30 @@ class EEVEE_NEXT_MATERIAL_PT_settings_surface(
2389
2328
  """
2390
2329
  ...
2391
2330
 
2392
- def draw(self, context):
2331
+ def draw(self, _context):
2332
+ """
2333
+
2334
+ :param _context:
2335
+ """
2336
+ ...
2337
+
2338
+ def draw_collapsible(self, context, layout):
2393
2339
  """
2394
2340
 
2395
2341
  :param context:
2342
+ :param layout:
2343
+ """
2344
+ ...
2345
+
2346
+ def draw_preset(self, _context):
2347
+ """Define these on the subclass:
2348
+ - preset_operator (string)
2349
+ - preset_subdir (string)Optionally:
2350
+ - preset_add_operator (string)
2351
+ - preset_extensions (set of strings)
2352
+ - preset_operator_defaults (dict of keyword args)
2353
+
2354
+ :param _context:
2396
2355
  """
2397
2356
  ...
2398
2357
 
@@ -2514,17 +2473,44 @@ class EEVEE_NEXT_MATERIAL_PT_settings_surface(
2514
2473
  """
2515
2474
  ...
2516
2475
 
2517
- def path_resolve(self):
2518
- """Returns the property from the path, raise an exception when not found."""
2519
- ...
2476
+ def path_menu(
2477
+ self,
2478
+ searchpaths: list[str],
2479
+ operator: str,
2480
+ props_default: dict = None,
2481
+ prop_filepath: str | None = "filepath",
2482
+ filter_ext: collections.abc.Callable | None = None,
2483
+ filter_path=None,
2484
+ display_name: collections.abc.Callable | None = None,
2485
+ add_operator=None,
2486
+ add_operator_props=None,
2487
+ ):
2488
+ """Populate a menu from a list of paths.
2520
2489
 
2521
- def poll(self, context):
2522
- """
2490
+ :param searchpaths: Paths to scan.
2491
+ :type searchpaths: list[str]
2492
+ :param operator: The operator id to use with each file.
2493
+ :type operator: str
2494
+ :param props_default: Properties to assign to each operator.
2495
+ :type props_default: dict
2496
+ :param prop_filepath: Optional operator filepath property (defaults to "filepath").
2497
+ :type prop_filepath: str | None
2498
+ :param filter_ext: Optional callback that takes the file extensions.
2523
2499
 
2524
- :param context:
2500
+ Returning false excludes the file from the list.
2501
+ :type filter_ext: collections.abc.Callable | None
2502
+ :param filter_path:
2503
+ :param display_name: Optional callback that takes the full path, returns the name to display.
2504
+ :type display_name: collections.abc.Callable | None
2505
+ :param add_operator:
2506
+ :param add_operator_props:
2525
2507
  """
2526
2508
  ...
2527
2509
 
2510
+ def path_resolve(self):
2511
+ """Returns the property from the path, raise an exception when not found."""
2512
+ ...
2513
+
2528
2514
  def pop(self):
2529
2515
  """Remove and return the value of the custom property assigned to key or default
2530
2516
  when not found (matches Python's dictionary function of the same name).
@@ -2575,13 +2561,18 @@ class EEVEE_NEXT_MATERIAL_PT_settings_surface(
2575
2561
  """
2576
2562
  ...
2577
2563
 
2578
- class EEVEE_NEXT_MATERIAL_PT_settings_volume(
2579
- MaterialButtonsPanel, bpy_types._GenericUI
2564
+ class MATERIAL_PT_custom_props(
2565
+ MaterialButtonsPanel, rna_prop_ui.PropertyPanel, bpy_types._GenericUI
2580
2566
  ):
2567
+ """The subclass should have its own poll function
2568
+ and the variable '_context_path' MUST be set.
2569
+ """
2570
+
2581
2571
  COMPAT_ENGINES: typing.Any
2582
2572
  bl_context: typing.Any
2583
2573
  bl_label: typing.Any
2584
- bl_parent_id: typing.Any
2574
+ bl_options: typing.Any
2575
+ bl_order: typing.Any
2585
2576
  bl_region_type: typing.Any
2586
2577
  bl_rna: typing.Any
2587
2578
  bl_space_type: typing.Any
@@ -2805,14 +2796,7 @@ class EEVEE_NEXT_MATERIAL_PT_settings_volume(
2805
2796
  """
2806
2797
  ...
2807
2798
 
2808
- class MATERIAL_PT_custom_props(
2809
- MaterialButtonsPanel, rna_prop_ui.PropertyPanel, bpy_types._GenericUI
2810
- ):
2811
- """The subclass should have its own poll function
2812
- and the variable '_context_path' MUST be set.
2813
- """
2814
-
2815
- COMPAT_ENGINES: typing.Any
2799
+ class MATERIAL_PT_lineart(MaterialButtonsPanel, bpy_types._GenericUI):
2816
2800
  bl_context: typing.Any
2817
2801
  bl_label: typing.Any
2818
2802
  bl_options: typing.Any
@@ -3040,11 +3024,11 @@ class MATERIAL_PT_custom_props(
3040
3024
  """
3041
3025
  ...
3042
3026
 
3043
- class MATERIAL_PT_lineart(MaterialButtonsPanel, bpy_types._GenericUI):
3027
+ class MATERIAL_PT_preview(MaterialButtonsPanel, bpy_types._GenericUI):
3028
+ COMPAT_ENGINES: typing.Any
3044
3029
  bl_context: typing.Any
3045
3030
  bl_label: typing.Any
3046
3031
  bl_options: typing.Any
3047
- bl_order: typing.Any
3048
3032
  bl_region_type: typing.Any
3049
3033
  bl_rna: typing.Any
3050
3034
  bl_space_type: typing.Any
@@ -3268,11 +3252,11 @@ class MATERIAL_PT_lineart(MaterialButtonsPanel, bpy_types._GenericUI):
3268
3252
  """
3269
3253
  ...
3270
3254
 
3271
- class MATERIAL_PT_preview(MaterialButtonsPanel, bpy_types._GenericUI):
3272
- COMPAT_ENGINES: typing.Any
3255
+ class MATERIAL_PT_viewport(MaterialButtonsPanel, bpy_types._GenericUI):
3273
3256
  bl_context: typing.Any
3274
3257
  bl_label: typing.Any
3275
3258
  bl_options: typing.Any
3259
+ bl_order: typing.Any
3276
3260
  bl_region_type: typing.Any
3277
3261
  bl_rna: typing.Any
3278
3262
  bl_space_type: typing.Any
@@ -3496,14 +3480,8 @@ class MATERIAL_PT_preview(MaterialButtonsPanel, bpy_types._GenericUI):
3496
3480
  """
3497
3481
  ...
3498
3482
 
3499
- class MATERIAL_PT_viewport(MaterialButtonsPanel, bpy_types._GenericUI):
3500
- bl_context: typing.Any
3501
- bl_label: typing.Any
3502
- bl_options: typing.Any
3503
- bl_order: typing.Any
3504
- bl_region_type: typing.Any
3483
+ class MATERIAL_UL_matslots(bpy_types._GenericUI):
3505
3484
  bl_rna: typing.Any
3506
- bl_space_type: typing.Any
3507
3485
  id_data: typing.Any
3508
3486
 
3509
3487
  def append(self, draw_func):
@@ -3538,10 +3516,27 @@ class MATERIAL_PT_viewport(MaterialButtonsPanel, bpy_types._GenericUI):
3538
3516
  """
3539
3517
  ...
3540
3518
 
3541
- def draw(self, context):
3519
+ def draw_item(
3520
+ self,
3521
+ _context,
3522
+ layout,
3523
+ _data,
3524
+ item,
3525
+ icon,
3526
+ _active_data,
3527
+ _active_propname,
3528
+ _index,
3529
+ ):
3542
3530
  """
3543
3531
 
3544
- :param context:
3532
+ :param _context:
3533
+ :param layout:
3534
+ :param _data:
3535
+ :param item:
3536
+ :param icon:
3537
+ :param _active_data:
3538
+ :param _active_propname:
3539
+ :param _index:
3545
3540
  """
3546
3541
  ...
3547
3542
 
@@ -3667,13 +3662,6 @@ class MATERIAL_PT_viewport(MaterialButtonsPanel, bpy_types._GenericUI):
3667
3662
  """Returns the property from the path, raise an exception when not found."""
3668
3663
  ...
3669
3664
 
3670
- def poll(self, context):
3671
- """
3672
-
3673
- :param context:
3674
- """
3675
- ...
3676
-
3677
3665
  def pop(self):
3678
3666
  """Remove and return the value of the custom property assigned to key or default
3679
3667
  when not found (matches Python's dictionary function of the same name).
@@ -3724,5 +3712,17 @@ class MATERIAL_PT_viewport(MaterialButtonsPanel, bpy_types._GenericUI):
3724
3712
  """
3725
3713
  ...
3726
3714
 
3715
+ class MaterialButtonsPanel:
3716
+ bl_context: typing.Any
3717
+ bl_region_type: typing.Any
3718
+ bl_space_type: typing.Any
3719
+
3720
+ def poll(self, context):
3721
+ """
3722
+
3723
+ :param context:
3724
+ """
3725
+ ...
3726
+
3727
3727
  def draw_material_settings(context): ...
3728
3728
  def panel_node_draw(layout, ntree, _output_type, input_name): ...