winrt-Windows.UI.Text.Core 3.2.1__cp314-cp314-win_amd64.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.
- winrt/_winrt_windows_ui_text_core.cp314-win_amd64.pyd +0 -0
- winrt/_winrt_windows_ui_text_core.pyi +319 -0
- winrt/windows/ui/text/core/__init__.py +143 -0
- winrt/windows/ui/text/core/py.typed +0 -0
- winrt_windows_ui_text_core-3.2.1.dist-info/METADATA +29 -0
- winrt_windows_ui_text_core-3.2.1.dist-info/RECORD +8 -0
- winrt_windows_ui_text_core-3.2.1.dist-info/WHEEL +5 -0
- winrt_windows_ui_text_core-3.2.1.dist-info/top_level.txt +1 -0
|
Binary file
|
|
@@ -0,0 +1,319 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.2.1
|
|
2
|
+
|
|
3
|
+
import datetime
|
|
4
|
+
import sys
|
|
5
|
+
import types
|
|
6
|
+
import typing
|
|
7
|
+
import uuid as _uuid
|
|
8
|
+
from builtins import property as _property
|
|
9
|
+
|
|
10
|
+
import winrt._winrt
|
|
11
|
+
import winrt.system
|
|
12
|
+
import winrt.windows.foundation as windows_foundation
|
|
13
|
+
import winrt.windows.foundation.collections as windows_foundation_collections
|
|
14
|
+
import winrt.windows.globalization as windows_globalization
|
|
15
|
+
import winrt.windows.ui.text as windows_ui_text
|
|
16
|
+
import winrt.windows.ui.viewmanagement as windows_ui_viewmanagement
|
|
17
|
+
|
|
18
|
+
from winrt.windows.ui.text.core import CoreTextFormatUpdatingReason, CoreTextFormatUpdatingResult, CoreTextInputPaneDisplayPolicy, CoreTextInputScope, CoreTextSelectionUpdatingResult, CoreTextTextUpdatingResult
|
|
19
|
+
|
|
20
|
+
Self = typing.TypeVar('Self')
|
|
21
|
+
|
|
22
|
+
@typing.final
|
|
23
|
+
class CoreTextRange:
|
|
24
|
+
@_property
|
|
25
|
+
def start_caret_position(self) -> winrt.system.Int32: ...
|
|
26
|
+
@_property
|
|
27
|
+
def end_caret_position(self) -> winrt.system.Int32: ...
|
|
28
|
+
def __new__(cls, start_caret_position: winrt.system.Int32 = 0, end_caret_position: winrt.system.Int32 = 0) -> CoreTextRange: ...
|
|
29
|
+
def __replace__(self, /, **changes: typing.Any) -> CoreTextRange: ...
|
|
30
|
+
def unpack(self) -> typing.Tuple[winrt.system.Int32, winrt.system.Int32]: ...
|
|
31
|
+
|
|
32
|
+
@typing.final
|
|
33
|
+
class CoreTextCompositionCompletedEventArgs(winrt.system.Object):
|
|
34
|
+
# Windows.Foundation.Deferral Windows.UI.Text.Core.CoreTextCompositionCompletedEventArgs::GetDeferral()
|
|
35
|
+
def get_deferral(self) -> windows_foundation.Deferral: ...
|
|
36
|
+
# Windows.Foundation.Collections.IVectorView`1<Windows.UI.Text.Core.CoreTextCompositionSegment> Windows.UI.Text.Core.CoreTextCompositionCompletedEventArgs::get_CompositionSegments()
|
|
37
|
+
@_property
|
|
38
|
+
def composition_segments(self) -> typing.Sequence[CoreTextCompositionSegment]: ...
|
|
39
|
+
# System.Boolean Windows.UI.Text.Core.CoreTextCompositionCompletedEventArgs::get_IsCanceled()
|
|
40
|
+
@_property
|
|
41
|
+
def is_canceled(self) -> bool: ...
|
|
42
|
+
|
|
43
|
+
@typing.final
|
|
44
|
+
class CoreTextCompositionSegment(winrt.system.Object):
|
|
45
|
+
# System.String Windows.UI.Text.Core.CoreTextCompositionSegment::get_PreconversionString()
|
|
46
|
+
@_property
|
|
47
|
+
def preconversion_string(self) -> str: ...
|
|
48
|
+
# Windows.UI.Text.Core.CoreTextRange Windows.UI.Text.Core.CoreTextCompositionSegment::get_Range()
|
|
49
|
+
@_property
|
|
50
|
+
def range(self) -> CoreTextRange: ...
|
|
51
|
+
|
|
52
|
+
@typing.final
|
|
53
|
+
class CoreTextCompositionStartedEventArgs(winrt.system.Object):
|
|
54
|
+
# Windows.Foundation.Deferral Windows.UI.Text.Core.CoreTextCompositionStartedEventArgs::GetDeferral()
|
|
55
|
+
def get_deferral(self) -> windows_foundation.Deferral: ...
|
|
56
|
+
# System.Boolean Windows.UI.Text.Core.CoreTextCompositionStartedEventArgs::get_IsCanceled()
|
|
57
|
+
@_property
|
|
58
|
+
def is_canceled(self) -> bool: ...
|
|
59
|
+
|
|
60
|
+
@typing.final
|
|
61
|
+
class CoreTextEditContext(winrt.system.Object):
|
|
62
|
+
# System.Void Windows.UI.Text.Core.CoreTextEditContext::NotifyFocusEnter()
|
|
63
|
+
def notify_focus_enter(self) -> None: ...
|
|
64
|
+
# System.Void Windows.UI.Text.Core.CoreTextEditContext::NotifyFocusLeave()
|
|
65
|
+
def notify_focus_leave(self) -> None: ...
|
|
66
|
+
# System.Void Windows.UI.Text.Core.CoreTextEditContext::NotifyLayoutChanged()
|
|
67
|
+
def notify_layout_changed(self) -> None: ...
|
|
68
|
+
# System.Void Windows.UI.Text.Core.CoreTextEditContext::NotifySelectionChanged(Windows.UI.Text.Core.CoreTextRange)
|
|
69
|
+
def notify_selection_changed(self, selection: typing.Union[CoreTextRange, typing.Tuple[winrt.system.Int32, winrt.system.Int32]], /) -> None: ...
|
|
70
|
+
# System.Void Windows.UI.Text.Core.CoreTextEditContext::NotifyTextChanged(Windows.UI.Text.Core.CoreTextRange,System.Int32,Windows.UI.Text.Core.CoreTextRange)
|
|
71
|
+
def notify_text_changed(self, modified_range: typing.Union[CoreTextRange, typing.Tuple[winrt.system.Int32, winrt.system.Int32]], new_length: winrt.system.Int32, new_selection: typing.Union[CoreTextRange, typing.Tuple[winrt.system.Int32, winrt.system.Int32]], /) -> None: ...
|
|
72
|
+
# Windows.Foundation.EventRegistrationToken Windows.UI.Text.Core.CoreTextEditContext::add_CompositionCompleted(Windows.Foundation.TypedEventHandler`2<Windows.UI.Text.Core.CoreTextEditContext,Windows.UI.Text.Core.CoreTextCompositionCompletedEventArgs>)
|
|
73
|
+
def add_composition_completed(self, handler: windows_foundation.TypedEventHandler[CoreTextEditContext, CoreTextCompositionCompletedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
74
|
+
# System.Void Windows.UI.Text.Core.CoreTextEditContext::remove_CompositionCompleted(Windows.Foundation.EventRegistrationToken)
|
|
75
|
+
def remove_composition_completed(self, cookie: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
76
|
+
# Windows.Foundation.EventRegistrationToken Windows.UI.Text.Core.CoreTextEditContext::add_CompositionStarted(Windows.Foundation.TypedEventHandler`2<Windows.UI.Text.Core.CoreTextEditContext,Windows.UI.Text.Core.CoreTextCompositionStartedEventArgs>)
|
|
77
|
+
def add_composition_started(self, handler: windows_foundation.TypedEventHandler[CoreTextEditContext, CoreTextCompositionStartedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
78
|
+
# System.Void Windows.UI.Text.Core.CoreTextEditContext::remove_CompositionStarted(Windows.Foundation.EventRegistrationToken)
|
|
79
|
+
def remove_composition_started(self, cookie: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
80
|
+
# Windows.Foundation.EventRegistrationToken Windows.UI.Text.Core.CoreTextEditContext::add_FocusRemoved(Windows.Foundation.TypedEventHandler`2<Windows.UI.Text.Core.CoreTextEditContext,System.Object>)
|
|
81
|
+
def add_focus_removed(self, handler: windows_foundation.TypedEventHandler[CoreTextEditContext, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
|
|
82
|
+
# System.Void Windows.UI.Text.Core.CoreTextEditContext::remove_FocusRemoved(Windows.Foundation.EventRegistrationToken)
|
|
83
|
+
def remove_focus_removed(self, cookie: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
84
|
+
# Windows.Foundation.EventRegistrationToken Windows.UI.Text.Core.CoreTextEditContext::add_FormatUpdating(Windows.Foundation.TypedEventHandler`2<Windows.UI.Text.Core.CoreTextEditContext,Windows.UI.Text.Core.CoreTextFormatUpdatingEventArgs>)
|
|
85
|
+
def add_format_updating(self, handler: windows_foundation.TypedEventHandler[CoreTextEditContext, CoreTextFormatUpdatingEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
86
|
+
# System.Void Windows.UI.Text.Core.CoreTextEditContext::remove_FormatUpdating(Windows.Foundation.EventRegistrationToken)
|
|
87
|
+
def remove_format_updating(self, cookie: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
88
|
+
# Windows.Foundation.EventRegistrationToken Windows.UI.Text.Core.CoreTextEditContext::add_LayoutRequested(Windows.Foundation.TypedEventHandler`2<Windows.UI.Text.Core.CoreTextEditContext,Windows.UI.Text.Core.CoreTextLayoutRequestedEventArgs>)
|
|
89
|
+
def add_layout_requested(self, handler: windows_foundation.TypedEventHandler[CoreTextEditContext, CoreTextLayoutRequestedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
90
|
+
# System.Void Windows.UI.Text.Core.CoreTextEditContext::remove_LayoutRequested(Windows.Foundation.EventRegistrationToken)
|
|
91
|
+
def remove_layout_requested(self, cookie: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
92
|
+
# Windows.Foundation.EventRegistrationToken Windows.UI.Text.Core.CoreTextEditContext::add_SelectionRequested(Windows.Foundation.TypedEventHandler`2<Windows.UI.Text.Core.CoreTextEditContext,Windows.UI.Text.Core.CoreTextSelectionRequestedEventArgs>)
|
|
93
|
+
def add_selection_requested(self, handler: windows_foundation.TypedEventHandler[CoreTextEditContext, CoreTextSelectionRequestedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
94
|
+
# System.Void Windows.UI.Text.Core.CoreTextEditContext::remove_SelectionRequested(Windows.Foundation.EventRegistrationToken)
|
|
95
|
+
def remove_selection_requested(self, cookie: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
96
|
+
# Windows.Foundation.EventRegistrationToken Windows.UI.Text.Core.CoreTextEditContext::add_SelectionUpdating(Windows.Foundation.TypedEventHandler`2<Windows.UI.Text.Core.CoreTextEditContext,Windows.UI.Text.Core.CoreTextSelectionUpdatingEventArgs>)
|
|
97
|
+
def add_selection_updating(self, handler: windows_foundation.TypedEventHandler[CoreTextEditContext, CoreTextSelectionUpdatingEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
98
|
+
# System.Void Windows.UI.Text.Core.CoreTextEditContext::remove_SelectionUpdating(Windows.Foundation.EventRegistrationToken)
|
|
99
|
+
def remove_selection_updating(self, cookie: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
100
|
+
# Windows.Foundation.EventRegistrationToken Windows.UI.Text.Core.CoreTextEditContext::add_TextRequested(Windows.Foundation.TypedEventHandler`2<Windows.UI.Text.Core.CoreTextEditContext,Windows.UI.Text.Core.CoreTextTextRequestedEventArgs>)
|
|
101
|
+
def add_text_requested(self, handler: windows_foundation.TypedEventHandler[CoreTextEditContext, CoreTextTextRequestedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
102
|
+
# System.Void Windows.UI.Text.Core.CoreTextEditContext::remove_TextRequested(Windows.Foundation.EventRegistrationToken)
|
|
103
|
+
def remove_text_requested(self, cookie: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
104
|
+
# Windows.Foundation.EventRegistrationToken Windows.UI.Text.Core.CoreTextEditContext::add_TextUpdating(Windows.Foundation.TypedEventHandler`2<Windows.UI.Text.Core.CoreTextEditContext,Windows.UI.Text.Core.CoreTextTextUpdatingEventArgs>)
|
|
105
|
+
def add_text_updating(self, handler: windows_foundation.TypedEventHandler[CoreTextEditContext, CoreTextTextUpdatingEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
106
|
+
# System.Void Windows.UI.Text.Core.CoreTextEditContext::remove_TextUpdating(Windows.Foundation.EventRegistrationToken)
|
|
107
|
+
def remove_text_updating(self, cookie: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
108
|
+
# Windows.Foundation.EventRegistrationToken Windows.UI.Text.Core.CoreTextEditContext::add_NotifyFocusLeaveCompleted(Windows.Foundation.TypedEventHandler`2<Windows.UI.Text.Core.CoreTextEditContext,System.Object>)
|
|
109
|
+
def add_notify_focus_leave_completed(self, handler: windows_foundation.TypedEventHandler[CoreTextEditContext, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
|
|
110
|
+
# System.Void Windows.UI.Text.Core.CoreTextEditContext::remove_NotifyFocusLeaveCompleted(Windows.Foundation.EventRegistrationToken)
|
|
111
|
+
def remove_notify_focus_leave_completed(self, cookie: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
112
|
+
# System.String Windows.UI.Text.Core.CoreTextEditContext::get_Name()
|
|
113
|
+
@_property
|
|
114
|
+
def name(self) -> str: ...
|
|
115
|
+
# System.Void Windows.UI.Text.Core.CoreTextEditContext::put_Name(System.String)
|
|
116
|
+
@name.setter
|
|
117
|
+
def name(self, value: str) -> None: ...
|
|
118
|
+
# System.Boolean Windows.UI.Text.Core.CoreTextEditContext::get_IsReadOnly()
|
|
119
|
+
@_property
|
|
120
|
+
def is_read_only(self) -> bool: ...
|
|
121
|
+
# System.Void Windows.UI.Text.Core.CoreTextEditContext::put_IsReadOnly(System.Boolean)
|
|
122
|
+
@is_read_only.setter
|
|
123
|
+
def is_read_only(self, value: bool) -> None: ...
|
|
124
|
+
# Windows.UI.Text.Core.CoreTextInputScope Windows.UI.Text.Core.CoreTextEditContext::get_InputScope()
|
|
125
|
+
@_property
|
|
126
|
+
def input_scope(self) -> CoreTextInputScope: ...
|
|
127
|
+
# System.Void Windows.UI.Text.Core.CoreTextEditContext::put_InputScope(Windows.UI.Text.Core.CoreTextInputScope)
|
|
128
|
+
@input_scope.setter
|
|
129
|
+
def input_scope(self, value: CoreTextInputScope) -> None: ...
|
|
130
|
+
# Windows.UI.Text.Core.CoreTextInputPaneDisplayPolicy Windows.UI.Text.Core.CoreTextEditContext::get_InputPaneDisplayPolicy()
|
|
131
|
+
@_property
|
|
132
|
+
def input_pane_display_policy(self) -> CoreTextInputPaneDisplayPolicy: ...
|
|
133
|
+
# System.Void Windows.UI.Text.Core.CoreTextEditContext::put_InputPaneDisplayPolicy(Windows.UI.Text.Core.CoreTextInputPaneDisplayPolicy)
|
|
134
|
+
@input_pane_display_policy.setter
|
|
135
|
+
def input_pane_display_policy(self, value: CoreTextInputPaneDisplayPolicy) -> None: ...
|
|
136
|
+
|
|
137
|
+
@typing.final
|
|
138
|
+
class CoreTextFormatUpdatingEventArgs(winrt.system.Object):
|
|
139
|
+
# Windows.Foundation.Deferral Windows.UI.Text.Core.CoreTextFormatUpdatingEventArgs::GetDeferral()
|
|
140
|
+
def get_deferral(self) -> windows_foundation.Deferral: ...
|
|
141
|
+
# Windows.UI.Text.Core.CoreTextFormatUpdatingResult Windows.UI.Text.Core.CoreTextFormatUpdatingEventArgs::get_Result()
|
|
142
|
+
@_property
|
|
143
|
+
def result(self) -> CoreTextFormatUpdatingResult: ...
|
|
144
|
+
# System.Void Windows.UI.Text.Core.CoreTextFormatUpdatingEventArgs::put_Result(Windows.UI.Text.Core.CoreTextFormatUpdatingResult)
|
|
145
|
+
@result.setter
|
|
146
|
+
def result(self, value: CoreTextFormatUpdatingResult) -> None: ...
|
|
147
|
+
# Windows.Foundation.IReference`1<Windows.UI.ViewManagement.UIElementType> Windows.UI.Text.Core.CoreTextFormatUpdatingEventArgs::get_BackgroundColor()
|
|
148
|
+
@_property
|
|
149
|
+
def background_color(self) -> typing.Optional[windows_ui_viewmanagement.UIElementType]: ...
|
|
150
|
+
# System.Boolean Windows.UI.Text.Core.CoreTextFormatUpdatingEventArgs::get_IsCanceled()
|
|
151
|
+
@_property
|
|
152
|
+
def is_canceled(self) -> bool: ...
|
|
153
|
+
# Windows.UI.Text.Core.CoreTextRange Windows.UI.Text.Core.CoreTextFormatUpdatingEventArgs::get_Range()
|
|
154
|
+
@_property
|
|
155
|
+
def range(self) -> CoreTextRange: ...
|
|
156
|
+
# Windows.UI.Text.Core.CoreTextFormatUpdatingReason Windows.UI.Text.Core.CoreTextFormatUpdatingEventArgs::get_Reason()
|
|
157
|
+
@_property
|
|
158
|
+
def reason(self) -> CoreTextFormatUpdatingReason: ...
|
|
159
|
+
# Windows.Foundation.IReference`1<Windows.UI.ViewManagement.UIElementType> Windows.UI.Text.Core.CoreTextFormatUpdatingEventArgs::get_TextColor()
|
|
160
|
+
@_property
|
|
161
|
+
def text_color(self) -> typing.Optional[windows_ui_viewmanagement.UIElementType]: ...
|
|
162
|
+
# Windows.Foundation.IReference`1<Windows.UI.ViewManagement.UIElementType> Windows.UI.Text.Core.CoreTextFormatUpdatingEventArgs::get_UnderlineColor()
|
|
163
|
+
@_property
|
|
164
|
+
def underline_color(self) -> typing.Optional[windows_ui_viewmanagement.UIElementType]: ...
|
|
165
|
+
# Windows.Foundation.IReference`1<Windows.UI.Text.UnderlineType> Windows.UI.Text.Core.CoreTextFormatUpdatingEventArgs::get_UnderlineType()
|
|
166
|
+
@_property
|
|
167
|
+
def underline_type(self) -> typing.Optional[windows_ui_text.UnderlineType]: ...
|
|
168
|
+
|
|
169
|
+
@typing.final
|
|
170
|
+
class CoreTextLayoutBounds(winrt.system.Object):
|
|
171
|
+
# Windows.Foundation.Rect Windows.UI.Text.Core.CoreTextLayoutBounds::get_TextBounds()
|
|
172
|
+
@_property
|
|
173
|
+
def text_bounds(self) -> windows_foundation.Rect: ...
|
|
174
|
+
# System.Void Windows.UI.Text.Core.CoreTextLayoutBounds::put_TextBounds(Windows.Foundation.Rect)
|
|
175
|
+
@text_bounds.setter
|
|
176
|
+
def text_bounds(self, value: typing.Union[windows_foundation.Rect, typing.Tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single, winrt.system.Single]]) -> None: ...
|
|
177
|
+
# Windows.Foundation.Rect Windows.UI.Text.Core.CoreTextLayoutBounds::get_ControlBounds()
|
|
178
|
+
@_property
|
|
179
|
+
def control_bounds(self) -> windows_foundation.Rect: ...
|
|
180
|
+
# System.Void Windows.UI.Text.Core.CoreTextLayoutBounds::put_ControlBounds(Windows.Foundation.Rect)
|
|
181
|
+
@control_bounds.setter
|
|
182
|
+
def control_bounds(self, value: typing.Union[windows_foundation.Rect, typing.Tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single, winrt.system.Single]]) -> None: ...
|
|
183
|
+
|
|
184
|
+
@typing.final
|
|
185
|
+
class CoreTextLayoutRequest(winrt.system.Object):
|
|
186
|
+
# Windows.Foundation.Deferral Windows.UI.Text.Core.CoreTextLayoutRequest::GetDeferral()
|
|
187
|
+
def get_deferral(self) -> windows_foundation.Deferral: ...
|
|
188
|
+
# System.Boolean Windows.UI.Text.Core.CoreTextLayoutRequest::get_IsCanceled()
|
|
189
|
+
@_property
|
|
190
|
+
def is_canceled(self) -> bool: ...
|
|
191
|
+
# Windows.UI.Text.Core.CoreTextLayoutBounds Windows.UI.Text.Core.CoreTextLayoutRequest::get_LayoutBounds()
|
|
192
|
+
@_property
|
|
193
|
+
def layout_bounds(self) -> CoreTextLayoutBounds: ...
|
|
194
|
+
# Windows.UI.Text.Core.CoreTextRange Windows.UI.Text.Core.CoreTextLayoutRequest::get_Range()
|
|
195
|
+
@_property
|
|
196
|
+
def range(self) -> CoreTextRange: ...
|
|
197
|
+
# Windows.UI.Text.Core.CoreTextLayoutBounds Windows.UI.Text.Core.CoreTextLayoutRequest::get_LayoutBoundsVisualPixels()
|
|
198
|
+
@_property
|
|
199
|
+
def layout_bounds_visual_pixels(self) -> CoreTextLayoutBounds: ...
|
|
200
|
+
|
|
201
|
+
@typing.final
|
|
202
|
+
class CoreTextLayoutRequestedEventArgs(winrt.system.Object):
|
|
203
|
+
# Windows.UI.Text.Core.CoreTextLayoutRequest Windows.UI.Text.Core.CoreTextLayoutRequestedEventArgs::get_Request()
|
|
204
|
+
@_property
|
|
205
|
+
def request(self) -> CoreTextLayoutRequest: ...
|
|
206
|
+
|
|
207
|
+
@typing.final
|
|
208
|
+
class CoreTextSelectionRequest(winrt.system.Object):
|
|
209
|
+
# Windows.Foundation.Deferral Windows.UI.Text.Core.CoreTextSelectionRequest::GetDeferral()
|
|
210
|
+
def get_deferral(self) -> windows_foundation.Deferral: ...
|
|
211
|
+
# Windows.UI.Text.Core.CoreTextRange Windows.UI.Text.Core.CoreTextSelectionRequest::get_Selection()
|
|
212
|
+
@_property
|
|
213
|
+
def selection(self) -> CoreTextRange: ...
|
|
214
|
+
# System.Void Windows.UI.Text.Core.CoreTextSelectionRequest::put_Selection(Windows.UI.Text.Core.CoreTextRange)
|
|
215
|
+
@selection.setter
|
|
216
|
+
def selection(self, value: typing.Union[CoreTextRange, typing.Tuple[winrt.system.Int32, winrt.system.Int32]]) -> None: ...
|
|
217
|
+
# System.Boolean Windows.UI.Text.Core.CoreTextSelectionRequest::get_IsCanceled()
|
|
218
|
+
@_property
|
|
219
|
+
def is_canceled(self) -> bool: ...
|
|
220
|
+
|
|
221
|
+
@typing.final
|
|
222
|
+
class CoreTextSelectionRequestedEventArgs(winrt.system.Object):
|
|
223
|
+
# Windows.UI.Text.Core.CoreTextSelectionRequest Windows.UI.Text.Core.CoreTextSelectionRequestedEventArgs::get_Request()
|
|
224
|
+
@_property
|
|
225
|
+
def request(self) -> CoreTextSelectionRequest: ...
|
|
226
|
+
|
|
227
|
+
@typing.final
|
|
228
|
+
class CoreTextSelectionUpdatingEventArgs(winrt.system.Object):
|
|
229
|
+
# Windows.Foundation.Deferral Windows.UI.Text.Core.CoreTextSelectionUpdatingEventArgs::GetDeferral()
|
|
230
|
+
def get_deferral(self) -> windows_foundation.Deferral: ...
|
|
231
|
+
# Windows.UI.Text.Core.CoreTextSelectionUpdatingResult Windows.UI.Text.Core.CoreTextSelectionUpdatingEventArgs::get_Result()
|
|
232
|
+
@_property
|
|
233
|
+
def result(self) -> CoreTextSelectionUpdatingResult: ...
|
|
234
|
+
# System.Void Windows.UI.Text.Core.CoreTextSelectionUpdatingEventArgs::put_Result(Windows.UI.Text.Core.CoreTextSelectionUpdatingResult)
|
|
235
|
+
@result.setter
|
|
236
|
+
def result(self, value: CoreTextSelectionUpdatingResult) -> None: ...
|
|
237
|
+
# System.Boolean Windows.UI.Text.Core.CoreTextSelectionUpdatingEventArgs::get_IsCanceled()
|
|
238
|
+
@_property
|
|
239
|
+
def is_canceled(self) -> bool: ...
|
|
240
|
+
# Windows.UI.Text.Core.CoreTextRange Windows.UI.Text.Core.CoreTextSelectionUpdatingEventArgs::get_Selection()
|
|
241
|
+
@_property
|
|
242
|
+
def selection(self) -> CoreTextRange: ...
|
|
243
|
+
|
|
244
|
+
@typing.final
|
|
245
|
+
class CoreTextServicesConstants_Static(winrt._winrt.IInspectable_Static):
|
|
246
|
+
# System.Char Windows.UI.Text.Core.CoreTextServicesConstants::get_HiddenCharacter()
|
|
247
|
+
@_property
|
|
248
|
+
def hidden_character(cls) -> winrt.system.Char16: ...
|
|
249
|
+
|
|
250
|
+
@typing.final
|
|
251
|
+
class CoreTextServicesConstants(winrt.system.Object, metaclass=CoreTextServicesConstants_Static):
|
|
252
|
+
pass
|
|
253
|
+
|
|
254
|
+
@typing.final
|
|
255
|
+
class CoreTextServicesManager_Static(winrt._winrt.IInspectable_Static):
|
|
256
|
+
# Windows.UI.Text.Core.CoreTextServicesManager Windows.UI.Text.Core.CoreTextServicesManager::GetForCurrentView()
|
|
257
|
+
def get_for_current_view(cls) -> CoreTextServicesManager: ...
|
|
258
|
+
|
|
259
|
+
@typing.final
|
|
260
|
+
class CoreTextServicesManager(winrt.system.Object, metaclass=CoreTextServicesManager_Static):
|
|
261
|
+
# Windows.UI.Text.Core.CoreTextEditContext Windows.UI.Text.Core.CoreTextServicesManager::CreateEditContext()
|
|
262
|
+
def create_edit_context(self) -> CoreTextEditContext: ...
|
|
263
|
+
# Windows.Foundation.EventRegistrationToken Windows.UI.Text.Core.CoreTextServicesManager::add_InputLanguageChanged(Windows.Foundation.TypedEventHandler`2<Windows.UI.Text.Core.CoreTextServicesManager,System.Object>)
|
|
264
|
+
def add_input_language_changed(self, handler: windows_foundation.TypedEventHandler[CoreTextServicesManager, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
|
|
265
|
+
# System.Void Windows.UI.Text.Core.CoreTextServicesManager::remove_InputLanguageChanged(Windows.Foundation.EventRegistrationToken)
|
|
266
|
+
def remove_input_language_changed(self, cookie: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
267
|
+
# Windows.Globalization.Language Windows.UI.Text.Core.CoreTextServicesManager::get_InputLanguage()
|
|
268
|
+
@_property
|
|
269
|
+
def input_language(self) -> windows_globalization.Language: ...
|
|
270
|
+
|
|
271
|
+
@typing.final
|
|
272
|
+
class CoreTextTextRequest(winrt.system.Object):
|
|
273
|
+
# Windows.Foundation.Deferral Windows.UI.Text.Core.CoreTextTextRequest::GetDeferral()
|
|
274
|
+
def get_deferral(self) -> windows_foundation.Deferral: ...
|
|
275
|
+
# System.String Windows.UI.Text.Core.CoreTextTextRequest::get_Text()
|
|
276
|
+
@_property
|
|
277
|
+
def text(self) -> str: ...
|
|
278
|
+
# System.Void Windows.UI.Text.Core.CoreTextTextRequest::put_Text(System.String)
|
|
279
|
+
@text.setter
|
|
280
|
+
def text(self, value: str) -> None: ...
|
|
281
|
+
# System.Boolean Windows.UI.Text.Core.CoreTextTextRequest::get_IsCanceled()
|
|
282
|
+
@_property
|
|
283
|
+
def is_canceled(self) -> bool: ...
|
|
284
|
+
# Windows.UI.Text.Core.CoreTextRange Windows.UI.Text.Core.CoreTextTextRequest::get_Range()
|
|
285
|
+
@_property
|
|
286
|
+
def range(self) -> CoreTextRange: ...
|
|
287
|
+
|
|
288
|
+
@typing.final
|
|
289
|
+
class CoreTextTextRequestedEventArgs(winrt.system.Object):
|
|
290
|
+
# Windows.UI.Text.Core.CoreTextTextRequest Windows.UI.Text.Core.CoreTextTextRequestedEventArgs::get_Request()
|
|
291
|
+
@_property
|
|
292
|
+
def request(self) -> CoreTextTextRequest: ...
|
|
293
|
+
|
|
294
|
+
@typing.final
|
|
295
|
+
class CoreTextTextUpdatingEventArgs(winrt.system.Object):
|
|
296
|
+
# Windows.Foundation.Deferral Windows.UI.Text.Core.CoreTextTextUpdatingEventArgs::GetDeferral()
|
|
297
|
+
def get_deferral(self) -> windows_foundation.Deferral: ...
|
|
298
|
+
# Windows.UI.Text.Core.CoreTextTextUpdatingResult Windows.UI.Text.Core.CoreTextTextUpdatingEventArgs::get_Result()
|
|
299
|
+
@_property
|
|
300
|
+
def result(self) -> CoreTextTextUpdatingResult: ...
|
|
301
|
+
# System.Void Windows.UI.Text.Core.CoreTextTextUpdatingEventArgs::put_Result(Windows.UI.Text.Core.CoreTextTextUpdatingResult)
|
|
302
|
+
@result.setter
|
|
303
|
+
def result(self, value: CoreTextTextUpdatingResult) -> None: ...
|
|
304
|
+
# Windows.Globalization.Language Windows.UI.Text.Core.CoreTextTextUpdatingEventArgs::get_InputLanguage()
|
|
305
|
+
@_property
|
|
306
|
+
def input_language(self) -> windows_globalization.Language: ...
|
|
307
|
+
# System.Boolean Windows.UI.Text.Core.CoreTextTextUpdatingEventArgs::get_IsCanceled()
|
|
308
|
+
@_property
|
|
309
|
+
def is_canceled(self) -> bool: ...
|
|
310
|
+
# Windows.UI.Text.Core.CoreTextRange Windows.UI.Text.Core.CoreTextTextUpdatingEventArgs::get_NewSelection()
|
|
311
|
+
@_property
|
|
312
|
+
def new_selection(self) -> CoreTextRange: ...
|
|
313
|
+
# Windows.UI.Text.Core.CoreTextRange Windows.UI.Text.Core.CoreTextTextUpdatingEventArgs::get_Range()
|
|
314
|
+
@_property
|
|
315
|
+
def range(self) -> CoreTextRange: ...
|
|
316
|
+
# System.String Windows.UI.Text.Core.CoreTextTextUpdatingEventArgs::get_Text()
|
|
317
|
+
@_property
|
|
318
|
+
def text(self) -> str: ...
|
|
319
|
+
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.2.1
|
|
2
|
+
|
|
3
|
+
import enum
|
|
4
|
+
|
|
5
|
+
import winrt.system
|
|
6
|
+
from winrt._winrt_windows_ui_text_core import (
|
|
7
|
+
CoreTextRange,
|
|
8
|
+
CoreTextCompositionCompletedEventArgs,
|
|
9
|
+
CoreTextCompositionSegment,
|
|
10
|
+
CoreTextCompositionStartedEventArgs,
|
|
11
|
+
CoreTextEditContext,
|
|
12
|
+
CoreTextFormatUpdatingEventArgs,
|
|
13
|
+
CoreTextLayoutBounds,
|
|
14
|
+
CoreTextLayoutRequest,
|
|
15
|
+
CoreTextLayoutRequestedEventArgs,
|
|
16
|
+
CoreTextSelectionRequest,
|
|
17
|
+
CoreTextSelectionRequestedEventArgs,
|
|
18
|
+
CoreTextSelectionUpdatingEventArgs,
|
|
19
|
+
CoreTextServicesConstants,
|
|
20
|
+
CoreTextServicesManager,
|
|
21
|
+
CoreTextTextRequest,
|
|
22
|
+
CoreTextTextRequestedEventArgs,
|
|
23
|
+
CoreTextTextUpdatingEventArgs,
|
|
24
|
+
)
|
|
25
|
+
|
|
26
|
+
__all__ = [
|
|
27
|
+
"CoreTextFormatUpdatingReason",
|
|
28
|
+
"CoreTextFormatUpdatingResult",
|
|
29
|
+
"CoreTextInputPaneDisplayPolicy",
|
|
30
|
+
"CoreTextInputScope",
|
|
31
|
+
"CoreTextSelectionUpdatingResult",
|
|
32
|
+
"CoreTextTextUpdatingResult",
|
|
33
|
+
"CoreTextRange",
|
|
34
|
+
"CoreTextCompositionCompletedEventArgs",
|
|
35
|
+
"CoreTextCompositionSegment",
|
|
36
|
+
"CoreTextCompositionStartedEventArgs",
|
|
37
|
+
"CoreTextEditContext",
|
|
38
|
+
"CoreTextFormatUpdatingEventArgs",
|
|
39
|
+
"CoreTextLayoutBounds",
|
|
40
|
+
"CoreTextLayoutRequest",
|
|
41
|
+
"CoreTextLayoutRequestedEventArgs",
|
|
42
|
+
"CoreTextSelectionRequest",
|
|
43
|
+
"CoreTextSelectionRequestedEventArgs",
|
|
44
|
+
"CoreTextSelectionUpdatingEventArgs",
|
|
45
|
+
"CoreTextServicesConstants",
|
|
46
|
+
"CoreTextServicesManager",
|
|
47
|
+
"CoreTextTextRequest",
|
|
48
|
+
"CoreTextTextRequestedEventArgs",
|
|
49
|
+
"CoreTextTextUpdatingEventArgs",
|
|
50
|
+
]
|
|
51
|
+
|
|
52
|
+
class CoreTextFormatUpdatingReason(enum.IntEnum):
|
|
53
|
+
NONE = 0
|
|
54
|
+
COMPOSITION_UNCONVERTED = 1
|
|
55
|
+
COMPOSITION_CONVERTED = 2
|
|
56
|
+
COMPOSITION_TARGET_UNCONVERTED = 3
|
|
57
|
+
COMPOSITION_TARGET_CONVERTED = 4
|
|
58
|
+
|
|
59
|
+
class CoreTextFormatUpdatingResult(enum.IntEnum):
|
|
60
|
+
SUCCEEDED = 0
|
|
61
|
+
FAILED = 1
|
|
62
|
+
|
|
63
|
+
class CoreTextInputPaneDisplayPolicy(enum.IntEnum):
|
|
64
|
+
AUTOMATIC = 0
|
|
65
|
+
MANUAL = 1
|
|
66
|
+
|
|
67
|
+
class CoreTextInputScope(enum.IntEnum):
|
|
68
|
+
DEFAULT = 0
|
|
69
|
+
URL = 1
|
|
70
|
+
FILE_PATH = 2
|
|
71
|
+
FILE_NAME = 3
|
|
72
|
+
EMAIL_USER_NAME = 4
|
|
73
|
+
EMAIL_ADDRESS = 5
|
|
74
|
+
USER_NAME = 6
|
|
75
|
+
PERSONAL_FULL_NAME = 7
|
|
76
|
+
PERSONAL_NAME_PREFIX = 8
|
|
77
|
+
PERSONAL_GIVEN_NAME = 9
|
|
78
|
+
PERSONAL_MIDDLE_NAME = 10
|
|
79
|
+
PERSONAL_SURNAME = 11
|
|
80
|
+
PERSONAL_NAME_SUFFIX = 12
|
|
81
|
+
ADDRESS = 13
|
|
82
|
+
ADDRESS_POSTAL_CODE = 14
|
|
83
|
+
ADDRESS_STREET = 15
|
|
84
|
+
ADDRESS_STATE_OR_PROVINCE = 16
|
|
85
|
+
ADDRESS_CITY = 17
|
|
86
|
+
ADDRESS_COUNTRY_NAME = 18
|
|
87
|
+
ADDRESS_COUNTRY_SHORT_NAME = 19
|
|
88
|
+
CURRENCY_AMOUNT_AND_SYMBOL = 20
|
|
89
|
+
CURRENCY_AMOUNT = 21
|
|
90
|
+
DATE = 22
|
|
91
|
+
DATE_MONTH = 23
|
|
92
|
+
DATE_DAY = 24
|
|
93
|
+
DATE_YEAR = 25
|
|
94
|
+
DATE_MONTH_NAME = 26
|
|
95
|
+
DATE_DAY_NAME = 27
|
|
96
|
+
NUMBER = 29
|
|
97
|
+
SINGLE_CHARACTER = 30
|
|
98
|
+
PASSWORD = 31
|
|
99
|
+
TELEPHONE_NUMBER = 32
|
|
100
|
+
TELEPHONE_COUNTRY_CODE = 33
|
|
101
|
+
TELEPHONE_AREA_CODE = 34
|
|
102
|
+
TELEPHONE_LOCAL_NUMBER = 35
|
|
103
|
+
TIME = 36
|
|
104
|
+
TIME_HOUR = 37
|
|
105
|
+
TIME_MINUTE_OR_SECOND = 38
|
|
106
|
+
NUMBER_FULL_WIDTH = 39
|
|
107
|
+
ALPHANUMERIC_HALF_WIDTH = 40
|
|
108
|
+
ALPHANUMERIC_FULL_WIDTH = 41
|
|
109
|
+
CURRENCY_CHINESE = 42
|
|
110
|
+
BOPOMOFO = 43
|
|
111
|
+
HIRAGANA = 44
|
|
112
|
+
KATAKANA_HALF_WIDTH = 45
|
|
113
|
+
KATAKANA_FULL_WIDTH = 46
|
|
114
|
+
HANJA = 47
|
|
115
|
+
HANGUL_HALF_WIDTH = 48
|
|
116
|
+
HANGUL_FULL_WIDTH = 49
|
|
117
|
+
SEARCH = 50
|
|
118
|
+
FORMULA = 51
|
|
119
|
+
SEARCH_INCREMENTAL = 52
|
|
120
|
+
CHINESE_HALF_WIDTH = 53
|
|
121
|
+
CHINESE_FULL_WIDTH = 54
|
|
122
|
+
NATIVE_SCRIPT = 55
|
|
123
|
+
TEXT = 57
|
|
124
|
+
CHAT = 58
|
|
125
|
+
NAME_OR_PHONE_NUMBER = 59
|
|
126
|
+
EMAIL_USER_NAME_OR_ADDRESS = 60
|
|
127
|
+
PRIVATE = 61
|
|
128
|
+
MAPS = 62
|
|
129
|
+
PASSWORD_NUMERIC = 63
|
|
130
|
+
FORMULA_NUMBER = 67
|
|
131
|
+
CHAT_WITHOUT_EMOJI = 68
|
|
132
|
+
DIGITS = 28
|
|
133
|
+
PIN_NUMERIC = 64
|
|
134
|
+
PIN_ALPHANUMERIC = 65
|
|
135
|
+
|
|
136
|
+
class CoreTextSelectionUpdatingResult(enum.IntEnum):
|
|
137
|
+
SUCCEEDED = 0
|
|
138
|
+
FAILED = 1
|
|
139
|
+
|
|
140
|
+
class CoreTextTextUpdatingResult(enum.IntEnum):
|
|
141
|
+
SUCCEEDED = 0
|
|
142
|
+
FAILED = 1
|
|
143
|
+
|
|
File without changes
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: winrt-Windows.UI.Text.Core
|
|
3
|
+
Version: 3.2.1
|
|
4
|
+
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
|
+
License-Expression: MIT
|
|
6
|
+
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
7
|
+
Project-URL: Repository, https://github.com/pywinrt/pywinrt
|
|
8
|
+
Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
|
|
9
|
+
Classifier: Operating System :: Microsoft :: Windows
|
|
10
|
+
Classifier: Programming Language :: Python :: 3
|
|
11
|
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
12
|
+
Classifier: Intended Audience :: Developers
|
|
13
|
+
Requires-Python: >=3.9
|
|
14
|
+
Description-Content-Type: text/markdown
|
|
15
|
+
Requires-Dist: winrt-runtime~=3.2.1.0
|
|
16
|
+
Provides-Extra: all
|
|
17
|
+
Requires-Dist: winrt-Windows.Foundation[all]~=3.2.1.0; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all]~=3.2.1.0; extra == "all"
|
|
19
|
+
Requires-Dist: winrt-Windows.Globalization[all]~=3.2.1.0; extra == "all"
|
|
20
|
+
Requires-Dist: winrt-Windows.UI.Text[all]~=3.2.1.0; extra == "all"
|
|
21
|
+
Requires-Dist: winrt-Windows.UI.ViewManagement[all]~=3.2.1.0; extra == "all"
|
|
22
|
+
|
|
23
|
+
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
24
|
+
|
|
25
|
+
# winrt-Windows.UI.Text.Core
|
|
26
|
+
|
|
27
|
+
Windows Runtime (WinRT) APIs for for the `Windows.UI.Text.Core` namespace.
|
|
28
|
+
|
|
29
|
+
This package provides the `winrt.windows.ui.text.core` module.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
winrt/_winrt_windows_ui_text_core.cp314-win_amd64.pyd,sha256=LXNV9sIyngBMw_z9QagTP1_TLwUj9cRe35_SsL-Dt4c,191488
|
|
2
|
+
winrt/_winrt_windows_ui_text_core.pyi,sha256=yDlmXvhVQfsDU1WMgX29XWBFxLwVkFmTJJnd-7OMZ9Q,23186
|
|
3
|
+
winrt/windows/ui/text/core/__init__.py,sha256=cxn6cONlniyEZtoMwlPiNrMAAwGnNKXRYYkBwlPIIrE,3717
|
|
4
|
+
winrt/windows/ui/text/core/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
|
+
winrt_windows_ui_text_core-3.2.1.dist-info/METADATA,sha256=G5mMUyTRAub5GzPBrtTAKrLTM9_CNzYP2dHxWHrD3a4,1340
|
|
6
|
+
winrt_windows_ui_text_core-3.2.1.dist-info/WHEEL,sha256=7k6Wcy588iJYe5lf5K095NLg-uoBTnE-T8eHJ92G4_4,101
|
|
7
|
+
winrt_windows_ui_text_core-3.2.1.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
|
|
8
|
+
winrt_windows_ui_text_core-3.2.1.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
winrt
|