winrt-Windows.UI.Input.Preview.Text 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.
- winrt/windows/ui/input/preview/text/__init__.py +35 -0
- winrt/windows/ui/input/preview/text/__init__.pyi +504 -0
- winrt/windows/ui/input/preview/text/_table.pywinrt +0 -0
- winrt/windows/ui/input/preview/text/py.typed +0 -0
- winrt_windows_ui_input_preview_text-4!10.0.28000.2705.dist-info/METADATA +49 -0
- winrt_windows_ui_input_preview_text-4!10.0.28000.2705.dist-info/RECORD +8 -0
- winrt_windows_ui_input_preview_text-4!10.0.28000.2705.dist-info/WHEEL +4 -0
- winrt_windows_ui_input_preview_text-4!10.0.28000.2705.dist-info/licenses/LICENSE +22 -0
|
@@ -0,0 +1,35 @@
|
|
|
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
|
+
"KeyEventDeviceType",
|
|
10
|
+
"PayloadResult",
|
|
11
|
+
"TextBoxContentAttribute",
|
|
12
|
+
"TextBoxFeatures",
|
|
13
|
+
"TextBoxSettings",
|
|
14
|
+
"TextChangeSource",
|
|
15
|
+
"TextConversionMode",
|
|
16
|
+
"TextStyleAttributes",
|
|
17
|
+
"TextBoxId",
|
|
18
|
+
"TextInputServiceSubscription",
|
|
19
|
+
"TextStyle",
|
|
20
|
+
"ConversionModeChangedEventArgs",
|
|
21
|
+
"FocusEnteredEventArgs",
|
|
22
|
+
"InputDelegationModeChangedEventArgs",
|
|
23
|
+
"KeyEventReceivedEventArgs",
|
|
24
|
+
"KeyboardInputProcessor",
|
|
25
|
+
"ReconversionRequestedEventArgs",
|
|
26
|
+
"TextBoxContentChangedEventArgs",
|
|
27
|
+
"TextBoxInfo",
|
|
28
|
+
"TextBoxInfoChangedEventArgs",
|
|
29
|
+
"TextComposition",
|
|
30
|
+
"TextCompositionSegment",
|
|
31
|
+
"TextEditSession",
|
|
32
|
+
"TextInputProvider",
|
|
33
|
+
"TextInputService",
|
|
34
|
+
]
|
|
35
|
+
|
|
@@ -0,0 +1,504 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT
|
|
2
|
+
|
|
3
|
+
import enum
|
|
4
|
+
import typing
|
|
5
|
+
from builtins import property as _property
|
|
6
|
+
|
|
7
|
+
import winrt.system
|
|
8
|
+
import winrt.windows.foundation as windows_foundation
|
|
9
|
+
import winrt.windows.system as windows_system
|
|
10
|
+
import winrt.windows.ui as windows_ui
|
|
11
|
+
import winrt.windows.ui.core as windows_ui_core
|
|
12
|
+
import winrt.windows.ui.text as windows_ui_text
|
|
13
|
+
import winrt.windows.ui.text.core as windows_ui_text_core
|
|
14
|
+
|
|
15
|
+
__all__ = [
|
|
16
|
+
"KeyEventDeviceType",
|
|
17
|
+
"PayloadResult",
|
|
18
|
+
"TextBoxContentAttribute",
|
|
19
|
+
"TextBoxFeatures",
|
|
20
|
+
"TextBoxSettings",
|
|
21
|
+
"TextChangeSource",
|
|
22
|
+
"TextConversionMode",
|
|
23
|
+
"TextStyleAttributes",
|
|
24
|
+
"TextBoxId",
|
|
25
|
+
"TextInputServiceSubscription",
|
|
26
|
+
"TextStyle",
|
|
27
|
+
"ConversionModeChangedEventArgs",
|
|
28
|
+
"FocusEnteredEventArgs",
|
|
29
|
+
"InputDelegationModeChangedEventArgs",
|
|
30
|
+
"KeyEventReceivedEventArgs",
|
|
31
|
+
"KeyboardInputProcessor",
|
|
32
|
+
"ReconversionRequestedEventArgs",
|
|
33
|
+
"TextBoxContentChangedEventArgs",
|
|
34
|
+
"TextBoxInfo",
|
|
35
|
+
"TextBoxInfoChangedEventArgs",
|
|
36
|
+
"TextComposition",
|
|
37
|
+
"TextCompositionSegment",
|
|
38
|
+
"TextEditSession",
|
|
39
|
+
"TextInputProvider",
|
|
40
|
+
"TextInputService",
|
|
41
|
+
]
|
|
42
|
+
|
|
43
|
+
class KeyEventDeviceType(enum.IntEnum):
|
|
44
|
+
UNDEFINED = 0
|
|
45
|
+
HARDWARE_KEYBOARD = 1
|
|
46
|
+
SOFTWARE_KEYBOARD = 2
|
|
47
|
+
GAMEPAD = 3
|
|
48
|
+
INJECTION = 4
|
|
49
|
+
|
|
50
|
+
class PayloadResult(enum.IntEnum):
|
|
51
|
+
IN_EDITING = 0
|
|
52
|
+
PENDING = 1
|
|
53
|
+
COMPLETED = 2
|
|
54
|
+
OVERRIDDEN = 3
|
|
55
|
+
OUTRUN = 4
|
|
56
|
+
REJECTED = 5
|
|
57
|
+
CANCELED = 6
|
|
58
|
+
|
|
59
|
+
class TextBoxContentAttribute(enum.IntEnum):
|
|
60
|
+
NONE = 0
|
|
61
|
+
SELECTION = 1
|
|
62
|
+
TEXT = 2
|
|
63
|
+
PROPERTY = 3
|
|
64
|
+
LAYOUT = 4
|
|
65
|
+
|
|
66
|
+
class TextBoxFeatures(enum.IntFlag):
|
|
67
|
+
NONE = 0x0
|
|
68
|
+
READ_TEXT = 0x1
|
|
69
|
+
WRITE_TEXT = 0x2
|
|
70
|
+
AUGMENT_TEXT = 0x4
|
|
71
|
+
|
|
72
|
+
class TextBoxSettings(enum.IntFlag):
|
|
73
|
+
NONE = 0x0
|
|
74
|
+
PRIVATE = 0x1
|
|
75
|
+
MULTILINE = 0x2
|
|
76
|
+
VERTICAL_WRITING = 0x4
|
|
77
|
+
|
|
78
|
+
class TextChangeSource(enum.IntEnum):
|
|
79
|
+
EXTERNAL = 0
|
|
80
|
+
HARDWARE_KEY_TYPED = 1
|
|
81
|
+
SOFTWARE_KEY_TYPED = 2
|
|
82
|
+
KEYBOARD_IME_INSERTION = 3
|
|
83
|
+
OTHER_IME_INSERTION = 4
|
|
84
|
+
RECONVERSION = 5
|
|
85
|
+
AUTO_COMPLETION = 6
|
|
86
|
+
MIXED = 7
|
|
87
|
+
|
|
88
|
+
class TextConversionMode(enum.IntEnum):
|
|
89
|
+
UNDEFINED = 0
|
|
90
|
+
ALPHANUMERIC_HALF_WIDTH = 1
|
|
91
|
+
ALPHANUMERIC_FULL_WIDTH = 2
|
|
92
|
+
NATIVE_HALF_WIDTH = 3
|
|
93
|
+
NATIVE_FULL_WIDTH = 4
|
|
94
|
+
KATAKANA_HALF_WIDTH = 5
|
|
95
|
+
KATAKANA_FULL_WIDTH = 6
|
|
96
|
+
NATIVE_HALF_WIDTH_NATIVE_SYMBOL = 7
|
|
97
|
+
NATIVE_FULL_WIDTH_NATIVE_SYMBOL = 8
|
|
98
|
+
NO_CONVERSION = 9
|
|
99
|
+
REQUEST_CONVERSION = 10
|
|
100
|
+
NATIVE_EUDC = 11
|
|
101
|
+
|
|
102
|
+
class TextStyleAttributes(enum.IntFlag):
|
|
103
|
+
NONE = 0x0
|
|
104
|
+
TEXT_COLOR = 0x1
|
|
105
|
+
BACKGROUND_COLOR = 0x2
|
|
106
|
+
UNDERLINE_COLOR = 0x4
|
|
107
|
+
UNDERLINE_TYPE = 0x8
|
|
108
|
+
|
|
109
|
+
@typing.final
|
|
110
|
+
class TextBoxId:
|
|
111
|
+
__match_args__ = ("value",)
|
|
112
|
+
@_property
|
|
113
|
+
def value(self) -> winrt.system.UInt32: ...
|
|
114
|
+
def __new__(cls, value: winrt.system.UInt32 | typing.SupportsIndex = 0) -> TextBoxId: ...
|
|
115
|
+
def __replace__(self, /, **changes: typing.Any) -> TextBoxId: ...
|
|
116
|
+
|
|
117
|
+
@typing.final
|
|
118
|
+
class TextInputServiceSubscription:
|
|
119
|
+
__match_args__ = ("required_enabled_features", "required_disabled_features")
|
|
120
|
+
@_property
|
|
121
|
+
def required_enabled_features(self) -> TextBoxFeatures: ...
|
|
122
|
+
@_property
|
|
123
|
+
def required_disabled_features(self) -> TextBoxFeatures: ...
|
|
124
|
+
def __new__(cls, required_enabled_features: TextBoxFeatures = ..., required_disabled_features: TextBoxFeatures = ...) -> TextInputServiceSubscription: ...
|
|
125
|
+
def __replace__(self, /, **changes: typing.Any) -> TextInputServiceSubscription: ...
|
|
126
|
+
def unpack(self) -> tuple[TextBoxFeatures, TextBoxFeatures]: ...
|
|
127
|
+
|
|
128
|
+
@typing.final
|
|
129
|
+
class TextStyle:
|
|
130
|
+
__match_args__ = ("mask", "text_color", "background_color", "underline_color", "underline_type")
|
|
131
|
+
@_property
|
|
132
|
+
def mask(self) -> TextStyleAttributes: ...
|
|
133
|
+
@_property
|
|
134
|
+
def text_color(self) -> windows_ui.Color: ...
|
|
135
|
+
@_property
|
|
136
|
+
def background_color(self) -> windows_ui.Color: ...
|
|
137
|
+
@_property
|
|
138
|
+
def underline_color(self) -> windows_ui.Color: ...
|
|
139
|
+
@_property
|
|
140
|
+
def underline_type(self) -> windows_ui_text.UnderlineType: ...
|
|
141
|
+
def __new__(cls, mask: TextStyleAttributes = ..., text_color: windows_ui.Color | tuple[winrt.system.UInt8 | typing.SupportsIndex, winrt.system.UInt8 | typing.SupportsIndex, winrt.system.UInt8 | typing.SupportsIndex, winrt.system.UInt8 | typing.SupportsIndex] = ..., background_color: windows_ui.Color | tuple[winrt.system.UInt8 | typing.SupportsIndex, winrt.system.UInt8 | typing.SupportsIndex, winrt.system.UInt8 | typing.SupportsIndex, winrt.system.UInt8 | typing.SupportsIndex] = ..., underline_color: windows_ui.Color | tuple[winrt.system.UInt8 | typing.SupportsIndex, winrt.system.UInt8 | typing.SupportsIndex, winrt.system.UInt8 | typing.SupportsIndex, winrt.system.UInt8 | typing.SupportsIndex] = ..., underline_type: windows_ui_text.UnderlineType = ...) -> TextStyle: ...
|
|
142
|
+
def __replace__(self, /, **changes: typing.Any) -> TextStyle: ...
|
|
143
|
+
def unpack(self) -> tuple[TextStyleAttributes, tuple[winrt.system.UInt8, winrt.system.UInt8, winrt.system.UInt8, winrt.system.UInt8], tuple[winrt.system.UInt8, winrt.system.UInt8, winrt.system.UInt8, winrt.system.UInt8], tuple[winrt.system.UInt8, winrt.system.UInt8, winrt.system.UInt8, winrt.system.UInt8], windows_ui_text.UnderlineType]: ...
|
|
144
|
+
|
|
145
|
+
@typing.final
|
|
146
|
+
class ConversionModeChangedEventArgs(winrt.system.Object):
|
|
147
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
148
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
149
|
+
# Windows.UI.Input.Preview.Text.TextConversionMode Windows.UI.Input.Preview.Text.ConversionModeChangedEventArgs::get_NewConversionMode()
|
|
150
|
+
@_property
|
|
151
|
+
def new_conversion_mode(self) -> TextConversionMode: ...
|
|
152
|
+
|
|
153
|
+
@typing.final
|
|
154
|
+
class FocusEnteredEventArgs(winrt.system.Object):
|
|
155
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
156
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
157
|
+
# Windows.UI.Input.Preview.Text.TextBoxInfo Windows.UI.Input.Preview.Text.FocusEnteredEventArgs::get_FocusedTextBoxInfo()
|
|
158
|
+
@_property
|
|
159
|
+
def focused_text_box_info(self) -> TextBoxInfo: ...
|
|
160
|
+
|
|
161
|
+
@typing.final
|
|
162
|
+
class InputDelegationModeChangedEventArgs(winrt.system.Object):
|
|
163
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
164
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
165
|
+
# System.Boolean Windows.UI.Input.Preview.Text.InputDelegationModeChangedEventArgs::get_DelegationOn()
|
|
166
|
+
@_property
|
|
167
|
+
def delegation_on(self) -> bool: ...
|
|
168
|
+
|
|
169
|
+
@typing.final
|
|
170
|
+
class KeyEventReceivedEventArgs(winrt.system.Object):
|
|
171
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
172
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
173
|
+
# System.Boolean Windows.UI.Input.Preview.Text.KeyEventReceivedEventArgs::IsKeyPressed(Windows.System.VirtualKey)
|
|
174
|
+
def is_key_pressed(self, vkey: windows_system.VirtualKey, /) -> bool: ...
|
|
175
|
+
# System.Boolean Windows.UI.Input.Preview.Text.KeyEventReceivedEventArgs::IsToggleKeyOn(Windows.System.VirtualKey)
|
|
176
|
+
def is_toggle_key_on(self, vkey: windows_system.VirtualKey, /) -> bool: ...
|
|
177
|
+
# System.Boolean Windows.UI.Input.Preview.Text.KeyEventReceivedEventArgs::get_Handled()
|
|
178
|
+
@_property
|
|
179
|
+
def handled(self) -> bool: ...
|
|
180
|
+
# System.Void Windows.UI.Input.Preview.Text.KeyEventReceivedEventArgs::put_Handled(System.Boolean)
|
|
181
|
+
@handled.setter
|
|
182
|
+
def handled(self, value: bool) -> None: ...
|
|
183
|
+
# Windows.UI.Input.Preview.Text.TextEditSession Windows.UI.Input.Preview.Text.KeyEventReceivedEventArgs::get_EditSession()
|
|
184
|
+
@_property
|
|
185
|
+
def edit_session(self) -> TextEditSession: ...
|
|
186
|
+
# Windows.UI.Core.CorePhysicalKeyStatus Windows.UI.Input.Preview.Text.KeyEventReceivedEventArgs::get_KeyStatus()
|
|
187
|
+
@_property
|
|
188
|
+
def key_status(self) -> windows_ui_core.CorePhysicalKeyStatus: ...
|
|
189
|
+
# Windows.UI.Input.Preview.Text.KeyEventDeviceType Windows.UI.Input.Preview.Text.KeyEventReceivedEventArgs::get_Source()
|
|
190
|
+
@_property
|
|
191
|
+
def source(self) -> KeyEventDeviceType: ...
|
|
192
|
+
# System.String Windows.UI.Input.Preview.Text.KeyEventReceivedEventArgs::get_Unicode()
|
|
193
|
+
@_property
|
|
194
|
+
def unicode(self) -> str: ...
|
|
195
|
+
# Windows.System.VirtualKey Windows.UI.Input.Preview.Text.KeyEventReceivedEventArgs::get_VirtualKey()
|
|
196
|
+
@_property
|
|
197
|
+
def virtual_key(self) -> windows_system.VirtualKey: ...
|
|
198
|
+
|
|
199
|
+
@typing.final
|
|
200
|
+
class KeyboardInputProcessor(winrt.system.Object):
|
|
201
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
202
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
203
|
+
# Windows.UI.Input.Preview.Text.TextEditSession Windows.UI.Input.Preview.Text.KeyboardInputProcessor::CreateEditSession()
|
|
204
|
+
def create_edit_session(self) -> TextEditSession: ...
|
|
205
|
+
# Windows.Foundation.EventRegistrationToken Windows.UI.Input.Preview.Text.KeyboardInputProcessor::add_Activated(Windows.Foundation.TypedEventHandler`2<Windows.UI.Input.Preview.Text.KeyboardInputProcessor,System.Object>)
|
|
206
|
+
def add_activated(self, handler: windows_foundation.TypedEventHandler[KeyboardInputProcessor, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
|
|
207
|
+
# System.Void Windows.UI.Input.Preview.Text.KeyboardInputProcessor::remove_Activated(Windows.Foundation.EventRegistrationToken)
|
|
208
|
+
def remove_activated(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
209
|
+
# Windows.Foundation.EventRegistrationToken Windows.UI.Input.Preview.Text.KeyboardInputProcessor::add_CompositionTerminated(Windows.Foundation.TypedEventHandler`2<Windows.UI.Input.Preview.Text.KeyboardInputProcessor,System.Object>)
|
|
210
|
+
def add_composition_terminated(self, handler: windows_foundation.TypedEventHandler[KeyboardInputProcessor, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
|
|
211
|
+
# System.Void Windows.UI.Input.Preview.Text.KeyboardInputProcessor::remove_CompositionTerminated(Windows.Foundation.EventRegistrationToken)
|
|
212
|
+
def remove_composition_terminated(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
213
|
+
# Windows.Foundation.EventRegistrationToken Windows.UI.Input.Preview.Text.KeyboardInputProcessor::add_ConversionModeChanged(Windows.Foundation.TypedEventHandler`2<Windows.UI.Input.Preview.Text.KeyboardInputProcessor,Windows.UI.Input.Preview.Text.ConversionModeChangedEventArgs>)
|
|
214
|
+
def add_conversion_mode_changed(self, handler: windows_foundation.TypedEventHandler[KeyboardInputProcessor, ConversionModeChangedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
215
|
+
# System.Void Windows.UI.Input.Preview.Text.KeyboardInputProcessor::remove_ConversionModeChanged(Windows.Foundation.EventRegistrationToken)
|
|
216
|
+
def remove_conversion_mode_changed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
217
|
+
# Windows.Foundation.EventRegistrationToken Windows.UI.Input.Preview.Text.KeyboardInputProcessor::add_Deactivated(Windows.Foundation.TypedEventHandler`2<Windows.UI.Input.Preview.Text.KeyboardInputProcessor,System.Object>)
|
|
218
|
+
def add_deactivated(self, handler: windows_foundation.TypedEventHandler[KeyboardInputProcessor, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
|
|
219
|
+
# System.Void Windows.UI.Input.Preview.Text.KeyboardInputProcessor::remove_Deactivated(Windows.Foundation.EventRegistrationToken)
|
|
220
|
+
def remove_deactivated(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
221
|
+
# Windows.Foundation.EventRegistrationToken Windows.UI.Input.Preview.Text.KeyboardInputProcessor::add_FocusEntered(Windows.Foundation.TypedEventHandler`2<Windows.UI.Input.Preview.Text.KeyboardInputProcessor,Windows.UI.Input.Preview.Text.FocusEnteredEventArgs>)
|
|
222
|
+
def add_focus_entered(self, handler: windows_foundation.TypedEventHandler[KeyboardInputProcessor, FocusEnteredEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
223
|
+
# System.Void Windows.UI.Input.Preview.Text.KeyboardInputProcessor::remove_FocusEntered(Windows.Foundation.EventRegistrationToken)
|
|
224
|
+
def remove_focus_entered(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
225
|
+
# Windows.Foundation.EventRegistrationToken Windows.UI.Input.Preview.Text.KeyboardInputProcessor::add_FocusRemoved(Windows.Foundation.TypedEventHandler`2<Windows.UI.Input.Preview.Text.KeyboardInputProcessor,System.Object>)
|
|
226
|
+
def add_focus_removed(self, handler: windows_foundation.TypedEventHandler[KeyboardInputProcessor, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
|
|
227
|
+
# System.Void Windows.UI.Input.Preview.Text.KeyboardInputProcessor::remove_FocusRemoved(Windows.Foundation.EventRegistrationToken)
|
|
228
|
+
def remove_focus_removed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
229
|
+
# Windows.Foundation.EventRegistrationToken Windows.UI.Input.Preview.Text.KeyboardInputProcessor::add_KeyEventReceived(Windows.Foundation.TypedEventHandler`2<Windows.UI.Input.Preview.Text.KeyboardInputProcessor,Windows.UI.Input.Preview.Text.KeyEventReceivedEventArgs>)
|
|
230
|
+
def add_key_event_received(self, handler: windows_foundation.TypedEventHandler[KeyboardInputProcessor, KeyEventReceivedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
231
|
+
# System.Void Windows.UI.Input.Preview.Text.KeyboardInputProcessor::remove_KeyEventReceived(Windows.Foundation.EventRegistrationToken)
|
|
232
|
+
def remove_key_event_received(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
233
|
+
# Windows.Foundation.EventRegistrationToken Windows.UI.Input.Preview.Text.KeyboardInputProcessor::add_ReconversionRequested(Windows.Foundation.TypedEventHandler`2<Windows.UI.Input.Preview.Text.KeyboardInputProcessor,Windows.UI.Input.Preview.Text.ReconversionRequestedEventArgs>)
|
|
234
|
+
def add_reconversion_requested(self, handler: windows_foundation.TypedEventHandler[KeyboardInputProcessor, ReconversionRequestedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
235
|
+
# System.Void Windows.UI.Input.Preview.Text.KeyboardInputProcessor::remove_ReconversionRequested(Windows.Foundation.EventRegistrationToken)
|
|
236
|
+
def remove_reconversion_requested(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
237
|
+
# Windows.Foundation.EventRegistrationToken Windows.UI.Input.Preview.Text.KeyboardInputProcessor::add_TextBoxContentChanged(Windows.Foundation.TypedEventHandler`2<Windows.UI.Input.Preview.Text.KeyboardInputProcessor,Windows.UI.Input.Preview.Text.TextBoxContentChangedEventArgs>)
|
|
238
|
+
def add_text_box_content_changed(self, handler: windows_foundation.TypedEventHandler[KeyboardInputProcessor, TextBoxContentChangedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
239
|
+
# System.Void Windows.UI.Input.Preview.Text.KeyboardInputProcessor::remove_TextBoxContentChanged(Windows.Foundation.EventRegistrationToken)
|
|
240
|
+
def remove_text_box_content_changed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
241
|
+
# Windows.Foundation.EventRegistrationToken Windows.UI.Input.Preview.Text.KeyboardInputProcessor::add_TextBoxInfoChanged(Windows.Foundation.TypedEventHandler`2<Windows.UI.Input.Preview.Text.KeyboardInputProcessor,Windows.UI.Input.Preview.Text.TextBoxInfoChangedEventArgs>)
|
|
242
|
+
def add_text_box_info_changed(self, handler: windows_foundation.TypedEventHandler[KeyboardInputProcessor, TextBoxInfoChangedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
243
|
+
# System.Void Windows.UI.Input.Preview.Text.KeyboardInputProcessor::remove_TextBoxInfoChanged(Windows.Foundation.EventRegistrationToken)
|
|
244
|
+
def remove_text_box_info_changed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
245
|
+
# Windows.UI.Input.Preview.Text.TextConversionMode Windows.UI.Input.Preview.Text.KeyboardInputProcessor::get_ConversionMode()
|
|
246
|
+
@_property
|
|
247
|
+
def conversion_mode(self) -> TextConversionMode: ...
|
|
248
|
+
# System.Void Windows.UI.Input.Preview.Text.KeyboardInputProcessor::put_ConversionMode(Windows.UI.Input.Preview.Text.TextConversionMode)
|
|
249
|
+
@conversion_mode.setter
|
|
250
|
+
def conversion_mode(self, value: TextConversionMode) -> None: ...
|
|
251
|
+
# Windows.Foundation.IReference`1<Windows.Foundation.Rect> Windows.UI.Input.Preview.Text.KeyboardInputProcessor::get_FocusedTextBoxBounds()
|
|
252
|
+
@_property
|
|
253
|
+
def focused_text_box_bounds(self) -> windows_foundation.Rect | None: ...
|
|
254
|
+
# Windows.UI.Input.Preview.Text.TextBoxId Windows.UI.Input.Preview.Text.KeyboardInputProcessor::get_FocusedTextBoxId()
|
|
255
|
+
@_property
|
|
256
|
+
def focused_text_box_id(self) -> TextBoxId: ...
|
|
257
|
+
# Windows.UI.Input.Preview.Text.TextBoxInfo Windows.UI.Input.Preview.Text.KeyboardInputProcessor::get_FocusedTextBoxInfo()
|
|
258
|
+
@_property
|
|
259
|
+
def focused_text_box_info(self) -> TextBoxInfo: ...
|
|
260
|
+
# System.Boolean Windows.UI.Input.Preview.Text.KeyboardInputProcessor::get_HasFocusedTextBox()
|
|
261
|
+
@_property
|
|
262
|
+
def has_focused_text_box(self) -> bool: ...
|
|
263
|
+
# System.String Windows.UI.Input.Preview.Text.KeyboardInputProcessor::get_InputProfile()
|
|
264
|
+
@_property
|
|
265
|
+
def input_profile(self) -> str: ...
|
|
266
|
+
# System.Boolean Windows.UI.Input.Preview.Text.KeyboardInputProcessor::get_IsActive()
|
|
267
|
+
@_property
|
|
268
|
+
def is_active(self) -> bool: ...
|
|
269
|
+
# Windows.Foundation.IReference`1<Windows.Foundation.Rect> Windows.UI.Input.Preview.Text.KeyboardInputProcessor::get_SelectionBounds()
|
|
270
|
+
@_property
|
|
271
|
+
def selection_bounds(self) -> windows_foundation.Rect | None: ...
|
|
272
|
+
|
|
273
|
+
@typing.final
|
|
274
|
+
class ReconversionRequestedEventArgs(winrt.system.Object):
|
|
275
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
276
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
277
|
+
# Windows.UI.Text.Core.CoreTextRange Windows.UI.Input.Preview.Text.ReconversionRequestedEventArgs::get_Range()
|
|
278
|
+
@_property
|
|
279
|
+
def range(self) -> windows_ui_text_core.CoreTextRange: ...
|
|
280
|
+
|
|
281
|
+
@typing.final
|
|
282
|
+
class TextBoxContentChangedEventArgs(winrt.system.Object):
|
|
283
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
284
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
285
|
+
# System.Boolean Windows.UI.Input.Preview.Text.TextBoxContentChangedEventArgs::IsContentAttributeChanged(Windows.UI.Input.Preview.Text.TextBoxContentAttribute)
|
|
286
|
+
def is_content_attribute_changed(self, value: TextBoxContentAttribute, /) -> bool: ...
|
|
287
|
+
# Windows.Foundation.Rect Windows.UI.Input.Preview.Text.TextBoxContentChangedEventArgs::get_SelectionBounds()
|
|
288
|
+
@_property
|
|
289
|
+
def selection_bounds(self) -> windows_foundation.Rect: ...
|
|
290
|
+
# Windows.UI.Input.Preview.Text.TextChangeSource Windows.UI.Input.Preview.Text.TextBoxContentChangedEventArgs::get_Source()
|
|
291
|
+
@_property
|
|
292
|
+
def source(self) -> TextChangeSource: ...
|
|
293
|
+
# Windows.UI.Input.Preview.Text.TextBoxId Windows.UI.Input.Preview.Text.TextBoxContentChangedEventArgs::get_TextBoxId()
|
|
294
|
+
@_property
|
|
295
|
+
def text_box_id(self) -> TextBoxId: ...
|
|
296
|
+
|
|
297
|
+
@typing.final
|
|
298
|
+
class TextBoxInfo(winrt.system.Object):
|
|
299
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
300
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
301
|
+
# System.String Windows.UI.Input.Preview.Text.TextBoxInfo::get_AppName()
|
|
302
|
+
@_property
|
|
303
|
+
def app_name(self) -> str: ...
|
|
304
|
+
# Windows.UI.Input.Preview.Text.TextBoxFeatures Windows.UI.Input.Preview.Text.TextBoxInfo::get_DisabledFeatures()
|
|
305
|
+
@_property
|
|
306
|
+
def disabled_features(self) -> TextBoxFeatures: ...
|
|
307
|
+
# Windows.UI.Input.Preview.Text.TextBoxId Windows.UI.Input.Preview.Text.TextBoxInfo::get_Id()
|
|
308
|
+
@_property
|
|
309
|
+
def id(self) -> TextBoxId: ...
|
|
310
|
+
# Windows.UI.Text.Core.CoreTextInputScope Windows.UI.Input.Preview.Text.TextBoxInfo::get_InputScope()
|
|
311
|
+
@_property
|
|
312
|
+
def input_scope(self) -> windows_ui_text_core.CoreTextInputScope: ...
|
|
313
|
+
# Windows.UI.Input.Preview.Text.TextBoxSettings Windows.UI.Input.Preview.Text.TextBoxInfo::get_Settings()
|
|
314
|
+
@_property
|
|
315
|
+
def settings(self) -> TextBoxSettings: ...
|
|
316
|
+
# System.String Windows.UI.Input.Preview.Text.TextBoxInfo::get_Url()
|
|
317
|
+
@_property
|
|
318
|
+
def url(self) -> str: ...
|
|
319
|
+
|
|
320
|
+
@typing.final
|
|
321
|
+
class TextBoxInfoChangedEventArgs(winrt.system.Object):
|
|
322
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
323
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
324
|
+
# Windows.UI.Input.Preview.Text.TextBoxInfo Windows.UI.Input.Preview.Text.TextBoxInfoChangedEventArgs::get_TextBoxInfo()
|
|
325
|
+
@_property
|
|
326
|
+
def text_box_info(self) -> TextBoxInfo: ...
|
|
327
|
+
|
|
328
|
+
@typing.final
|
|
329
|
+
class TextComposition(winrt.system.Object):
|
|
330
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
331
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
332
|
+
# System.Void Windows.UI.Input.Preview.Text.TextComposition::Complete()
|
|
333
|
+
def complete(self) -> None: ...
|
|
334
|
+
# System.Void Windows.UI.Input.Preview.Text.TextComposition::CompleteFirstSegment()
|
|
335
|
+
def complete_first_segment(self) -> None: ...
|
|
336
|
+
# System.Void Windows.UI.Input.Preview.Text.TextComposition::CompleteUnconverted()
|
|
337
|
+
def complete_unconverted(self) -> None: ...
|
|
338
|
+
# Windows.UI.Input.Preview.Text.TextCompositionSegment Windows.UI.Input.Preview.Text.TextComposition::InsertText(System.String)
|
|
339
|
+
def insert_text(self, text: str, /) -> TextCompositionSegment: ...
|
|
340
|
+
# System.UInt32 Windows.UI.Input.Preview.Text.TextComposition::get_CaretPosition()
|
|
341
|
+
@_property
|
|
342
|
+
def caret_position(self) -> winrt.system.UInt32: ...
|
|
343
|
+
# System.Void Windows.UI.Input.Preview.Text.TextComposition::put_CaretPosition(System.UInt32)
|
|
344
|
+
@caret_position.setter
|
|
345
|
+
def caret_position(self, value: winrt.system.UInt32 | typing.SupportsIndex) -> None: ...
|
|
346
|
+
# Windows.UI.Input.Preview.Text.TextCompositionSegment Windows.UI.Input.Preview.Text.TextComposition::get_FirstSegment()
|
|
347
|
+
@_property
|
|
348
|
+
def first_segment(self) -> TextCompositionSegment: ...
|
|
349
|
+
# Windows.UI.Input.Preview.Text.TextCompositionSegment Windows.UI.Input.Preview.Text.TextComposition::get_SelectedSegment()
|
|
350
|
+
@_property
|
|
351
|
+
def selected_segment(self) -> TextCompositionSegment: ...
|
|
352
|
+
# System.String Windows.UI.Input.Preview.Text.TextComposition::get_Text()
|
|
353
|
+
@_property
|
|
354
|
+
def text(self) -> str: ...
|
|
355
|
+
|
|
356
|
+
@typing.final
|
|
357
|
+
class TextCompositionSegment(winrt.system.Object):
|
|
358
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
359
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
360
|
+
# Windows.UI.Input.Preview.Text.TextStyle Windows.UI.Input.Preview.Text.TextCompositionSegment::GetTextStyle()
|
|
361
|
+
def get_text_style(self) -> TextStyle: ...
|
|
362
|
+
# System.Void Windows.UI.Input.Preview.Text.TextCompositionSegment::SetTextStyle(Windows.UI.Input.Preview.Text.TextStyle)
|
|
363
|
+
def set_text_style(self, value: TextStyle | tuple[TextStyleAttributes, windows_ui.Color | tuple[winrt.system.UInt8 | typing.SupportsIndex, winrt.system.UInt8 | typing.SupportsIndex, winrt.system.UInt8 | typing.SupportsIndex, winrt.system.UInt8 | typing.SupportsIndex], windows_ui.Color | tuple[winrt.system.UInt8 | typing.SupportsIndex, winrt.system.UInt8 | typing.SupportsIndex, winrt.system.UInt8 | typing.SupportsIndex, winrt.system.UInt8 | typing.SupportsIndex], windows_ui.Color | tuple[winrt.system.UInt8 | typing.SupportsIndex, winrt.system.UInt8 | typing.SupportsIndex, winrt.system.UInt8 | typing.SupportsIndex, winrt.system.UInt8 | typing.SupportsIndex], windows_ui_text.UnderlineType], /) -> None: ...
|
|
364
|
+
# System.String Windows.UI.Input.Preview.Text.TextCompositionSegment::get_UnconvertedText()
|
|
365
|
+
@_property
|
|
366
|
+
def unconverted_text(self) -> str: ...
|
|
367
|
+
# System.Void Windows.UI.Input.Preview.Text.TextCompositionSegment::put_UnconvertedText(System.String)
|
|
368
|
+
@unconverted_text.setter
|
|
369
|
+
def unconverted_text(self, value: str) -> None: ...
|
|
370
|
+
# System.String Windows.UI.Input.Preview.Text.TextCompositionSegment::get_Text()
|
|
371
|
+
@_property
|
|
372
|
+
def text(self) -> str: ...
|
|
373
|
+
# System.Void Windows.UI.Input.Preview.Text.TextCompositionSegment::put_Text(System.String)
|
|
374
|
+
@text.setter
|
|
375
|
+
def text(self, value: str) -> None: ...
|
|
376
|
+
# System.String Windows.UI.Input.Preview.Text.TextCompositionSegment::get_ConvertedText()
|
|
377
|
+
@_property
|
|
378
|
+
def converted_text(self) -> str: ...
|
|
379
|
+
# System.Void Windows.UI.Input.Preview.Text.TextCompositionSegment::put_ConvertedText(System.String)
|
|
380
|
+
@converted_text.setter
|
|
381
|
+
def converted_text(self, value: str) -> None: ...
|
|
382
|
+
# Windows.UI.Text.Core.CoreTextFormatUpdatingReason Windows.UI.Input.Preview.Text.TextCompositionSegment::get_ConversionState()
|
|
383
|
+
@_property
|
|
384
|
+
def conversion_state(self) -> windows_ui_text_core.CoreTextFormatUpdatingReason: ...
|
|
385
|
+
# System.Void Windows.UI.Input.Preview.Text.TextCompositionSegment::put_ConversionState(Windows.UI.Text.Core.CoreTextFormatUpdatingReason)
|
|
386
|
+
@conversion_state.setter
|
|
387
|
+
def conversion_state(self, value: windows_ui_text_core.CoreTextFormatUpdatingReason) -> None: ...
|
|
388
|
+
# Windows.UI.Input.Preview.Text.TextCompositionSegment Windows.UI.Input.Preview.Text.TextCompositionSegment::get_Next()
|
|
389
|
+
@_property
|
|
390
|
+
def next(self) -> TextCompositionSegment: ...
|
|
391
|
+
# Windows.UI.Input.Preview.Text.TextCompositionSegment Windows.UI.Input.Preview.Text.TextCompositionSegment::get_Previous()
|
|
392
|
+
@_property
|
|
393
|
+
def previous(self) -> TextCompositionSegment: ...
|
|
394
|
+
# Windows.UI.Text.Core.CoreTextRange Windows.UI.Input.Preview.Text.TextCompositionSegment::get_Range()
|
|
395
|
+
@_property
|
|
396
|
+
def range(self) -> windows_ui_text_core.CoreTextRange: ...
|
|
397
|
+
|
|
398
|
+
@typing.final
|
|
399
|
+
class TextEditSession(winrt.system.Object):
|
|
400
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
401
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
402
|
+
# Windows.UI.Text.Core.CoreTextRange Windows.UI.Input.Preview.Text.TextEditSession::GetSelectedRange()
|
|
403
|
+
def get_selected_range(self) -> windows_ui_text_core.CoreTextRange: ...
|
|
404
|
+
# System.String Windows.UI.Input.Preview.Text.TextEditSession::GetText(Windows.UI.Text.Core.CoreTextRange)
|
|
405
|
+
def get_text(self, range: windows_ui_text_core.CoreTextRange | tuple[winrt.system.Int32 | typing.SupportsIndex, winrt.system.Int32 | typing.SupportsIndex], /) -> str: ...
|
|
406
|
+
# Windows.Foundation.IAsyncAction Windows.UI.Input.Preview.Text.TextEditSession::PopulateAsync(Windows.UI.Text.Core.CoreTextRange)
|
|
407
|
+
def populate_async(self, range: windows_ui_text_core.CoreTextRange | tuple[winrt.system.Int32 | typing.SupportsIndex, winrt.system.Int32 | typing.SupportsIndex], /) -> windows_foundation.IAsyncAction: ...
|
|
408
|
+
# Windows.UI.Text.Core.CoreTextRange Windows.UI.Input.Preview.Text.TextEditSession::ReplaceText(Windows.UI.Text.Core.CoreTextRange,System.String)
|
|
409
|
+
def replace_text(self, replace_range: windows_ui_text_core.CoreTextRange | tuple[winrt.system.Int32 | typing.SupportsIndex, winrt.system.Int32 | typing.SupportsIndex], text: str, /) -> windows_ui_text_core.CoreTextRange: ...
|
|
410
|
+
# System.Void Windows.UI.Input.Preview.Text.TextEditSession::SetSelectedRange(Windows.UI.Text.Core.CoreTextRange)
|
|
411
|
+
def set_selected_range(self, value: windows_ui_text_core.CoreTextRange | tuple[winrt.system.Int32 | typing.SupportsIndex, winrt.system.Int32 | typing.SupportsIndex], /) -> None: ...
|
|
412
|
+
# Windows.UI.Input.Preview.Text.TextComposition Windows.UI.Input.Preview.Text.TextEditSession::StartComposition()
|
|
413
|
+
def start_composition(self) -> TextComposition: ...
|
|
414
|
+
# Windows.UI.Input.Preview.Text.TextComposition Windows.UI.Input.Preview.Text.TextEditSession::StartReconversion(Windows.UI.Text.Core.CoreTextRange)
|
|
415
|
+
def start_reconversion(self, range: windows_ui_text_core.CoreTextRange | tuple[winrt.system.Int32 | typing.SupportsIndex, winrt.system.Int32 | typing.SupportsIndex], /) -> TextComposition: ...
|
|
416
|
+
# System.Boolean Windows.UI.Input.Preview.Text.TextEditSession::SubmitPayload()
|
|
417
|
+
def submit_payload(self) -> bool: ...
|
|
418
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.UI.Input.Preview.Text.PayloadResult> Windows.UI.Input.Preview.Text.TextEditSession::SubmitPayloadAsync()
|
|
419
|
+
def submit_payload_async(self) -> windows_foundation.IAsyncOperation[PayloadResult]: ...
|
|
420
|
+
# Windows.UI.Input.Preview.Text.TextComposition Windows.UI.Input.Preview.Text.TextEditSession::get_Composition()
|
|
421
|
+
@_property
|
|
422
|
+
def composition(self) -> TextComposition: ...
|
|
423
|
+
# Windows.UI.Text.Core.CoreTextRange Windows.UI.Input.Preview.Text.TextEditSession::get_PopulatedRange()
|
|
424
|
+
@_property
|
|
425
|
+
def populated_range(self) -> windows_ui_text_core.CoreTextRange: ...
|
|
426
|
+
# Windows.UI.Input.Preview.Text.TextBoxId Windows.UI.Input.Preview.Text.TextEditSession::get_TextBoxId()
|
|
427
|
+
@_property
|
|
428
|
+
def text_box_id(self) -> TextBoxId: ...
|
|
429
|
+
# System.Int32 Windows.UI.Input.Preview.Text.TextEditSession::get_TextLength()
|
|
430
|
+
@_property
|
|
431
|
+
def text_length(self) -> winrt.system.Int32: ...
|
|
432
|
+
|
|
433
|
+
@typing.final
|
|
434
|
+
class TextInputProvider(winrt.system.Object):
|
|
435
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
436
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
437
|
+
# Windows.UI.Input.Preview.Text.TextEditSession Windows.UI.Input.Preview.Text.TextInputProvider::CreateEditSession()
|
|
438
|
+
def create_edit_session(self) -> TextEditSession: ...
|
|
439
|
+
# Windows.UI.Input.Preview.Text.TextInputServiceSubscription Windows.UI.Input.Preview.Text.TextInputProvider::GetSubscription()
|
|
440
|
+
def get_subscription(self) -> TextInputServiceSubscription: ...
|
|
441
|
+
# System.Void Windows.UI.Input.Preview.Text.TextInputProvider::SetSubscription(Windows.UI.Input.Preview.Text.TextInputServiceSubscription)
|
|
442
|
+
def set_subscription(self, subscription: TextInputServiceSubscription | tuple[TextBoxFeatures, TextBoxFeatures], /) -> None: ...
|
|
443
|
+
# System.Void Windows.UI.Input.Preview.Text.TextInputProvider::StopDelegation()
|
|
444
|
+
def stop_delegation(self) -> None: ...
|
|
445
|
+
# System.Boolean Windows.UI.Input.Preview.Text.TextInputProvider::TryStartDelegation()
|
|
446
|
+
def try_start_delegation(self) -> bool: ...
|
|
447
|
+
# Windows.Foundation.EventRegistrationToken Windows.UI.Input.Preview.Text.TextInputProvider::add_CompositionTerminated(Windows.Foundation.TypedEventHandler`2<Windows.UI.Input.Preview.Text.TextInputProvider,System.Object>)
|
|
448
|
+
def add_composition_terminated(self, handler: windows_foundation.TypedEventHandler[TextInputProvider, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
|
|
449
|
+
# System.Void Windows.UI.Input.Preview.Text.TextInputProvider::remove_CompositionTerminated(Windows.Foundation.EventRegistrationToken)
|
|
450
|
+
def remove_composition_terminated(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
451
|
+
# Windows.Foundation.EventRegistrationToken Windows.UI.Input.Preview.Text.TextInputProvider::add_FocusEntered(Windows.Foundation.TypedEventHandler`2<Windows.UI.Input.Preview.Text.TextInputProvider,Windows.UI.Input.Preview.Text.FocusEnteredEventArgs>)
|
|
452
|
+
def add_focus_entered(self, handler: windows_foundation.TypedEventHandler[TextInputProvider, FocusEnteredEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
453
|
+
# System.Void Windows.UI.Input.Preview.Text.TextInputProvider::remove_FocusEntered(Windows.Foundation.EventRegistrationToken)
|
|
454
|
+
def remove_focus_entered(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
455
|
+
# Windows.Foundation.EventRegistrationToken Windows.UI.Input.Preview.Text.TextInputProvider::add_FocusRemoved(Windows.Foundation.TypedEventHandler`2<Windows.UI.Input.Preview.Text.TextInputProvider,System.Object>)
|
|
456
|
+
def add_focus_removed(self, handler: windows_foundation.TypedEventHandler[TextInputProvider, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
|
|
457
|
+
# System.Void Windows.UI.Input.Preview.Text.TextInputProvider::remove_FocusRemoved(Windows.Foundation.EventRegistrationToken)
|
|
458
|
+
def remove_focus_removed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
459
|
+
# Windows.Foundation.EventRegistrationToken Windows.UI.Input.Preview.Text.TextInputProvider::add_InputDelegationModeChanged(Windows.Foundation.TypedEventHandler`2<Windows.UI.Input.Preview.Text.TextInputProvider,Windows.UI.Input.Preview.Text.InputDelegationModeChangedEventArgs>)
|
|
460
|
+
def add_input_delegation_mode_changed(self, handler: windows_foundation.TypedEventHandler[TextInputProvider, InputDelegationModeChangedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
461
|
+
# System.Void Windows.UI.Input.Preview.Text.TextInputProvider::remove_InputDelegationModeChanged(Windows.Foundation.EventRegistrationToken)
|
|
462
|
+
def remove_input_delegation_mode_changed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
463
|
+
# Windows.Foundation.EventRegistrationToken Windows.UI.Input.Preview.Text.TextInputProvider::add_ReconversionRequested(Windows.Foundation.TypedEventHandler`2<Windows.UI.Input.Preview.Text.TextInputProvider,Windows.UI.Input.Preview.Text.ReconversionRequestedEventArgs>)
|
|
464
|
+
def add_reconversion_requested(self, handler: windows_foundation.TypedEventHandler[TextInputProvider, ReconversionRequestedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
465
|
+
# System.Void Windows.UI.Input.Preview.Text.TextInputProvider::remove_ReconversionRequested(Windows.Foundation.EventRegistrationToken)
|
|
466
|
+
def remove_reconversion_requested(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
467
|
+
# Windows.Foundation.EventRegistrationToken Windows.UI.Input.Preview.Text.TextInputProvider::add_TextBoxContentChanged(Windows.Foundation.TypedEventHandler`2<Windows.UI.Input.Preview.Text.TextInputProvider,Windows.UI.Input.Preview.Text.TextBoxContentChangedEventArgs>)
|
|
468
|
+
def add_text_box_content_changed(self, handler: windows_foundation.TypedEventHandler[TextInputProvider, TextBoxContentChangedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
469
|
+
# System.Void Windows.UI.Input.Preview.Text.TextInputProvider::remove_TextBoxContentChanged(Windows.Foundation.EventRegistrationToken)
|
|
470
|
+
def remove_text_box_content_changed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
471
|
+
# Windows.Foundation.EventRegistrationToken Windows.UI.Input.Preview.Text.TextInputProvider::add_TextBoxInfoChanged(Windows.Foundation.TypedEventHandler`2<Windows.UI.Input.Preview.Text.TextInputProvider,Windows.UI.Input.Preview.Text.TextBoxInfoChangedEventArgs>)
|
|
472
|
+
def add_text_box_info_changed(self, handler: windows_foundation.TypedEventHandler[TextInputProvider, TextBoxInfoChangedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
473
|
+
# System.Void Windows.UI.Input.Preview.Text.TextInputProvider::remove_TextBoxInfoChanged(Windows.Foundation.EventRegistrationToken)
|
|
474
|
+
def remove_text_box_info_changed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
475
|
+
# Windows.Foundation.IReference`1<Windows.Foundation.Rect> Windows.UI.Input.Preview.Text.TextInputProvider::get_FocusedTextBoxBounds()
|
|
476
|
+
@_property
|
|
477
|
+
def focused_text_box_bounds(self) -> windows_foundation.Rect | None: ...
|
|
478
|
+
# Windows.UI.Input.Preview.Text.TextBoxId Windows.UI.Input.Preview.Text.TextInputProvider::get_FocusedTextBoxId()
|
|
479
|
+
@_property
|
|
480
|
+
def focused_text_box_id(self) -> TextBoxId: ...
|
|
481
|
+
# Windows.UI.Input.Preview.Text.TextBoxInfo Windows.UI.Input.Preview.Text.TextInputProvider::get_FocusedTextBoxInfo()
|
|
482
|
+
@_property
|
|
483
|
+
def focused_text_box_info(self) -> TextBoxInfo: ...
|
|
484
|
+
# System.Boolean Windows.UI.Input.Preview.Text.TextInputProvider::get_HasFocusedTextBox()
|
|
485
|
+
@_property
|
|
486
|
+
def has_focused_text_box(self) -> bool: ...
|
|
487
|
+
# Windows.Foundation.IReference`1<Windows.Foundation.Rect> Windows.UI.Input.Preview.Text.TextInputProvider::get_SelectionBounds()
|
|
488
|
+
@_property
|
|
489
|
+
def selection_bounds(self) -> windows_foundation.Rect | None: ...
|
|
490
|
+
|
|
491
|
+
@typing.final
|
|
492
|
+
class TextInputService_Static(winrt.system.Object_Static):
|
|
493
|
+
# Windows.UI.Input.Preview.Text.TextInputService Windows.UI.Input.Preview.Text.TextInputService::GetForCurrentThread()
|
|
494
|
+
def get_for_current_thread(cls) -> TextInputService: ...
|
|
495
|
+
|
|
496
|
+
@typing.final
|
|
497
|
+
class TextInputService(winrt.system.Object, metaclass=TextInputService_Static):
|
|
498
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
499
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
500
|
+
# Windows.UI.Input.Preview.Text.KeyboardInputProcessor Windows.UI.Input.Preview.Text.TextInputService::CreateKeyboardInputProcessor(System.String)
|
|
501
|
+
def create_keyboard_input_processor(self, input_profile: str, /) -> KeyboardInputProcessor: ...
|
|
502
|
+
# Windows.UI.Input.Preview.Text.TextInputProvider Windows.UI.Input.Preview.Text.TextInputService::CreateTextInputProvider(System.String)
|
|
503
|
+
def create_text_input_provider(self, input_profile: str, /) -> TextInputProvider: ...
|
|
504
|
+
|
|
Binary file
|
|
File without changes
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: winrt-Windows.UI.Input.Preview.Text
|
|
3
|
+
Version: 4!10.0.28000.2705
|
|
4
|
+
Summary: PyWinRT projection of the Windows.UI.Input.Preview.Text 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>=4!10.0.28000.2705
|
|
24
|
+
Provides-Extra: all
|
|
25
|
+
Requires-Dist: winrt-windows-foundation[all]>=4!10.0.28000.2705; extra == 'all'
|
|
26
|
+
Requires-Dist: winrt-windows-system[all]>=4!10.0.28000.2705; extra == 'all'
|
|
27
|
+
Requires-Dist: winrt-windows-ui-core[all]>=4!10.0.28000.2705; extra == 'all'
|
|
28
|
+
Requires-Dist: winrt-windows-ui-text-core[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[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.Input.Preview.Text
|
|
36
|
+
|
|
37
|
+
Windows Runtime (WinRT) APIs for the `Windows.UI.Input.Preview.Text` namespace.
|
|
38
|
+
|
|
39
|
+
This package provides the `winrt.windows.ui.input.preview.text` 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.Input.Preview.Text
|
|
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/input/preview/text/__init__.py,sha256=PSVNPXLW2hew19Nv6-4QfT1RJI-5fm-vPi54hheflJY,893
|
|
2
|
+
winrt/windows/ui/input/preview/text/__init__.pyi,sha256=UrFsNuw3WRXAUE_FBHLJNNHWsY1QZlSw6tH_Rcahu34,36813
|
|
3
|
+
winrt/windows/ui/input/preview/text/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
+
winrt/windows/ui/input/preview/text/_table.pywinrt,sha256=W2lIAhIBjQcTJHpfgiBXvJxLmChNZM81Fkv2AWGRX14,36168
|
|
5
|
+
winrt_windows_ui_input_preview_text-4!10.0.28000.2705.dist-info/METADATA,sha256=I_hHfRQDy4zjoBRNgeSTtETqvkjxTraPPxd81VDcpNg,2204
|
|
6
|
+
winrt_windows_ui_input_preview_text-4!10.0.28000.2705.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
|
|
7
|
+
winrt_windows_ui_input_preview_text-4!10.0.28000.2705.dist-info/licenses/LICENSE,sha256=dyVKOMqPV0fimbzMhqN3zpg6K6Y2OlekwrdfiZTBm8M,1225
|
|
8
|
+
winrt_windows_ui_input_preview_text-4!10.0.28000.2705.dist-info/RECORD,,
|
|
@@ -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
|