winrt-Windows.UI.Text.Core 4!10.0.28000.2705__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.
@@ -0,0 +1,33 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT
2
+
3
+ import winrt.runtime._internals
4
+ import winrt.system
5
+
6
+ winrt.runtime._internals.load_projection(__spec__)
7
+
8
+ __all__ = [
9
+ "CoreTextFormatUpdatingReason",
10
+ "CoreTextFormatUpdatingResult",
11
+ "CoreTextInputPaneDisplayPolicy",
12
+ "CoreTextInputScope",
13
+ "CoreTextSelectionUpdatingResult",
14
+ "CoreTextTextUpdatingResult",
15
+ "CoreTextRange",
16
+ "CoreTextCompositionCompletedEventArgs",
17
+ "CoreTextCompositionSegment",
18
+ "CoreTextCompositionStartedEventArgs",
19
+ "CoreTextEditContext",
20
+ "CoreTextFormatUpdatingEventArgs",
21
+ "CoreTextLayoutBounds",
22
+ "CoreTextLayoutRequest",
23
+ "CoreTextLayoutRequestedEventArgs",
24
+ "CoreTextSelectionRequest",
25
+ "CoreTextSelectionRequestedEventArgs",
26
+ "CoreTextSelectionUpdatingEventArgs",
27
+ "CoreTextServicesConstants",
28
+ "CoreTextServicesManager",
29
+ "CoreTextTextRequest",
30
+ "CoreTextTextRequestedEventArgs",
31
+ "CoreTextTextUpdatingEventArgs",
32
+ ]
33
+
@@ -0,0 +1,462 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT
2
+
3
+ import collections.abc as _cabc
4
+ import enum
5
+ import typing
6
+ from builtins import property as _property
7
+
8
+ import winrt.system
9
+ import winrt.windows.foundation as windows_foundation
10
+ import winrt.windows.foundation.collections as windows_foundation_collections
11
+ import winrt.windows.globalization as windows_globalization
12
+ import winrt.windows.ui.text as windows_ui_text
13
+ import winrt.windows.ui.viewmanagement as windows_ui_viewmanagement
14
+
15
+ __all__ = [
16
+ "CoreTextFormatUpdatingReason",
17
+ "CoreTextFormatUpdatingResult",
18
+ "CoreTextInputPaneDisplayPolicy",
19
+ "CoreTextInputScope",
20
+ "CoreTextSelectionUpdatingResult",
21
+ "CoreTextTextUpdatingResult",
22
+ "CoreTextRange",
23
+ "CoreTextCompositionCompletedEventArgs",
24
+ "CoreTextCompositionSegment",
25
+ "CoreTextCompositionStartedEventArgs",
26
+ "CoreTextEditContext",
27
+ "CoreTextFormatUpdatingEventArgs",
28
+ "CoreTextLayoutBounds",
29
+ "CoreTextLayoutRequest",
30
+ "CoreTextLayoutRequestedEventArgs",
31
+ "CoreTextSelectionRequest",
32
+ "CoreTextSelectionRequestedEventArgs",
33
+ "CoreTextSelectionUpdatingEventArgs",
34
+ "CoreTextServicesConstants",
35
+ "CoreTextServicesManager",
36
+ "CoreTextTextRequest",
37
+ "CoreTextTextRequestedEventArgs",
38
+ "CoreTextTextUpdatingEventArgs",
39
+ ]
40
+
41
+ class CoreTextFormatUpdatingReason(enum.IntEnum):
42
+ NONE = 0
43
+ COMPOSITION_UNCONVERTED = 1
44
+ COMPOSITION_CONVERTED = 2
45
+ COMPOSITION_TARGET_UNCONVERTED = 3
46
+ COMPOSITION_TARGET_CONVERTED = 4
47
+
48
+ class CoreTextFormatUpdatingResult(enum.IntEnum):
49
+ SUCCEEDED = 0
50
+ FAILED = 1
51
+
52
+ class CoreTextInputPaneDisplayPolicy(enum.IntEnum):
53
+ AUTOMATIC = 0
54
+ MANUAL = 1
55
+
56
+ class CoreTextInputScope(enum.IntEnum):
57
+ DEFAULT = 0
58
+ URL = 1
59
+ FILE_PATH = 2
60
+ FILE_NAME = 3
61
+ EMAIL_USER_NAME = 4
62
+ EMAIL_ADDRESS = 5
63
+ USER_NAME = 6
64
+ PERSONAL_FULL_NAME = 7
65
+ PERSONAL_NAME_PREFIX = 8
66
+ PERSONAL_GIVEN_NAME = 9
67
+ PERSONAL_MIDDLE_NAME = 10
68
+ PERSONAL_SURNAME = 11
69
+ PERSONAL_NAME_SUFFIX = 12
70
+ ADDRESS = 13
71
+ ADDRESS_POSTAL_CODE = 14
72
+ ADDRESS_STREET = 15
73
+ ADDRESS_STATE_OR_PROVINCE = 16
74
+ ADDRESS_CITY = 17
75
+ ADDRESS_COUNTRY_NAME = 18
76
+ ADDRESS_COUNTRY_SHORT_NAME = 19
77
+ CURRENCY_AMOUNT_AND_SYMBOL = 20
78
+ CURRENCY_AMOUNT = 21
79
+ DATE = 22
80
+ DATE_MONTH = 23
81
+ DATE_DAY = 24
82
+ DATE_YEAR = 25
83
+ DATE_MONTH_NAME = 26
84
+ DATE_DAY_NAME = 27
85
+ NUMBER = 29
86
+ SINGLE_CHARACTER = 30
87
+ PASSWORD = 31
88
+ TELEPHONE_NUMBER = 32
89
+ TELEPHONE_COUNTRY_CODE = 33
90
+ TELEPHONE_AREA_CODE = 34
91
+ TELEPHONE_LOCAL_NUMBER = 35
92
+ TIME = 36
93
+ TIME_HOUR = 37
94
+ TIME_MINUTE_OR_SECOND = 38
95
+ NUMBER_FULL_WIDTH = 39
96
+ ALPHANUMERIC_HALF_WIDTH = 40
97
+ ALPHANUMERIC_FULL_WIDTH = 41
98
+ CURRENCY_CHINESE = 42
99
+ BOPOMOFO = 43
100
+ HIRAGANA = 44
101
+ KATAKANA_HALF_WIDTH = 45
102
+ KATAKANA_FULL_WIDTH = 46
103
+ HANJA = 47
104
+ HANGUL_HALF_WIDTH = 48
105
+ HANGUL_FULL_WIDTH = 49
106
+ SEARCH = 50
107
+ FORMULA = 51
108
+ SEARCH_INCREMENTAL = 52
109
+ CHINESE_HALF_WIDTH = 53
110
+ CHINESE_FULL_WIDTH = 54
111
+ NATIVE_SCRIPT = 55
112
+ TEXT = 57
113
+ CHAT = 58
114
+ NAME_OR_PHONE_NUMBER = 59
115
+ EMAIL_USER_NAME_OR_ADDRESS = 60
116
+ PRIVATE = 61
117
+ MAPS = 62
118
+ PASSWORD_NUMERIC = 63
119
+ FORMULA_NUMBER = 67
120
+ CHAT_WITHOUT_EMOJI = 68
121
+ DIGITS = 28
122
+ PIN_NUMERIC = 64
123
+ PIN_ALPHANUMERIC = 65
124
+
125
+ class CoreTextSelectionUpdatingResult(enum.IntEnum):
126
+ SUCCEEDED = 0
127
+ FAILED = 1
128
+
129
+ class CoreTextTextUpdatingResult(enum.IntEnum):
130
+ SUCCEEDED = 0
131
+ FAILED = 1
132
+
133
+ @typing.final
134
+ class CoreTextRange:
135
+ __match_args__ = ("start_caret_position", "end_caret_position")
136
+ @_property
137
+ def start_caret_position(self) -> winrt.system.Int32: ...
138
+ @_property
139
+ def end_caret_position(self) -> winrt.system.Int32: ...
140
+ def __new__(cls, start_caret_position: winrt.system.Int32 | typing.SupportsIndex = 0, end_caret_position: winrt.system.Int32 | typing.SupportsIndex = 0) -> CoreTextRange: ...
141
+ def __replace__(self, /, **changes: typing.Any) -> CoreTextRange: ...
142
+ def unpack(self) -> tuple[winrt.system.Int32, winrt.system.Int32]: ...
143
+
144
+ @typing.final
145
+ class CoreTextCompositionCompletedEventArgs(winrt.system.Object):
146
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
147
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
148
+ # Windows.Foundation.Deferral Windows.UI.Text.Core.CoreTextCompositionCompletedEventArgs::GetDeferral()
149
+ def get_deferral(self) -> windows_foundation.Deferral: ...
150
+ # Windows.Foundation.Collections.IVectorView`1<Windows.UI.Text.Core.CoreTextCompositionSegment> Windows.UI.Text.Core.CoreTextCompositionCompletedEventArgs::get_CompositionSegments()
151
+ @_property
152
+ def composition_segments(self) -> _cabc.Sequence[CoreTextCompositionSegment]: ...
153
+ # System.Boolean Windows.UI.Text.Core.CoreTextCompositionCompletedEventArgs::get_IsCanceled()
154
+ @_property
155
+ def is_canceled(self) -> bool: ...
156
+
157
+ @typing.final
158
+ class CoreTextCompositionSegment(winrt.system.Object):
159
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
160
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
161
+ # System.String Windows.UI.Text.Core.CoreTextCompositionSegment::get_PreconversionString()
162
+ @_property
163
+ def preconversion_string(self) -> str: ...
164
+ # Windows.UI.Text.Core.CoreTextRange Windows.UI.Text.Core.CoreTextCompositionSegment::get_Range()
165
+ @_property
166
+ def range(self) -> CoreTextRange: ...
167
+
168
+ @typing.final
169
+ class CoreTextCompositionStartedEventArgs(winrt.system.Object):
170
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
171
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
172
+ # Windows.Foundation.Deferral Windows.UI.Text.Core.CoreTextCompositionStartedEventArgs::GetDeferral()
173
+ def get_deferral(self) -> windows_foundation.Deferral: ...
174
+ # System.Boolean Windows.UI.Text.Core.CoreTextCompositionStartedEventArgs::get_IsCanceled()
175
+ @_property
176
+ def is_canceled(self) -> bool: ...
177
+
178
+ @typing.final
179
+ class CoreTextEditContext(winrt.system.Object):
180
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
181
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
182
+ # System.Void Windows.UI.Text.Core.CoreTextEditContext::NotifyFocusEnter()
183
+ def notify_focus_enter(self) -> None: ...
184
+ # System.Void Windows.UI.Text.Core.CoreTextEditContext::NotifyFocusLeave()
185
+ def notify_focus_leave(self) -> None: ...
186
+ # System.Void Windows.UI.Text.Core.CoreTextEditContext::NotifyLayoutChanged()
187
+ def notify_layout_changed(self) -> None: ...
188
+ # System.Void Windows.UI.Text.Core.CoreTextEditContext::NotifySelectionChanged(Windows.UI.Text.Core.CoreTextRange)
189
+ def notify_selection_changed(self, selection: CoreTextRange | tuple[winrt.system.Int32 | typing.SupportsIndex, winrt.system.Int32 | typing.SupportsIndex], /) -> None: ...
190
+ # System.Void Windows.UI.Text.Core.CoreTextEditContext::NotifyTextChanged(Windows.UI.Text.Core.CoreTextRange,System.Int32,Windows.UI.Text.Core.CoreTextRange)
191
+ def notify_text_changed(self, modified_range: CoreTextRange | tuple[winrt.system.Int32 | typing.SupportsIndex, winrt.system.Int32 | typing.SupportsIndex], new_length: winrt.system.Int32 | typing.SupportsIndex, new_selection: CoreTextRange | tuple[winrt.system.Int32 | typing.SupportsIndex, winrt.system.Int32 | typing.SupportsIndex], /) -> None: ...
192
+ # Windows.Foundation.EventRegistrationToken Windows.UI.Text.Core.CoreTextEditContext::add_CompositionCompleted(Windows.Foundation.TypedEventHandler`2<Windows.UI.Text.Core.CoreTextEditContext,Windows.UI.Text.Core.CoreTextCompositionCompletedEventArgs>)
193
+ def add_composition_completed(self, handler: windows_foundation.TypedEventHandler[CoreTextEditContext, CoreTextCompositionCompletedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
194
+ # System.Void Windows.UI.Text.Core.CoreTextEditContext::remove_CompositionCompleted(Windows.Foundation.EventRegistrationToken)
195
+ def remove_composition_completed(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
196
+ # Windows.Foundation.EventRegistrationToken Windows.UI.Text.Core.CoreTextEditContext::add_CompositionStarted(Windows.Foundation.TypedEventHandler`2<Windows.UI.Text.Core.CoreTextEditContext,Windows.UI.Text.Core.CoreTextCompositionStartedEventArgs>)
197
+ def add_composition_started(self, handler: windows_foundation.TypedEventHandler[CoreTextEditContext, CoreTextCompositionStartedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
198
+ # System.Void Windows.UI.Text.Core.CoreTextEditContext::remove_CompositionStarted(Windows.Foundation.EventRegistrationToken)
199
+ def remove_composition_started(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
200
+ # Windows.Foundation.EventRegistrationToken Windows.UI.Text.Core.CoreTextEditContext::add_FocusRemoved(Windows.Foundation.TypedEventHandler`2<Windows.UI.Text.Core.CoreTextEditContext,System.Object>)
201
+ def add_focus_removed(self, handler: windows_foundation.TypedEventHandler[CoreTextEditContext, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
202
+ # System.Void Windows.UI.Text.Core.CoreTextEditContext::remove_FocusRemoved(Windows.Foundation.EventRegistrationToken)
203
+ def remove_focus_removed(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
204
+ # Windows.Foundation.EventRegistrationToken Windows.UI.Text.Core.CoreTextEditContext::add_FormatUpdating(Windows.Foundation.TypedEventHandler`2<Windows.UI.Text.Core.CoreTextEditContext,Windows.UI.Text.Core.CoreTextFormatUpdatingEventArgs>)
205
+ def add_format_updating(self, handler: windows_foundation.TypedEventHandler[CoreTextEditContext, CoreTextFormatUpdatingEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
206
+ # System.Void Windows.UI.Text.Core.CoreTextEditContext::remove_FormatUpdating(Windows.Foundation.EventRegistrationToken)
207
+ def remove_format_updating(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
208
+ # Windows.Foundation.EventRegistrationToken Windows.UI.Text.Core.CoreTextEditContext::add_LayoutRequested(Windows.Foundation.TypedEventHandler`2<Windows.UI.Text.Core.CoreTextEditContext,Windows.UI.Text.Core.CoreTextLayoutRequestedEventArgs>)
209
+ def add_layout_requested(self, handler: windows_foundation.TypedEventHandler[CoreTextEditContext, CoreTextLayoutRequestedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
210
+ # System.Void Windows.UI.Text.Core.CoreTextEditContext::remove_LayoutRequested(Windows.Foundation.EventRegistrationToken)
211
+ def remove_layout_requested(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
212
+ # Windows.Foundation.EventRegistrationToken Windows.UI.Text.Core.CoreTextEditContext::add_SelectionRequested(Windows.Foundation.TypedEventHandler`2<Windows.UI.Text.Core.CoreTextEditContext,Windows.UI.Text.Core.CoreTextSelectionRequestedEventArgs>)
213
+ def add_selection_requested(self, handler: windows_foundation.TypedEventHandler[CoreTextEditContext, CoreTextSelectionRequestedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
214
+ # System.Void Windows.UI.Text.Core.CoreTextEditContext::remove_SelectionRequested(Windows.Foundation.EventRegistrationToken)
215
+ def remove_selection_requested(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
216
+ # Windows.Foundation.EventRegistrationToken Windows.UI.Text.Core.CoreTextEditContext::add_SelectionUpdating(Windows.Foundation.TypedEventHandler`2<Windows.UI.Text.Core.CoreTextEditContext,Windows.UI.Text.Core.CoreTextSelectionUpdatingEventArgs>)
217
+ def add_selection_updating(self, handler: windows_foundation.TypedEventHandler[CoreTextEditContext, CoreTextSelectionUpdatingEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
218
+ # System.Void Windows.UI.Text.Core.CoreTextEditContext::remove_SelectionUpdating(Windows.Foundation.EventRegistrationToken)
219
+ def remove_selection_updating(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
220
+ # Windows.Foundation.EventRegistrationToken Windows.UI.Text.Core.CoreTextEditContext::add_TextRequested(Windows.Foundation.TypedEventHandler`2<Windows.UI.Text.Core.CoreTextEditContext,Windows.UI.Text.Core.CoreTextTextRequestedEventArgs>)
221
+ def add_text_requested(self, handler: windows_foundation.TypedEventHandler[CoreTextEditContext, CoreTextTextRequestedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
222
+ # System.Void Windows.UI.Text.Core.CoreTextEditContext::remove_TextRequested(Windows.Foundation.EventRegistrationToken)
223
+ def remove_text_requested(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
224
+ # Windows.Foundation.EventRegistrationToken Windows.UI.Text.Core.CoreTextEditContext::add_TextUpdating(Windows.Foundation.TypedEventHandler`2<Windows.UI.Text.Core.CoreTextEditContext,Windows.UI.Text.Core.CoreTextTextUpdatingEventArgs>)
225
+ def add_text_updating(self, handler: windows_foundation.TypedEventHandler[CoreTextEditContext, CoreTextTextUpdatingEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
226
+ # System.Void Windows.UI.Text.Core.CoreTextEditContext::remove_TextUpdating(Windows.Foundation.EventRegistrationToken)
227
+ def remove_text_updating(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
228
+ # Windows.Foundation.EventRegistrationToken Windows.UI.Text.Core.CoreTextEditContext::add_NotifyFocusLeaveCompleted(Windows.Foundation.TypedEventHandler`2<Windows.UI.Text.Core.CoreTextEditContext,System.Object>)
229
+ def add_notify_focus_leave_completed(self, handler: windows_foundation.TypedEventHandler[CoreTextEditContext, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
230
+ # System.Void Windows.UI.Text.Core.CoreTextEditContext::remove_NotifyFocusLeaveCompleted(Windows.Foundation.EventRegistrationToken)
231
+ def remove_notify_focus_leave_completed(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
232
+ # System.String Windows.UI.Text.Core.CoreTextEditContext::get_Name()
233
+ @_property
234
+ def name(self) -> str: ...
235
+ # System.Void Windows.UI.Text.Core.CoreTextEditContext::put_Name(System.String)
236
+ @name.setter
237
+ def name(self, value: str) -> None: ...
238
+ # System.Boolean Windows.UI.Text.Core.CoreTextEditContext::get_IsReadOnly()
239
+ @_property
240
+ def is_read_only(self) -> bool: ...
241
+ # System.Void Windows.UI.Text.Core.CoreTextEditContext::put_IsReadOnly(System.Boolean)
242
+ @is_read_only.setter
243
+ def is_read_only(self, value: bool) -> None: ...
244
+ # Windows.UI.Text.Core.CoreTextInputScope Windows.UI.Text.Core.CoreTextEditContext::get_InputScope()
245
+ @_property
246
+ def input_scope(self) -> CoreTextInputScope: ...
247
+ # System.Void Windows.UI.Text.Core.CoreTextEditContext::put_InputScope(Windows.UI.Text.Core.CoreTextInputScope)
248
+ @input_scope.setter
249
+ def input_scope(self, value: CoreTextInputScope) -> None: ...
250
+ # Windows.UI.Text.Core.CoreTextInputPaneDisplayPolicy Windows.UI.Text.Core.CoreTextEditContext::get_InputPaneDisplayPolicy()
251
+ @_property
252
+ def input_pane_display_policy(self) -> CoreTextInputPaneDisplayPolicy: ...
253
+ # System.Void Windows.UI.Text.Core.CoreTextEditContext::put_InputPaneDisplayPolicy(Windows.UI.Text.Core.CoreTextInputPaneDisplayPolicy)
254
+ @input_pane_display_policy.setter
255
+ def input_pane_display_policy(self, value: CoreTextInputPaneDisplayPolicy) -> None: ...
256
+
257
+ @typing.final
258
+ class CoreTextFormatUpdatingEventArgs(winrt.system.Object):
259
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
260
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
261
+ # Windows.Foundation.Deferral Windows.UI.Text.Core.CoreTextFormatUpdatingEventArgs::GetDeferral()
262
+ def get_deferral(self) -> windows_foundation.Deferral: ...
263
+ # Windows.UI.Text.Core.CoreTextFormatUpdatingResult Windows.UI.Text.Core.CoreTextFormatUpdatingEventArgs::get_Result()
264
+ @_property
265
+ def result(self) -> CoreTextFormatUpdatingResult: ...
266
+ # System.Void Windows.UI.Text.Core.CoreTextFormatUpdatingEventArgs::put_Result(Windows.UI.Text.Core.CoreTextFormatUpdatingResult)
267
+ @result.setter
268
+ def result(self, value: CoreTextFormatUpdatingResult) -> None: ...
269
+ # Windows.Foundation.IReference`1<Windows.UI.ViewManagement.UIElementType> Windows.UI.Text.Core.CoreTextFormatUpdatingEventArgs::get_BackgroundColor()
270
+ @_property
271
+ def background_color(self) -> windows_ui_viewmanagement.UIElementType | None: ...
272
+ # System.Boolean Windows.UI.Text.Core.CoreTextFormatUpdatingEventArgs::get_IsCanceled()
273
+ @_property
274
+ def is_canceled(self) -> bool: ...
275
+ # Windows.UI.Text.Core.CoreTextRange Windows.UI.Text.Core.CoreTextFormatUpdatingEventArgs::get_Range()
276
+ @_property
277
+ def range(self) -> CoreTextRange: ...
278
+ # Windows.UI.Text.Core.CoreTextFormatUpdatingReason Windows.UI.Text.Core.CoreTextFormatUpdatingEventArgs::get_Reason()
279
+ @_property
280
+ def reason(self) -> CoreTextFormatUpdatingReason: ...
281
+ # Windows.Foundation.IReference`1<Windows.UI.ViewManagement.UIElementType> Windows.UI.Text.Core.CoreTextFormatUpdatingEventArgs::get_TextColor()
282
+ @_property
283
+ def text_color(self) -> windows_ui_viewmanagement.UIElementType | None: ...
284
+ # Windows.Foundation.IReference`1<Windows.UI.ViewManagement.UIElementType> Windows.UI.Text.Core.CoreTextFormatUpdatingEventArgs::get_UnderlineColor()
285
+ @_property
286
+ def underline_color(self) -> windows_ui_viewmanagement.UIElementType | None: ...
287
+ # Windows.Foundation.IReference`1<Windows.UI.Text.UnderlineType> Windows.UI.Text.Core.CoreTextFormatUpdatingEventArgs::get_UnderlineType()
288
+ @_property
289
+ def underline_type(self) -> windows_ui_text.UnderlineType | None: ...
290
+
291
+ @typing.final
292
+ class CoreTextLayoutBounds(winrt.system.Object):
293
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
294
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
295
+ # Windows.Foundation.Rect Windows.UI.Text.Core.CoreTextLayoutBounds::get_TextBounds()
296
+ @_property
297
+ def text_bounds(self) -> windows_foundation.Rect: ...
298
+ # System.Void Windows.UI.Text.Core.CoreTextLayoutBounds::put_TextBounds(Windows.Foundation.Rect)
299
+ @text_bounds.setter
300
+ def text_bounds(self, value: windows_foundation.Rect | tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single, winrt.system.Single]) -> None: ...
301
+ # Windows.Foundation.Rect Windows.UI.Text.Core.CoreTextLayoutBounds::get_ControlBounds()
302
+ @_property
303
+ def control_bounds(self) -> windows_foundation.Rect: ...
304
+ # System.Void Windows.UI.Text.Core.CoreTextLayoutBounds::put_ControlBounds(Windows.Foundation.Rect)
305
+ @control_bounds.setter
306
+ def control_bounds(self, value: windows_foundation.Rect | tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single, winrt.system.Single]) -> None: ...
307
+
308
+ @typing.final
309
+ class CoreTextLayoutRequest(winrt.system.Object):
310
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
311
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
312
+ # Windows.Foundation.Deferral Windows.UI.Text.Core.CoreTextLayoutRequest::GetDeferral()
313
+ def get_deferral(self) -> windows_foundation.Deferral: ...
314
+ # System.Boolean Windows.UI.Text.Core.CoreTextLayoutRequest::get_IsCanceled()
315
+ @_property
316
+ def is_canceled(self) -> bool: ...
317
+ # Windows.UI.Text.Core.CoreTextLayoutBounds Windows.UI.Text.Core.CoreTextLayoutRequest::get_LayoutBounds()
318
+ @_property
319
+ def layout_bounds(self) -> CoreTextLayoutBounds: ...
320
+ # Windows.UI.Text.Core.CoreTextRange Windows.UI.Text.Core.CoreTextLayoutRequest::get_Range()
321
+ @_property
322
+ def range(self) -> CoreTextRange: ...
323
+ # Windows.UI.Text.Core.CoreTextLayoutBounds Windows.UI.Text.Core.CoreTextLayoutRequest::get_LayoutBoundsVisualPixels()
324
+ @_property
325
+ def layout_bounds_visual_pixels(self) -> CoreTextLayoutBounds: ...
326
+
327
+ @typing.final
328
+ class CoreTextLayoutRequestedEventArgs(winrt.system.Object):
329
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
330
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
331
+ # Windows.UI.Text.Core.CoreTextLayoutRequest Windows.UI.Text.Core.CoreTextLayoutRequestedEventArgs::get_Request()
332
+ @_property
333
+ def request(self) -> CoreTextLayoutRequest: ...
334
+
335
+ @typing.final
336
+ class CoreTextSelectionRequest(winrt.system.Object):
337
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
338
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
339
+ # Windows.Foundation.Deferral Windows.UI.Text.Core.CoreTextSelectionRequest::GetDeferral()
340
+ def get_deferral(self) -> windows_foundation.Deferral: ...
341
+ # Windows.UI.Text.Core.CoreTextRange Windows.UI.Text.Core.CoreTextSelectionRequest::get_Selection()
342
+ @_property
343
+ def selection(self) -> CoreTextRange: ...
344
+ # System.Void Windows.UI.Text.Core.CoreTextSelectionRequest::put_Selection(Windows.UI.Text.Core.CoreTextRange)
345
+ @selection.setter
346
+ def selection(self, value: CoreTextRange | tuple[winrt.system.Int32 | typing.SupportsIndex, winrt.system.Int32 | typing.SupportsIndex]) -> None: ...
347
+ # System.Boolean Windows.UI.Text.Core.CoreTextSelectionRequest::get_IsCanceled()
348
+ @_property
349
+ def is_canceled(self) -> bool: ...
350
+
351
+ @typing.final
352
+ class CoreTextSelectionRequestedEventArgs(winrt.system.Object):
353
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
354
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
355
+ # Windows.UI.Text.Core.CoreTextSelectionRequest Windows.UI.Text.Core.CoreTextSelectionRequestedEventArgs::get_Request()
356
+ @_property
357
+ def request(self) -> CoreTextSelectionRequest: ...
358
+
359
+ @typing.final
360
+ class CoreTextSelectionUpdatingEventArgs(winrt.system.Object):
361
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
362
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
363
+ # Windows.Foundation.Deferral Windows.UI.Text.Core.CoreTextSelectionUpdatingEventArgs::GetDeferral()
364
+ def get_deferral(self) -> windows_foundation.Deferral: ...
365
+ # Windows.UI.Text.Core.CoreTextSelectionUpdatingResult Windows.UI.Text.Core.CoreTextSelectionUpdatingEventArgs::get_Result()
366
+ @_property
367
+ def result(self) -> CoreTextSelectionUpdatingResult: ...
368
+ # System.Void Windows.UI.Text.Core.CoreTextSelectionUpdatingEventArgs::put_Result(Windows.UI.Text.Core.CoreTextSelectionUpdatingResult)
369
+ @result.setter
370
+ def result(self, value: CoreTextSelectionUpdatingResult) -> None: ...
371
+ # System.Boolean Windows.UI.Text.Core.CoreTextSelectionUpdatingEventArgs::get_IsCanceled()
372
+ @_property
373
+ def is_canceled(self) -> bool: ...
374
+ # Windows.UI.Text.Core.CoreTextRange Windows.UI.Text.Core.CoreTextSelectionUpdatingEventArgs::get_Selection()
375
+ @_property
376
+ def selection(self) -> CoreTextRange: ...
377
+
378
+ @typing.final
379
+ class CoreTextServicesConstants_Static(winrt.system.Object_Static):
380
+ # System.Char Windows.UI.Text.Core.CoreTextServicesConstants::get_HiddenCharacter()
381
+ @_property
382
+ def hidden_character(cls) -> winrt.system.Char16: ...
383
+
384
+ @typing.final
385
+ class CoreTextServicesConstants(winrt.system.Object, metaclass=CoreTextServicesConstants_Static):
386
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
387
+ """A class of static members only, so there is nothing to create."""
388
+
389
+ @typing.final
390
+ class CoreTextServicesManager_Static(winrt.system.Object_Static):
391
+ # Windows.UI.Text.Core.CoreTextServicesManager Windows.UI.Text.Core.CoreTextServicesManager::GetForCurrentView()
392
+ def get_for_current_view(cls) -> CoreTextServicesManager: ...
393
+
394
+ @typing.final
395
+ class CoreTextServicesManager(winrt.system.Object, metaclass=CoreTextServicesManager_Static):
396
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
397
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
398
+ # Windows.UI.Text.Core.CoreTextEditContext Windows.UI.Text.Core.CoreTextServicesManager::CreateEditContext()
399
+ def create_edit_context(self) -> CoreTextEditContext: ...
400
+ # Windows.Foundation.EventRegistrationToken Windows.UI.Text.Core.CoreTextServicesManager::add_InputLanguageChanged(Windows.Foundation.TypedEventHandler`2<Windows.UI.Text.Core.CoreTextServicesManager,System.Object>)
401
+ def add_input_language_changed(self, handler: windows_foundation.TypedEventHandler[CoreTextServicesManager, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
402
+ # System.Void Windows.UI.Text.Core.CoreTextServicesManager::remove_InputLanguageChanged(Windows.Foundation.EventRegistrationToken)
403
+ def remove_input_language_changed(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
404
+ # Windows.Globalization.Language Windows.UI.Text.Core.CoreTextServicesManager::get_InputLanguage()
405
+ @_property
406
+ def input_language(self) -> windows_globalization.Language: ...
407
+
408
+ @typing.final
409
+ class CoreTextTextRequest(winrt.system.Object):
410
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
411
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
412
+ # Windows.Foundation.Deferral Windows.UI.Text.Core.CoreTextTextRequest::GetDeferral()
413
+ def get_deferral(self) -> windows_foundation.Deferral: ...
414
+ # System.String Windows.UI.Text.Core.CoreTextTextRequest::get_Text()
415
+ @_property
416
+ def text(self) -> str: ...
417
+ # System.Void Windows.UI.Text.Core.CoreTextTextRequest::put_Text(System.String)
418
+ @text.setter
419
+ def text(self, value: str) -> None: ...
420
+ # System.Boolean Windows.UI.Text.Core.CoreTextTextRequest::get_IsCanceled()
421
+ @_property
422
+ def is_canceled(self) -> bool: ...
423
+ # Windows.UI.Text.Core.CoreTextRange Windows.UI.Text.Core.CoreTextTextRequest::get_Range()
424
+ @_property
425
+ def range(self) -> CoreTextRange: ...
426
+
427
+ @typing.final
428
+ class CoreTextTextRequestedEventArgs(winrt.system.Object):
429
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
430
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
431
+ # Windows.UI.Text.Core.CoreTextTextRequest Windows.UI.Text.Core.CoreTextTextRequestedEventArgs::get_Request()
432
+ @_property
433
+ def request(self) -> CoreTextTextRequest: ...
434
+
435
+ @typing.final
436
+ class CoreTextTextUpdatingEventArgs(winrt.system.Object):
437
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
438
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
439
+ # Windows.Foundation.Deferral Windows.UI.Text.Core.CoreTextTextUpdatingEventArgs::GetDeferral()
440
+ def get_deferral(self) -> windows_foundation.Deferral: ...
441
+ # Windows.UI.Text.Core.CoreTextTextUpdatingResult Windows.UI.Text.Core.CoreTextTextUpdatingEventArgs::get_Result()
442
+ @_property
443
+ def result(self) -> CoreTextTextUpdatingResult: ...
444
+ # System.Void Windows.UI.Text.Core.CoreTextTextUpdatingEventArgs::put_Result(Windows.UI.Text.Core.CoreTextTextUpdatingResult)
445
+ @result.setter
446
+ def result(self, value: CoreTextTextUpdatingResult) -> None: ...
447
+ # Windows.Globalization.Language Windows.UI.Text.Core.CoreTextTextUpdatingEventArgs::get_InputLanguage()
448
+ @_property
449
+ def input_language(self) -> windows_globalization.Language: ...
450
+ # System.Boolean Windows.UI.Text.Core.CoreTextTextUpdatingEventArgs::get_IsCanceled()
451
+ @_property
452
+ def is_canceled(self) -> bool: ...
453
+ # Windows.UI.Text.Core.CoreTextRange Windows.UI.Text.Core.CoreTextTextUpdatingEventArgs::get_NewSelection()
454
+ @_property
455
+ def new_selection(self) -> CoreTextRange: ...
456
+ # Windows.UI.Text.Core.CoreTextRange Windows.UI.Text.Core.CoreTextTextUpdatingEventArgs::get_Range()
457
+ @_property
458
+ def range(self) -> CoreTextRange: ...
459
+ # System.String Windows.UI.Text.Core.CoreTextTextUpdatingEventArgs::get_Text()
460
+ @_property
461
+ def text(self) -> str: ...
462
+
File without changes
@@ -0,0 +1,49 @@
1
+ Metadata-Version: 2.5
2
+ Name: winrt-Windows.UI.Text.Core
3
+ Version: 4!10.0.28000.2705
4
+ Summary: PyWinRT projection of the Windows.UI.Text.Core namespace
5
+ Project-URL: Documentation, https://pywinrt.readthedocs.io
6
+ Project-URL: Repository, https://github.com/pywinrt/pywinrt
7
+ Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/projection/winrt/CHANGELOG.md
8
+ License-Expression: MIT
9
+ License-File: LICENSE
10
+ Classifier: Intended Audience :: Developers
11
+ Classifier: Operating System :: Microsoft :: Windows
12
+ Classifier: Programming Language :: Python :: 3
13
+ Classifier: Programming Language :: Python :: 3.11
14
+ Classifier: Programming Language :: Python :: 3.12
15
+ Classifier: Programming Language :: Python :: 3.13
16
+ Classifier: Programming Language :: Python :: 3.14
17
+ Classifier: Programming Language :: Python :: 3.15
18
+ Classifier: Programming Language :: Python :: Free Threading :: 2 - Beta
19
+ Classifier: Programming Language :: Python :: Implementation :: CPython
20
+ Classifier: Typing :: Typed
21
+ Requires-Python: >=3.11
22
+ Requires-Dist: winrt-runtime<5,>=4.0.0
23
+ Requires-Dist: winrt-windows-foundation-collections>=4!10.0.28000.2705
24
+ Requires-Dist: winrt-windows-foundation>=4!10.0.28000.2705
25
+ Provides-Extra: all
26
+ Requires-Dist: winrt-windows-foundation-collections[all]>=4!10.0.28000.2705; extra == 'all'
27
+ Requires-Dist: winrt-windows-foundation[all]>=4!10.0.28000.2705; extra == 'all'
28
+ Requires-Dist: winrt-windows-globalization[all]>=4!10.0.28000.2705; extra == 'all'
29
+ Requires-Dist: winrt-windows-ui-text[all]>=4!10.0.28000.2705; extra == 'all'
30
+ Requires-Dist: winrt-windows-ui-viewmanagement[all]>=4!10.0.28000.2705; extra == 'all'
31
+ Description-Content-Type: text/markdown
32
+
33
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
34
+
35
+ # winrt-Windows.UI.Text.Core
36
+
37
+ Windows Runtime (WinRT) APIs for the `Windows.UI.Text.Core` namespace.
38
+
39
+ This package provides the `winrt.windows.ui.text.core` module.
40
+
41
+ The WinRT APIs in it are those of version 10.0.28000.2705 of the
42
+ `Microsoft.Windows.SDK.CPP` NuGet package.
43
+
44
+ ```
45
+ pip install winrt-Windows.UI.Text.Core
46
+ ```
47
+
48
+ Other WinRT namespaces are packages of their own, so install the package of
49
+ each namespace your code imports from.
@@ -0,0 +1,8 @@
1
+ winrt/windows/ui/text/core/__init__.py,sha256=Zx_gQ3SatrnIDK3BxOozp1HztdrhRzaIPzb062F5j0E,992
2
+ winrt/windows/ui/text/core/__init__.pyi,sha256=didSj-CHvM4cVd4rT8lheOvz1FCwuKzRJxYFWgFWRtg,28214
3
+ winrt/windows/ui/text/core/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
+ winrt/windows/ui/text/core/_table.pywinrt,sha256=dSyNwRXwcpM7loZ4j3SuRxJA7FTzyFf0jpM4HzGzHaE,34840
5
+ winrt_windows_ui_text_core-4!10.0.28000.2705.dist-info/METADATA,sha256=wCSwqpS1eujs9LFZNtvM4m7gLPForfvCRATLu8YNpdQ,2176
6
+ winrt_windows_ui_text_core-4!10.0.28000.2705.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
7
+ winrt_windows_ui_text_core-4!10.0.28000.2705.dist-info/licenses/LICENSE,sha256=dyVKOMqPV0fimbzMhqN3zpg6K6Y2OlekwrdfiZTBm8M,1225
8
+ winrt_windows_ui_text_core-4!10.0.28000.2705.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.32.4
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -0,0 +1,22 @@
1
+ MIT License
2
+
3
+ Copyright (c) Microsoft Corporation. All rights reserved.
4
+ Copyright (c) 2021-2026 David Lechner <david@pybricks.com>
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ of this software and associated documentation files (the "Software"), to deal
8
+ in the Software without restriction, including without limitation the rights
9
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ copies of the Software, and to permit persons to whom the Software is
11
+ furnished to do so, subject to the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be included in all
14
+ copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
+ SOFTWARE