fake-bpy-module 20241218__py3-none-any.whl → 20241220__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.
@@ -857,6 +857,31 @@ class SEQUENCER_MT_strip_retiming(bpy.types.Menu):
857
857
  :param context:
858
858
  """
859
859
 
860
+ class SEQUENCER_MT_strip_text(bpy.types.Menu):
861
+ bl_label: typing.Any
862
+ bl_rna: typing.Any
863
+ id_data: typing.Any
864
+
865
+ def bl_rna_get_subclass(self) -> bpy.types.Struct:
866
+ """
867
+
868
+ :return: The RNA type or default when not found.
869
+ :rtype: bpy.types.Struct
870
+ """
871
+
872
+ def bl_rna_get_subclass_py(self) -> typing.Any:
873
+ """
874
+
875
+ :return: The class or default when not found.
876
+ :rtype: typing.Any
877
+ """
878
+
879
+ def draw(self, context):
880
+ """
881
+
882
+ :param context:
883
+ """
884
+
860
885
  class SEQUENCER_MT_strip_transform(bpy.types.Menu):
861
886
  bl_label: typing.Any
862
887
  bl_rna: typing.Any
@@ -170,6 +170,7 @@ class _defs_gpencil_weight: ...
170
170
 
171
171
  class _defs_grease_pencil_edit:
172
172
  interpolate: typing.Any
173
+ shear: typing.Any
173
174
  texture_gradient: typing.Any
174
175
 
175
176
  class _defs_grease_pencil_paint:
@@ -2161,6 +2161,143 @@ def swap_inputs(execution_context: int | str | None = None, undo: bool | None =
2161
2161
  :type undo: bool | None
2162
2162
  """
2163
2163
 
2164
+ def text_cursor_move(
2165
+ execution_context: int | str | None = None,
2166
+ undo: bool | None = None,
2167
+ /,
2168
+ *,
2169
+ type: typing.Literal[
2170
+ "LINE_BEGIN",
2171
+ "LINE_END",
2172
+ "TEXT_BEGIN",
2173
+ "TEXT_END",
2174
+ "PREVIOUS_CHARACTER",
2175
+ "NEXT_CHARACTER",
2176
+ "PREVIOUS_WORD",
2177
+ "NEXT_WORD",
2178
+ "PREVIOUS_LINE",
2179
+ "NEXT_LINE",
2180
+ ]
2181
+ | None = "LINE_BEGIN",
2182
+ select_text: bool | None = False,
2183
+ ):
2184
+ """Move cursor in text
2185
+
2186
+ :type execution_context: int | str | None
2187
+ :type undo: bool | None
2188
+ :param type: Type, Where to move cursor to, to make a selection
2189
+ :type type: typing.Literal['LINE_BEGIN','LINE_END','TEXT_BEGIN','TEXT_END','PREVIOUS_CHARACTER','NEXT_CHARACTER','PREVIOUS_WORD','NEXT_WORD','PREVIOUS_LINE','NEXT_LINE'] | None
2190
+ :param select_text: Select Text, Select text while moving cursor
2191
+ :type select_text: bool | None
2192
+ """
2193
+
2194
+ def text_cursor_set(
2195
+ execution_context: int | str | None = None,
2196
+ undo: bool | None = None,
2197
+ /,
2198
+ *,
2199
+ select_text: bool | None = False,
2200
+ ):
2201
+ """Set cursor position in text
2202
+
2203
+ :type execution_context: int | str | None
2204
+ :type undo: bool | None
2205
+ :param select_text: Select Text, Select text while moving cursor
2206
+ :type select_text: bool | None
2207
+ """
2208
+
2209
+ def text_delete(
2210
+ execution_context: int | str | None = None,
2211
+ undo: bool | None = None,
2212
+ /,
2213
+ *,
2214
+ type: typing.Literal["NEXT_OR_SELECTION", "PREVIOUS_OR_SELECTION"]
2215
+ | None = "NEXT_OR_SELECTION",
2216
+ ):
2217
+ """Delete text at cursor position
2218
+
2219
+ :type execution_context: int | str | None
2220
+ :type undo: bool | None
2221
+ :param type: Type, Which part of the text to delete
2222
+ :type type: typing.Literal['NEXT_OR_SELECTION','PREVIOUS_OR_SELECTION'] | None
2223
+ """
2224
+
2225
+ def text_deselect_all(
2226
+ execution_context: int | str | None = None, undo: bool | None = None
2227
+ ):
2228
+ """Deselect all characters
2229
+
2230
+ :type execution_context: int | str | None
2231
+ :type undo: bool | None
2232
+ """
2233
+
2234
+ def text_edit_copy(
2235
+ execution_context: int | str | None = None, undo: bool | None = None
2236
+ ):
2237
+ """Copy text to clipboard
2238
+
2239
+ :type execution_context: int | str | None
2240
+ :type undo: bool | None
2241
+ """
2242
+
2243
+ def text_edit_cut(execution_context: int | str | None = None, undo: bool | None = None):
2244
+ """Cut text to clipboard
2245
+
2246
+ :type execution_context: int | str | None
2247
+ :type undo: bool | None
2248
+ """
2249
+
2250
+ def text_edit_mode_toggle(
2251
+ execution_context: int | str | None = None, undo: bool | None = None
2252
+ ):
2253
+ """Toggle text editing
2254
+
2255
+ :type execution_context: int | str | None
2256
+ :type undo: bool | None
2257
+ """
2258
+
2259
+ def text_edit_paste(
2260
+ execution_context: int | str | None = None, undo: bool | None = None
2261
+ ):
2262
+ """Paste text to clipboard
2263
+
2264
+ :type execution_context: int | str | None
2265
+ :type undo: bool | None
2266
+ """
2267
+
2268
+ def text_insert(
2269
+ execution_context: int | str | None = None,
2270
+ undo: bool | None = None,
2271
+ /,
2272
+ *,
2273
+ string: str = "",
2274
+ ):
2275
+ """Insert text at cursor position
2276
+
2277
+ :type execution_context: int | str | None
2278
+ :type undo: bool | None
2279
+ :param string: String, String to be inserted at cursor position
2280
+ :type string: str
2281
+ """
2282
+
2283
+ def text_line_break(
2284
+ execution_context: int | str | None = None, undo: bool | None = None
2285
+ ):
2286
+ """Insert line break at cursor position
2287
+
2288
+ :type execution_context: int | str | None
2289
+ :type undo: bool | None
2290
+ """
2291
+
2292
+ def text_select_all(
2293
+ execution_context: int | str | None = None, undo: bool | None = None
2294
+ ):
2295
+ """Select all characters
2296
+
2297
+ :type execution_context: int | str | None
2298
+ :type undo: bool | None
2299
+ """
2300
+
2164
2301
  def unlock(execution_context: int | str | None = None, undo: bool | None = None):
2165
2302
  """Unlock strips so they can be transformed
2166
2303
 
bpy/props/__init__.pyi CHANGED
@@ -583,6 +583,7 @@ def PointerProperty(
583
583
  :param tags: Enumerator of tags that are defined by parent class.
584
584
  :param poll: function to be called to determine whether an item is valid for this property.
585
585
  The function must take 2 values (self, object) and return Bool.
586
+ Note that the poll return value will be checked only when assigning an item from the UI, but it is still possible to assign an "invalid" item to the property directly.
586
587
  :type poll: collections.abc.Callable | None
587
588
  :param update: Function to be called when this value is modified,
588
589
  This function must take 2 values (self, context) and return None.
bpy/types/__init__.pyi CHANGED
@@ -219397,6 +219397,12 @@ class ThemeSequenceEditor(bpy_struct):
219397
219397
  :type: mathutils.Color
219398
219398
  """
219399
219399
 
219400
+ selected_text: bpy_prop_array[float]
219401
+ """ Text strip editing selection
219402
+
219403
+ :type: bpy_prop_array[float]
219404
+ """
219405
+
219400
219406
  space: ThemeSpaceGeneric
219401
219407
  """ Settings for space
219402
219408
 
@@ -219415,6 +219421,12 @@ class ThemeSequenceEditor(bpy_struct):
219415
219421
  :type: mathutils.Color
219416
219422
  """
219417
219423
 
219424
+ text_strip_cursor: bpy_prop_array[float]
219425
+ """ Text strip editing cursor
219426
+
219427
+ :type: bpy_prop_array[float]
219428
+ """
219429
+
219418
219430
  time_marker_line: bpy_prop_array[float]
219419
219431
  """
219420
219432
 
@@ -234161,6 +234173,8 @@ SEQUENCER_MT_strip_movie: bl_ui.space_sequencer.SEQUENCER_MT_strip_movie
234161
234173
 
234162
234174
  SEQUENCER_MT_strip_retiming: bl_ui.space_sequencer.SEQUENCER_MT_strip_retiming
234163
234175
 
234176
+ SEQUENCER_MT_strip_text: bl_ui.space_sequencer.SEQUENCER_MT_strip_text
234177
+
234164
234178
  SEQUENCER_MT_strip_transform: bl_ui.space_sequencer.SEQUENCER_MT_strip_transform
234165
234179
 
234166
234180
  SEQUENCER_MT_view: bl_ui.space_sequencer.SEQUENCER_MT_view
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: fake-bpy-module
3
- Version: 20241218
3
+ Version: 20241220
4
4
  Summary: Collection of the fake Blender Python API module for the code completion.
5
5
  Author: nutti
6
6
  Author-email: nutti.metro@gmail.com
@@ -163,13 +163,13 @@ bl_ui/space_nla/__init__.pyi,sha256=uT7nGRBlJlDS-wYZGGGuMs17DK-_XsYoa1qkop7ZVyM,
163
163
  bl_ui/space_node/__init__.pyi,sha256=Xt9bLUvCW9iWdm7PI972n2pUebqYNkN8UfcPdsaonpI,18027
164
164
  bl_ui/space_outliner/__init__.pyi,sha256=o_7H2lQtpKIncGyBU2lL7SHOp-emrqicrRoOBkjwMIg,8090
165
165
  bl_ui/space_properties/__init__.pyi,sha256=U4lQ2UupgDfM0RBCSQrI-MlmNG2pOtBxwn5gED-7jzU,2708
166
- bl_ui/space_sequencer/__init__.pyi,sha256=DQWB0VpyjH7tdTM4-OBpVUgUXPZYqspBzPLEwd85H94,54686
166
+ bl_ui/space_sequencer/__init__.pyi,sha256=majDM6-RLT5xfu4BZHiVlqQzVXu08qIStiQ-3Nv5nJk,55215
167
167
  bl_ui/space_spreadsheet/__init__.pyi,sha256=FcAaZ7hZHyyk9EmM8YuVaDZhFFafRUPbrnXftJ74xMY,1450
168
168
  bl_ui/space_statusbar/__init__.pyi,sha256=uz_efXSX0cK9jOf_V-GCveZ1JWid8rae4wYEvLZ3QkY,613
169
169
  bl_ui/space_text/__init__.pyi,sha256=l5CwsrWjvBl_CQQQqfjH7SbRVeAkK7z9R8UAi7GY59c,8799
170
170
  bl_ui/space_time/__init__.pyi,sha256=CsHClliVjg_FdPpaJzh2EgWkPTMZ0-_l0DCEXhx0fP8,4723
171
171
  bl_ui/space_toolsystem_common/__init__.pyi,sha256=IFq4tTh_oM6-dQWMZbuRo6HhYinOLBFC8ORj0S5ZWcs,3185
172
- bl_ui/space_toolsystem_toolbar/__init__.pyi,sha256=FSYElbb_hnP0urIqymcVuHIJEaA4oA0DNSdg-VufPFI,9924
172
+ bl_ui/space_toolsystem_toolbar/__init__.pyi,sha256=amIcQArvjsuZ7iHNMO3EETPZ1LXkSGRjIwTLtqDkJbk,9946
173
173
  bl_ui/space_topbar/__init__.pyi,sha256=tVupsHc6IdA1o_axDcB1Cbf0o8ARZzgLncMXgguQnWY,15316
174
174
  bl_ui/space_userpref/__init__.pyi,sha256=iLYc94VUBgP3dE6whoVFktEjvqAE-oLGDbtey9Y4L0E,79675
175
175
  bl_ui/space_view3d/__init__.pyi,sha256=HyTTm0awNZtEwDNkDYINCyklRpnXy0Rfr07ki5TGt3A,155025
@@ -257,7 +257,7 @@ bpy/ops/screen/__init__.pyi,sha256=QMTeZ7KCyQ4Y-HkTrJCfHBMT4pVhxoum5ecBe6lynGw,1
257
257
  bpy/ops/script/__init__.pyi,sha256=LPFPi3ovQdpV5IVlMnJpo9K3i88q1t6cFnoXnfiJ5HA,978
258
258
  bpy/ops/sculpt/__init__.pyi,sha256=rLoR6GFU6ARcuEq-CwBKngSn0xxELfy42WJogo4pXxw,46804
259
259
  bpy/ops/sculpt_curves/__init__.pyi,sha256=jDglkug-tn6Esxo-_DrILnCkifpWfQ82x9JE_q0PW-c,2849
260
- bpy/ops/sequencer/__init__.pyi,sha256=JfAlUY302zzAhKnXw3W7DZe2gsz_mQ8avZIV9bMv7_c,74706
260
+ bpy/ops/sequencer/__init__.pyi,sha256=r3S56oSNIMgYLHjFqhvNslTDwfuN0HAe9wxWG4fdvOQ,78304
261
261
  bpy/ops/sound/__init__.pyi,sha256=AjwVXW3oYYL0GrRvoEoUzKGKFBP6IY67FhR9jfjLvZ0,16826
262
262
  bpy/ops/spreadsheet/__init__.pyi,sha256=q_4fYPoBC6g61Pw7Mz71PQB93vYHxk661B18CvIkguA,1360
263
263
  bpy/ops/surface/__init__.pyi,sha256=OD-_jQEOIHzb89OaZ4JLMZlnP7-s4jbY4a2DpI9bA_I,10315
@@ -274,8 +274,8 @@ bpy/ops/wm/__init__.pyi,sha256=hKfEGg5ZP1ydNAkhidsg-KN0yT_p28pgR_g2Vns_bq4,21426
274
274
  bpy/ops/workspace/__init__.pyi,sha256=BHvDV5CcVBnuKaL8akhm-Es7VcGUjf3jGFTbfx5YHCU,1983
275
275
  bpy/ops/world/__init__.pyi,sha256=pBV8EDA8HoWovDSul6mxkF7Mt6N3PQWuukRhkw3dBr8,601
276
276
  bpy/path/__init__.pyi,sha256=N-QNSw3piTmrzrydYRyWab7GFGOh3BsdaS91x4Kf-Cc,5403
277
- bpy/props/__init__.pyi,sha256=eHzPsDSyDTa92O5TvPpi1yflmxv7vVGW_ZocCqudgw4,31027
278
- bpy/types/__init__.pyi,sha256=tz5uRgzbG_-B997WIWY3V4D-Io2pVmYXP0fTB3PXBz8,5401398
277
+ bpy/props/__init__.pyi,sha256=Hye1gGaDpIcGMnsfCVUKgidLJynfWIGyjOSYDq6orjQ,31199
278
+ bpy/types/__init__.pyi,sha256=svIlL1V-v45MqTDgd6zrDk1oBS_JxBwpuurrhRXuYiM,5401713
279
279
  bpy/typing/__init__.pyi,sha256=u2XKjd6ZB1Wjt7JwabxexZdswEZLYR2jQpxzzp6AThg,138679
280
280
  bpy/utils/__init__.pyi,sha256=wvjdEDEtBn5bR5pZG7HnW1ZdL_J-IQYvmB7e4AwTW0s,13537
281
281
  bpy/utils/previews/__init__.pyi,sha256=AsbDN4vRLbSTZ7_S_4LqmI1sJmV_8NnqDt1QfBdH94Y,2280
@@ -325,7 +325,7 @@ gpu/texture/__init__.pyi,sha256=NWixhD9M2vFrAIWlQDM0Co-CNRiU7BbL7imkSOloHHI,641
325
325
  gpu/types/__init__.pyi,sha256=3irdUxznJA1-vvflQGps24-pxPBxopb_eOtUkiiw25I,26846
326
326
  gpu_extras/__init__.pyi,sha256=oNgtMNheClZ_iCmKSH63hBJ4U0huayOWKil-qPvYHds,213
327
327
  gpu_extras/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
328
- gpu_extras/batch/__init__.pyi,sha256=tgSLHYF1sb3LZuu6iJ6l6tNmLCknXid9wy3_L7xp2j8,855
328
+ gpu_extras/batch/__init__.pyi,sha256=WiNyGZ_ivr5sKh_DePTwqR4ue9QHd8YjBdJwUHHXMkk,856
329
329
  gpu_extras/presets/__init__.pyi,sha256=XARWkuQ0koiQPC3Cjh2l7D2f9n3IgHRf5Ymd9xKkjBg,1435
330
330
  graphviz_export/__init__.pyi,sha256=LBiepSfMSL7Qix8FZ6LYKmbPgu1AHRvRw3yHDDWYrEw,215
331
331
  graphviz_export/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -346,7 +346,7 @@ mathutils/geometry/__init__.pyi,sha256=YU4LyVtd5nl5KJeVsbOcWMNZhJlI9TQWIWJ5V-nrk
346
346
  mathutils/interpolate/__init__.pyi,sha256=3MR9khGFn6OavD1uxB06mLE8WC2zQdWDDuCTQFt0xMg,393
347
347
  mathutils/kdtree/__init__.pyi,sha256=bE3wUvxhvzr3n5ENSAqYQyzPCuQtTsOwtzXtSqqX8go,1862
348
348
  mathutils/noise/__init__.pyi,sha256=nDUTZpaghLXZwQG_8sVJnR-vdPeN7qk0p343sAsovgI,12725
349
- nodeitems_builtins/__init__.pyi,sha256=BOoYcQ2Jmn_o1X4y7fqYUWNd2pyul7WMz6cCYH7y6Z0,432
349
+ nodeitems_builtins/__init__.pyi,sha256=UEiW_FT6HF0dl6FrM3-n3OnTE1SiufVzyyLjCsGCqPc,475
350
350
  nodeitems_builtins/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
351
351
  nodeitems_utils/__init__.pyi,sha256=F82sRq2Foowt3d9IUxloVB_qg7pTQP5w8qYvMJhwvFs,747
352
352
  nodeitems_utils/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -358,7 +358,7 @@ rna_prop_ui/__init__.pyi,sha256=lShhkbbeJ_ANi2dy4J4HIkyp1HZrMqCfhcf8QpAQsj0,1281
358
358
  rna_prop_ui/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
359
359
  rna_xml/__init__.pyi,sha256=idYsAZj-_egBKMA2pQl2P9IoNhZxXIkBSALFuq-ylO8,577
360
360
  rna_xml/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
361
- fake_bpy_module-20241218.dist-info/METADATA,sha256=uw-bqJDjJJVcRPTcvnY4ZF5QVjt_02pZQqNNzFuBTq8,7289
362
- fake_bpy_module-20241218.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
363
- fake_bpy_module-20241218.dist-info/top_level.txt,sha256=SZm3DVRKif7dFSjYKiIIg3_7uqjIwRAwOnCIcT4hRNM,500
364
- fake_bpy_module-20241218.dist-info/RECORD,,
361
+ fake_bpy_module-20241220.dist-info/METADATA,sha256=VbMthb2D8D_lAZ8uoELfBHgDdC-61m8lakUPD4QrZ14,7289
362
+ fake_bpy_module-20241220.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
363
+ fake_bpy_module-20241220.dist-info/top_level.txt,sha256=SZm3DVRKif7dFSjYKiIIg3_7uqjIwRAwOnCIcT4hRNM,500
364
+ fake_bpy_module-20241220.dist-info/RECORD,,
@@ -1,13 +1,12 @@
1
1
  import typing
2
2
  import collections.abc
3
3
  import typing_extensions
4
- import bgl
5
4
  import gpu.types
6
5
 
7
6
  def batch_for_shader(
8
7
  shader: gpu.types.GPUShader,
9
8
  type: str,
10
- content: dict[str, bgl.Buffer],
9
+ content: dict[str, gpu.types.Buffer],
11
10
  *,
12
11
  indices=None,
13
12
  ) -> gpu.types.GPUBatch:
@@ -19,7 +18,7 @@ def batch_for_shader(
19
18
  :type type: str
20
19
  :param content: Maps the name of the shader attribute with the data to fill the vertex buffer.
21
20
  For the dictionary values see documentation for `gpu.types.GPUVertBuf.attr_fill` data argument.
22
- :type content: dict[str, bgl.Buffer]
21
+ :type content: dict[str, gpu.types.Buffer]
23
22
  :return: compatible batch
24
23
  :rtype: gpu.types.GPUBatch
25
24
  """
@@ -20,3 +20,6 @@ class ShaderNodeCategory(SortedNodeCategory):
20
20
 
21
21
  :param context:
22
22
  """
23
+
24
+ def register(): ...
25
+ def unregister(): ...