win32more-Microsoft.WindowsAppSDK 0.6.1.7.250310001__py2.py3-none-any.whl → 0.7.1.7.251107005__py2.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.
- win32more/Microsoft/Foundation/__init__.py +1 -1
- win32more/Microsoft/Graphics/DirectX/__init__.py +1 -1
- win32more/Microsoft/Graphics/Display/__init__.py +9 -9
- win32more/Microsoft/Graphics/Imaging/__init__.py +77 -0
- win32more/Microsoft/Security/Authentication/OAuth/__init__.py +111 -111
- win32more/Microsoft/UI/Composition/Core/__init__.py +3 -3
- win32more/Microsoft/UI/Composition/Diagnostics/__init__.py +1 -1
- win32more/Microsoft/UI/Composition/Effects/__init__.py +3 -3
- win32more/Microsoft/UI/Composition/Interactions/__init__.py +1 -1
- win32more/Microsoft/UI/Composition/Scenes/__init__.py +10 -10
- win32more/Microsoft/UI/Composition/SystemBackdrops/__init__.py +8 -8
- win32more/Microsoft/UI/Composition/__init__.py +134 -134
- win32more/Microsoft/UI/Content/__init__.py +39 -39
- win32more/Microsoft/UI/Dispatching/__init__.py +11 -11
- win32more/Microsoft/UI/Input/DragDrop/__init__.py +7 -7
- win32more/Microsoft/UI/Input/Interop/__init__.py +1 -1
- win32more/Microsoft/UI/Input/__init__.py +103 -99
- win32more/Microsoft/UI/System/__init__.py +5 -5
- win32more/Microsoft/UI/Text/__init__.py +30 -30
- win32more/Microsoft/UI/Windowing/__init__.py +27 -27
- win32more/Microsoft/UI/Xaml/Automation/Peers/__init__.py +56 -55
- win32more/Microsoft/UI/Xaml/Automation/Provider/__init__.py +19 -19
- win32more/Microsoft/UI/Xaml/Automation/Text/__init__.py +1 -1
- win32more/Microsoft/UI/Xaml/Automation/__init__.py +41 -41
- win32more/Microsoft/UI/Xaml/Controls/AnimatedVisuals/__init__.py +17 -17
- win32more/Microsoft/UI/Xaml/Controls/Primitives/__init__.py +108 -107
- win32more/Microsoft/UI/Xaml/Controls/__init__.py +744 -744
- win32more/Microsoft/UI/Xaml/Data/__init__.py +31 -30
- win32more/Microsoft/UI/Xaml/Documents/__init__.py +38 -37
- win32more/Microsoft/UI/Xaml/Hosting/__init__.py +7 -7
- win32more/Microsoft/UI/Xaml/Input/__init__.py +38 -31
- win32more/Microsoft/UI/Xaml/Interop/__init__.py +3 -3
- win32more/Microsoft/UI/Xaml/Markup/__init__.py +19 -17
- win32more/Microsoft/UI/Xaml/Media/Animation/__init__.py +111 -109
- win32more/Microsoft/UI/Xaml/Media/Imaging/__init__.py +11 -11
- win32more/Microsoft/UI/Xaml/Media/Media3D/__init__.py +2 -1
- win32more/Microsoft/UI/Xaml/Media/__init__.py +34 -28
- win32more/Microsoft/UI/Xaml/Navigation/__init__.py +1 -1
- win32more/Microsoft/UI/Xaml/Printing/__init__.py +7 -7
- win32more/Microsoft/UI/Xaml/Resources/__init__.py +3 -3
- win32more/Microsoft/UI/Xaml/Shapes/__init__.py +1 -1
- win32more/Microsoft/UI/Xaml/XamlTypeInfo/__init__.py +2 -2
- win32more/Microsoft/UI/Xaml/__init__.py +190 -186
- win32more/Microsoft/UI/__init__.py +8 -5
- win32more/Microsoft/Windows/AI/ContentSafety/__init__.py +197 -0
- win32more/Microsoft/Windows/AI/Imaging/__init__.py +366 -0
- win32more/Microsoft/Windows/AI/Text/__init__.py +261 -0
- win32more/Microsoft/Windows/AI/__init__.py +49 -0
- win32more/Microsoft/Windows/AppLifecycle/__init__.py +21 -21
- win32more/Microsoft/Windows/AppNotifications/Builder/__init__.py +99 -99
- win32more/Microsoft/Windows/AppNotifications/__init__.py +45 -45
- win32more/Microsoft/Windows/ApplicationModel/Background/UniversalBGTask/__init__.py +1 -1
- win32more/Microsoft/Windows/ApplicationModel/Background/__init__.py +7 -7
- win32more/Microsoft/Windows/ApplicationModel/DynamicDependency/__init__.py +22 -21
- win32more/Microsoft/Windows/ApplicationModel/Resources/__init__.py +59 -59
- win32more/Microsoft/Windows/ApplicationModel/WindowsAppRuntime/__init__.py +32 -7
- win32more/Microsoft/Windows/BadgeNotifications/__init__.py +1 -1
- win32more/Microsoft/Windows/Globalization/__init__.py +9 -9
- win32more/Microsoft/Windows/Management/Deployment/__init__.py +86 -85
- win32more/Microsoft/Windows/Media/Capture/__init__.py +1 -1
- win32more/Microsoft/Windows/PushNotifications/__init__.py +6 -5
- win32more/Microsoft/Windows/Security/AccessControl/__init__.py +7 -6
- win32more/Microsoft/Windows/Storage/__init__.py +27 -27
- win32more/Microsoft/Windows/System/Power/__init__.py +23 -12
- win32more/Microsoft/Windows/System/__init__.py +15 -15
- win32more/Microsoft/Windows/Widgets/Feeds/Providers/__init__.py +65 -65
- win32more/Microsoft/Windows/Widgets/Notifications/__init__.py +25 -25
- win32more/Microsoft/Windows/Widgets/Providers/__init__.py +91 -67
- win32more/Microsoft/Windows/Widgets/__init__.py +2 -2
- win32more/Microsoft/Windows/Workloads/__init__.py +11 -0
- win32more/appsdk/versioninfo.py +1 -1
- win32more/dll/arm64/Microsoft.Windows.ApplicationModel.Background.UniversalBGTask.dll +0 -0
- win32more/dll/arm64/Microsoft.WindowsAppRuntime.Bootstrap.dll +0 -0
- win32more/dll/x64/Microsoft.Windows.ApplicationModel.Background.UniversalBGTask.dll +0 -0
- win32more/dll/x64/Microsoft.WindowsAppRuntime.Bootstrap.dll +0 -0
- win32more/dll/x86/Microsoft.Windows.ApplicationModel.Background.UniversalBGTask.dll +0 -0
- win32more/dll/x86/Microsoft.WindowsAppRuntime.Bootstrap.dll +0 -0
- win32more_microsoft_windowsappsdk-0.7.1.7.251107005.dist-info/METADATA +6 -0
- win32more_microsoft_windowsappsdk-0.7.1.7.251107005.dist-info/RECORD +81 -0
- {win32more_microsoft_windowsappsdk-0.6.1.7.250310001.dist-info → win32more_microsoft_windowsappsdk-0.7.1.7.251107005.dist-info}/licenses/LICENSE (Microsoft.WindowsAppSDK).txt +1 -1
- win32more_microsoft_windowsappsdk-0.6.1.7.250310001.dist-info/METADATA +0 -6
- win32more_microsoft_windowsappsdk-0.6.1.7.250310001.dist-info/RECORD +0 -75
- {win32more_microsoft_windowsappsdk-0.6.1.7.250310001.dist-info → win32more_microsoft_windowsappsdk-0.7.1.7.251107005.dist-info}/WHEEL +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
from __future__ import annotations
|
|
2
|
-
from win32more.
|
|
2
|
+
from win32more._prelude import *
|
|
3
3
|
import win32more.Microsoft.UI
|
|
4
4
|
import win32more.Microsoft.UI.Content
|
|
5
5
|
import win32more.Microsoft.UI.Dispatching
|
|
@@ -34,6 +34,7 @@ class ContextMenuKeyEventArgs(ComPtr):
|
|
|
34
34
|
def put_Handled(self: win32more.Microsoft.UI.Input.IContextMenuKeyEventArgs, value: Boolean) -> Void: ...
|
|
35
35
|
Handled = property(get_Handled, put_Handled)
|
|
36
36
|
class CrossSlideThresholds(Structure):
|
|
37
|
+
_name_ = 'Microsoft.UI.Input.CrossSlideThresholds'
|
|
37
38
|
SelectionStart: Single
|
|
38
39
|
SpeedBumpStart: Single
|
|
39
40
|
SpeedBumpEnd: Single
|
|
@@ -311,15 +312,15 @@ class GestureRecognizer(ComPtr):
|
|
|
311
312
|
PivotCenter = property(get_PivotCenter, put_PivotCenter)
|
|
312
313
|
PivotRadius = property(get_PivotRadius, put_PivotRadius)
|
|
313
314
|
ShowGestureFeedback = property(get_ShowGestureFeedback, put_ShowGestureFeedback)
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
Holding = event()
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
315
|
+
CrossSliding = event(add_CrossSliding, remove_CrossSliding)
|
|
316
|
+
Dragging = event(add_Dragging, remove_Dragging)
|
|
317
|
+
Holding = event(add_Holding, remove_Holding)
|
|
318
|
+
ManipulationCompleted = event(add_ManipulationCompleted, remove_ManipulationCompleted)
|
|
319
|
+
ManipulationInertiaStarting = event(add_ManipulationInertiaStarting, remove_ManipulationInertiaStarting)
|
|
320
|
+
ManipulationStarted = event(add_ManipulationStarted, remove_ManipulationStarted)
|
|
321
|
+
ManipulationUpdated = event(add_ManipulationUpdated, remove_ManipulationUpdated)
|
|
322
|
+
RightTapped = event(add_RightTapped, remove_RightTapped)
|
|
323
|
+
Tapped = event(add_Tapped, remove_Tapped)
|
|
323
324
|
class GestureSettings(Enum, UInt32):
|
|
324
325
|
None_ = 0
|
|
325
326
|
Tap = 1
|
|
@@ -623,15 +624,15 @@ class IGestureRecognizer(ComPtr):
|
|
|
623
624
|
PivotCenter = property(get_PivotCenter, put_PivotCenter)
|
|
624
625
|
PivotRadius = property(get_PivotRadius, put_PivotRadius)
|
|
625
626
|
ShowGestureFeedback = property(get_ShowGestureFeedback, put_ShowGestureFeedback)
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
Holding = event()
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
627
|
+
CrossSliding = event(add_CrossSliding, remove_CrossSliding)
|
|
628
|
+
Dragging = event(add_Dragging, remove_Dragging)
|
|
629
|
+
Holding = event(add_Holding, remove_Holding)
|
|
630
|
+
ManipulationCompleted = event(add_ManipulationCompleted, remove_ManipulationCompleted)
|
|
631
|
+
ManipulationInertiaStarting = event(add_ManipulationInertiaStarting, remove_ManipulationInertiaStarting)
|
|
632
|
+
ManipulationStarted = event(add_ManipulationStarted, remove_ManipulationStarted)
|
|
633
|
+
ManipulationUpdated = event(add_ManipulationUpdated, remove_ManipulationUpdated)
|
|
634
|
+
RightTapped = event(add_RightTapped, remove_RightTapped)
|
|
635
|
+
Tapped = event(add_Tapped, remove_Tapped)
|
|
635
636
|
class IHoldingEventArgs(ComPtr):
|
|
636
637
|
extends: IInspectable
|
|
637
638
|
_classid_ = 'Microsoft.UI.Input.IHoldingEventArgs'
|
|
@@ -656,7 +657,7 @@ class IInputActivationListener(ComPtr):
|
|
|
656
657
|
@winrt_commethod(8)
|
|
657
658
|
def remove_InputActivationChanged(self, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
|
|
658
659
|
State = property(get_State, None)
|
|
659
|
-
InputActivationChanged = event()
|
|
660
|
+
InputActivationChanged = event(add_InputActivationChanged, remove_InputActivationChanged)
|
|
660
661
|
class IInputActivationListenerActivationChangedEventArgs(ComPtr):
|
|
661
662
|
extends: IInspectable
|
|
662
663
|
_classid_ = 'Microsoft.UI.Input.IInputActivationListenerActivationChangedEventArgs'
|
|
@@ -700,9 +701,9 @@ class IInputDesktopNamedResourceCursor(ComPtr):
|
|
|
700
701
|
_classid_ = 'Microsoft.UI.Input.IInputDesktopNamedResourceCursor'
|
|
701
702
|
_iid_ = Guid('{f40ea93b-0ed7-5b3a-bfe2-14e2b5ad88a3}')
|
|
702
703
|
@winrt_commethod(6)
|
|
703
|
-
def get_ModuleName(self) ->
|
|
704
|
+
def get_ModuleName(self) -> hstr: ...
|
|
704
705
|
@winrt_commethod(7)
|
|
705
|
-
def get_ResourceName(self) ->
|
|
706
|
+
def get_ResourceName(self) -> hstr: ...
|
|
706
707
|
ModuleName = property(get_ModuleName, None)
|
|
707
708
|
ResourceName = property(get_ResourceName, None)
|
|
708
709
|
class IInputDesktopNamedResourceCursorStatics(ComPtr):
|
|
@@ -710,15 +711,15 @@ class IInputDesktopNamedResourceCursorStatics(ComPtr):
|
|
|
710
711
|
_classid_ = 'Microsoft.UI.Input.IInputDesktopNamedResourceCursorStatics'
|
|
711
712
|
_iid_ = Guid('{e8b6d5aa-898b-5e69-b01f-383a0943e3e4}')
|
|
712
713
|
@winrt_commethod(6)
|
|
713
|
-
def Create(self, resourceName:
|
|
714
|
+
def Create(self, resourceName: hstr) -> win32more.Microsoft.UI.Input.InputDesktopNamedResourceCursor: ...
|
|
714
715
|
@winrt_commethod(7)
|
|
715
|
-
def CreateFromModule(self, moduleName:
|
|
716
|
+
def CreateFromModule(self, moduleName: hstr, resourceName: hstr) -> win32more.Microsoft.UI.Input.InputDesktopNamedResourceCursor: ...
|
|
716
717
|
class IInputDesktopResourceCursor(ComPtr):
|
|
717
718
|
extends: IInspectable
|
|
718
719
|
_classid_ = 'Microsoft.UI.Input.IInputDesktopResourceCursor'
|
|
719
720
|
_iid_ = Guid('{1df2777f-7c90-58fc-a7a3-d5736c6510fd}')
|
|
720
721
|
@winrt_commethod(6)
|
|
721
|
-
def get_ModuleName(self) ->
|
|
722
|
+
def get_ModuleName(self) -> hstr: ...
|
|
722
723
|
@winrt_commethod(7)
|
|
723
724
|
def get_ResourceId(self) -> UInt32: ...
|
|
724
725
|
ModuleName = property(get_ModuleName, None)
|
|
@@ -730,7 +731,7 @@ class IInputDesktopResourceCursorStatics(ComPtr):
|
|
|
730
731
|
@winrt_commethod(6)
|
|
731
732
|
def Create(self, resourceId: UInt32) -> win32more.Microsoft.UI.Input.InputDesktopResourceCursor: ...
|
|
732
733
|
@winrt_commethod(7)
|
|
733
|
-
def CreateFromModule(self, moduleName:
|
|
734
|
+
def CreateFromModule(self, moduleName: hstr, resourceId: UInt32) -> win32more.Microsoft.UI.Input.InputDesktopResourceCursor: ...
|
|
734
735
|
class IInputFocusController(ComPtr):
|
|
735
736
|
extends: IInspectable
|
|
736
737
|
_classid_ = 'Microsoft.UI.Input.IInputFocusController'
|
|
@@ -748,8 +749,8 @@ class IInputFocusController(ComPtr):
|
|
|
748
749
|
@winrt_commethod(11)
|
|
749
750
|
def remove_LostFocus(self, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
|
|
750
751
|
HasFocus = property(get_HasFocus, None)
|
|
751
|
-
GotFocus = event()
|
|
752
|
-
LostFocus = event()
|
|
752
|
+
GotFocus = event(add_GotFocus, remove_GotFocus)
|
|
753
|
+
LostFocus = event(add_LostFocus, remove_LostFocus)
|
|
753
754
|
class IInputFocusController2(ComPtr):
|
|
754
755
|
extends: IInspectable
|
|
755
756
|
_classid_ = 'Microsoft.UI.Input.IInputFocusController2'
|
|
@@ -760,7 +761,7 @@ class IInputFocusController2(ComPtr):
|
|
|
760
761
|
def add_NavigateFocusRequested(self, handler: win32more.Windows.Foundation.TypedEventHandler[win32more.Microsoft.UI.Input.InputFocusController, win32more.Microsoft.UI.Input.FocusNavigationRequestEventArgs]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
|
|
761
762
|
@winrt_commethod(8)
|
|
762
763
|
def remove_NavigateFocusRequested(self, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
|
|
763
|
-
NavigateFocusRequested = event()
|
|
764
|
+
NavigateFocusRequested = event(add_NavigateFocusRequested, remove_NavigateFocusRequested)
|
|
764
765
|
class IInputFocusControllerStatics(ComPtr):
|
|
765
766
|
extends: IInspectable
|
|
766
767
|
_classid_ = 'Microsoft.UI.Input.IInputFocusControllerStatics'
|
|
@@ -780,7 +781,7 @@ class IInputFocusNavigationHost(ComPtr):
|
|
|
780
781
|
@winrt_commethod(9)
|
|
781
782
|
def remove_DepartFocusRequested(self, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
|
|
782
783
|
ContainsFocus = property(get_ContainsFocus, None)
|
|
783
|
-
DepartFocusRequested = event()
|
|
784
|
+
DepartFocusRequested = event(add_DepartFocusRequested, remove_DepartFocusRequested)
|
|
784
785
|
class IInputFocusNavigationHostStatics(ComPtr):
|
|
785
786
|
extends: IInspectable
|
|
786
787
|
_classid_ = 'Microsoft.UI.Input.IInputFocusNavigationHostStatics'
|
|
@@ -829,12 +830,12 @@ class IInputKeyboardSource2(ComPtr):
|
|
|
829
830
|
def add_SystemKeyUp(self, handler: win32more.Windows.Foundation.TypedEventHandler[win32more.Microsoft.UI.Input.InputKeyboardSource, win32more.Microsoft.UI.Input.KeyEventArgs]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
|
|
830
831
|
@winrt_commethod(19)
|
|
831
832
|
def remove_SystemKeyUp(self, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
|
|
832
|
-
CharacterReceived = event()
|
|
833
|
-
ContextMenuKey = event()
|
|
834
|
-
KeyDown = event()
|
|
835
|
-
KeyUp = event()
|
|
836
|
-
SystemKeyDown = event()
|
|
837
|
-
SystemKeyUp = event()
|
|
833
|
+
CharacterReceived = event(add_CharacterReceived, remove_CharacterReceived)
|
|
834
|
+
ContextMenuKey = event(add_ContextMenuKey, remove_ContextMenuKey)
|
|
835
|
+
KeyDown = event(add_KeyDown, remove_KeyDown)
|
|
836
|
+
KeyUp = event(add_KeyUp, remove_KeyUp)
|
|
837
|
+
SystemKeyDown = event(add_SystemKeyDown, remove_SystemKeyDown)
|
|
838
|
+
SystemKeyUp = event(add_SystemKeyUp, remove_SystemKeyUp)
|
|
838
839
|
class IInputKeyboardSourceStatics(ComPtr):
|
|
839
840
|
extends: IInspectable
|
|
840
841
|
_classid_ = 'Microsoft.UI.Input.IInputKeyboardSourceStatics'
|
|
@@ -855,7 +856,7 @@ class IInputLightDismissAction(ComPtr):
|
|
|
855
856
|
def add_Dismissed(self, handler: win32more.Windows.Foundation.TypedEventHandler[win32more.Microsoft.UI.Input.InputLightDismissAction, win32more.Microsoft.UI.Input.InputLightDismissEventArgs]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
|
|
856
857
|
@winrt_commethod(7)
|
|
857
858
|
def remove_Dismissed(self, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
|
|
858
|
-
Dismissed = event()
|
|
859
|
+
Dismissed = event(add_Dismissed, remove_Dismissed)
|
|
859
860
|
class IInputLightDismissActionStatics(ComPtr):
|
|
860
861
|
extends: IInspectable
|
|
861
862
|
_classid_ = 'Microsoft.UI.Input.IInputLightDismissActionStatics'
|
|
@@ -909,13 +910,13 @@ class IInputNonClientPointerSource(ComPtr):
|
|
|
909
910
|
@winrt_commethod(24)
|
|
910
911
|
def remove_RegionsChanged(self, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
|
|
911
912
|
DispatcherQueue = property(get_DispatcherQueue, None)
|
|
912
|
-
CaptionTapped = event()
|
|
913
|
-
PointerEntered = event()
|
|
914
|
-
PointerExited = event()
|
|
915
|
-
PointerMoved = event()
|
|
916
|
-
PointerPressed = event()
|
|
917
|
-
PointerReleased = event()
|
|
918
|
-
RegionsChanged = event()
|
|
913
|
+
CaptionTapped = event(add_CaptionTapped, remove_CaptionTapped)
|
|
914
|
+
PointerEntered = event(add_PointerEntered, remove_PointerEntered)
|
|
915
|
+
PointerExited = event(add_PointerExited, remove_PointerExited)
|
|
916
|
+
PointerMoved = event(add_PointerMoved, remove_PointerMoved)
|
|
917
|
+
PointerPressed = event(add_PointerPressed, remove_PointerPressed)
|
|
918
|
+
PointerReleased = event(add_PointerReleased, remove_PointerReleased)
|
|
919
|
+
RegionsChanged = event(add_RegionsChanged, remove_RegionsChanged)
|
|
919
920
|
class IInputNonClientPointerSource2(ComPtr):
|
|
920
921
|
extends: IInspectable
|
|
921
922
|
_classid_ = 'Microsoft.UI.Input.IInputNonClientPointerSource2'
|
|
@@ -940,11 +941,11 @@ class IInputNonClientPointerSource2(ComPtr):
|
|
|
940
941
|
def add_ExitedMoveSize(self, handler: win32more.Windows.Foundation.TypedEventHandler[win32more.Microsoft.UI.Input.InputNonClientPointerSource, win32more.Microsoft.UI.Input.ExitedMoveSizeEventArgs]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
|
|
941
942
|
@winrt_commethod(15)
|
|
942
943
|
def remove_ExitedMoveSize(self, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
WindowRectChanged = event()
|
|
947
|
-
|
|
944
|
+
EnteredMoveSize = event(add_EnteredMoveSize, remove_EnteredMoveSize)
|
|
945
|
+
EnteringMoveSize = event(add_EnteringMoveSize, remove_EnteringMoveSize)
|
|
946
|
+
ExitedMoveSize = event(add_ExitedMoveSize, remove_ExitedMoveSize)
|
|
947
|
+
WindowRectChanged = event(add_WindowRectChanged, remove_WindowRectChanged)
|
|
948
|
+
WindowRectChanging = event(add_WindowRectChanging, remove_WindowRectChanging)
|
|
948
949
|
class IInputNonClientPointerSourceStatics(ComPtr):
|
|
949
950
|
extends: IInspectable
|
|
950
951
|
_classid_ = 'Microsoft.UI.Input.IInputNonClientPointerSourceStatics'
|
|
@@ -1014,16 +1015,16 @@ class IInputPointerSource(ComPtr):
|
|
|
1014
1015
|
def remove_PointerWheelChanged(self, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
|
|
1015
1016
|
Cursor = property(get_Cursor, put_Cursor)
|
|
1016
1017
|
DeviceKinds = property(get_DeviceKinds, None)
|
|
1017
|
-
PointerCaptureLost = event()
|
|
1018
|
-
PointerEntered = event()
|
|
1019
|
-
PointerExited = event()
|
|
1020
|
-
PointerMoved = event()
|
|
1021
|
-
PointerPressed = event()
|
|
1022
|
-
PointerReleased = event()
|
|
1023
|
-
PointerRoutedAway = event()
|
|
1024
|
-
PointerRoutedReleased = event()
|
|
1025
|
-
PointerRoutedTo = event()
|
|
1026
|
-
PointerWheelChanged = event()
|
|
1018
|
+
PointerCaptureLost = event(add_PointerCaptureLost, remove_PointerCaptureLost)
|
|
1019
|
+
PointerEntered = event(add_PointerEntered, remove_PointerEntered)
|
|
1020
|
+
PointerExited = event(add_PointerExited, remove_PointerExited)
|
|
1021
|
+
PointerMoved = event(add_PointerMoved, remove_PointerMoved)
|
|
1022
|
+
PointerPressed = event(add_PointerPressed, remove_PointerPressed)
|
|
1023
|
+
PointerReleased = event(add_PointerReleased, remove_PointerReleased)
|
|
1024
|
+
PointerRoutedAway = event(add_PointerRoutedAway, remove_PointerRoutedAway)
|
|
1025
|
+
PointerRoutedReleased = event(add_PointerRoutedReleased, remove_PointerRoutedReleased)
|
|
1026
|
+
PointerRoutedTo = event(add_PointerRoutedTo, remove_PointerRoutedTo)
|
|
1027
|
+
PointerWheelChanged = event(add_PointerWheelChanged, remove_PointerWheelChanged)
|
|
1027
1028
|
class IInputPointerSourceStatics(ComPtr):
|
|
1028
1029
|
extends: IInspectable
|
|
1029
1030
|
_classid_ = 'Microsoft.UI.Input.IInputPointerSourceStatics'
|
|
@@ -1418,7 +1419,7 @@ class InputActivationListener(ComPtr):
|
|
|
1418
1419
|
@winrt_classmethod
|
|
1419
1420
|
def GetForWindowId(cls: win32more.Microsoft.UI.Input.IInputActivationListenerStatics, windowId: win32more.Microsoft.UI.WindowId) -> win32more.Microsoft.UI.Input.InputActivationListener: ...
|
|
1420
1421
|
State = property(get_State, None)
|
|
1421
|
-
InputActivationChanged = event()
|
|
1422
|
+
InputActivationChanged = event(add_InputActivationChanged, remove_InputActivationChanged)
|
|
1422
1423
|
class InputActivationListenerActivationChangedEventArgs(ComPtr):
|
|
1423
1424
|
extends: IInspectable
|
|
1424
1425
|
default_interface: win32more.Microsoft.UI.Input.IInputActivationListenerActivationChangedEventArgs
|
|
@@ -1445,13 +1446,13 @@ class InputDesktopNamedResourceCursor(ComPtr):
|
|
|
1445
1446
|
default_interface: win32more.Microsoft.UI.Input.IInputDesktopNamedResourceCursor
|
|
1446
1447
|
_classid_ = 'Microsoft.UI.Input.InputDesktopNamedResourceCursor'
|
|
1447
1448
|
@winrt_mixinmethod
|
|
1448
|
-
def get_ModuleName(self: win32more.Microsoft.UI.Input.IInputDesktopNamedResourceCursor) ->
|
|
1449
|
+
def get_ModuleName(self: win32more.Microsoft.UI.Input.IInputDesktopNamedResourceCursor) -> hstr: ...
|
|
1449
1450
|
@winrt_mixinmethod
|
|
1450
|
-
def get_ResourceName(self: win32more.Microsoft.UI.Input.IInputDesktopNamedResourceCursor) ->
|
|
1451
|
+
def get_ResourceName(self: win32more.Microsoft.UI.Input.IInputDesktopNamedResourceCursor) -> hstr: ...
|
|
1451
1452
|
@winrt_classmethod
|
|
1452
|
-
def Create(cls: win32more.Microsoft.UI.Input.IInputDesktopNamedResourceCursorStatics, resourceName:
|
|
1453
|
+
def Create(cls: win32more.Microsoft.UI.Input.IInputDesktopNamedResourceCursorStatics, resourceName: hstr) -> win32more.Microsoft.UI.Input.InputDesktopNamedResourceCursor: ...
|
|
1453
1454
|
@winrt_classmethod
|
|
1454
|
-
def CreateFromModule(cls: win32more.Microsoft.UI.Input.IInputDesktopNamedResourceCursorStatics, moduleName:
|
|
1455
|
+
def CreateFromModule(cls: win32more.Microsoft.UI.Input.IInputDesktopNamedResourceCursorStatics, moduleName: hstr, resourceName: hstr) -> win32more.Microsoft.UI.Input.InputDesktopNamedResourceCursor: ...
|
|
1455
1456
|
ModuleName = property(get_ModuleName, None)
|
|
1456
1457
|
ResourceName = property(get_ResourceName, None)
|
|
1457
1458
|
class InputDesktopResourceCursor(ComPtr):
|
|
@@ -1461,11 +1462,11 @@ class InputDesktopResourceCursor(ComPtr):
|
|
|
1461
1462
|
@winrt_mixinmethod
|
|
1462
1463
|
def get_ResourceId(self: win32more.Microsoft.UI.Input.IInputDesktopResourceCursor) -> UInt32: ...
|
|
1463
1464
|
@winrt_mixinmethod
|
|
1464
|
-
def get_ModuleName(self: win32more.Microsoft.UI.Input.IInputDesktopResourceCursor) ->
|
|
1465
|
+
def get_ModuleName(self: win32more.Microsoft.UI.Input.IInputDesktopResourceCursor) -> hstr: ...
|
|
1465
1466
|
@winrt_classmethod
|
|
1466
1467
|
def Create(cls: win32more.Microsoft.UI.Input.IInputDesktopResourceCursorStatics, resourceId: UInt32) -> win32more.Microsoft.UI.Input.InputDesktopResourceCursor: ...
|
|
1467
1468
|
@winrt_classmethod
|
|
1468
|
-
def CreateFromModule(cls: win32more.Microsoft.UI.Input.IInputDesktopResourceCursorStatics, moduleName:
|
|
1469
|
+
def CreateFromModule(cls: win32more.Microsoft.UI.Input.IInputDesktopResourceCursorStatics, moduleName: hstr, resourceId: UInt32) -> win32more.Microsoft.UI.Input.InputDesktopResourceCursor: ...
|
|
1469
1470
|
ModuleName = property(get_ModuleName, None)
|
|
1470
1471
|
ResourceId = property(get_ResourceId, None)
|
|
1471
1472
|
class InputFocusController(ComPtr):
|
|
@@ -1493,9 +1494,9 @@ class InputFocusController(ComPtr):
|
|
|
1493
1494
|
@winrt_classmethod
|
|
1494
1495
|
def GetForIsland(cls: win32more.Microsoft.UI.Input.IInputFocusControllerStatics, island: win32more.Microsoft.UI.Content.ContentIsland) -> win32more.Microsoft.UI.Input.InputFocusController: ...
|
|
1495
1496
|
HasFocus = property(get_HasFocus, None)
|
|
1496
|
-
GotFocus = event()
|
|
1497
|
-
LostFocus = event()
|
|
1498
|
-
NavigateFocusRequested = event()
|
|
1497
|
+
GotFocus = event(add_GotFocus, remove_GotFocus)
|
|
1498
|
+
LostFocus = event(add_LostFocus, remove_LostFocus)
|
|
1499
|
+
NavigateFocusRequested = event(add_NavigateFocusRequested, remove_NavigateFocusRequested)
|
|
1499
1500
|
class InputFocusNavigationHost(ComPtr):
|
|
1500
1501
|
extends: win32more.Microsoft.UI.Input.InputObject
|
|
1501
1502
|
default_interface: win32more.Microsoft.UI.Input.IInputFocusNavigationHost
|
|
@@ -1513,7 +1514,7 @@ class InputFocusNavigationHost(ComPtr):
|
|
|
1513
1514
|
@winrt_classmethod
|
|
1514
1515
|
def GetForSiteBridge(cls: win32more.Microsoft.UI.Input.IInputFocusNavigationHostStatics, site: win32more.Microsoft.UI.Content.IContentSiteBridge) -> win32more.Microsoft.UI.Input.InputFocusNavigationHost: ...
|
|
1515
1516
|
ContainsFocus = property(get_ContainsFocus, None)
|
|
1516
|
-
DepartFocusRequested = event()
|
|
1517
|
+
DepartFocusRequested = event(add_DepartFocusRequested, remove_DepartFocusRequested)
|
|
1517
1518
|
class InputKeyboardSource(ComPtr):
|
|
1518
1519
|
extends: win32more.Microsoft.UI.Input.InputObject
|
|
1519
1520
|
default_interface: win32more.Microsoft.UI.Input.IInputKeyboardSource
|
|
@@ -1550,12 +1551,12 @@ class InputKeyboardSource(ComPtr):
|
|
|
1550
1551
|
def GetForIsland(cls: win32more.Microsoft.UI.Input.IInputKeyboardSourceStatics2, island: win32more.Microsoft.UI.Content.ContentIsland) -> win32more.Microsoft.UI.Input.InputKeyboardSource: ...
|
|
1551
1552
|
@winrt_classmethod
|
|
1552
1553
|
def GetKeyStateForCurrentThread(cls: win32more.Microsoft.UI.Input.IInputKeyboardSourceStatics, virtualKey: win32more.Windows.System.VirtualKey) -> win32more.Windows.UI.Core.CoreVirtualKeyStates: ...
|
|
1553
|
-
CharacterReceived = event()
|
|
1554
|
-
ContextMenuKey = event()
|
|
1555
|
-
KeyDown = event()
|
|
1556
|
-
KeyUp = event()
|
|
1557
|
-
SystemKeyDown = event()
|
|
1558
|
-
SystemKeyUp = event()
|
|
1554
|
+
CharacterReceived = event(add_CharacterReceived, remove_CharacterReceived)
|
|
1555
|
+
ContextMenuKey = event(add_ContextMenuKey, remove_ContextMenuKey)
|
|
1556
|
+
KeyDown = event(add_KeyDown, remove_KeyDown)
|
|
1557
|
+
KeyUp = event(add_KeyUp, remove_KeyUp)
|
|
1558
|
+
SystemKeyDown = event(add_SystemKeyDown, remove_SystemKeyDown)
|
|
1559
|
+
SystemKeyUp = event(add_SystemKeyUp, remove_SystemKeyUp)
|
|
1559
1560
|
class InputLightDismissAction(ComPtr):
|
|
1560
1561
|
extends: win32more.Microsoft.UI.Input.InputObject
|
|
1561
1562
|
default_interface: win32more.Microsoft.UI.Input.IInputLightDismissAction
|
|
@@ -1566,7 +1567,7 @@ class InputLightDismissAction(ComPtr):
|
|
|
1566
1567
|
def remove_Dismissed(self: win32more.Microsoft.UI.Input.IInputLightDismissAction, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
|
|
1567
1568
|
@winrt_classmethod
|
|
1568
1569
|
def GetForWindowId(cls: win32more.Microsoft.UI.Input.IInputLightDismissActionStatics, windowId: win32more.Microsoft.UI.WindowId) -> win32more.Microsoft.UI.Input.InputLightDismissAction: ...
|
|
1569
|
-
Dismissed = event()
|
|
1570
|
+
Dismissed = event(add_Dismissed, remove_Dismissed)
|
|
1570
1571
|
class InputLightDismissEventArgs(ComPtr):
|
|
1571
1572
|
extends: IInspectable
|
|
1572
1573
|
default_interface: win32more.Microsoft.UI.Input.IInputLightDismissEventArgs
|
|
@@ -1636,18 +1637,18 @@ class InputNonClientPointerSource(ComPtr):
|
|
|
1636
1637
|
@winrt_classmethod
|
|
1637
1638
|
def GetForWindowId(cls: win32more.Microsoft.UI.Input.IInputNonClientPointerSourceStatics, windowId: win32more.Microsoft.UI.WindowId) -> win32more.Microsoft.UI.Input.InputNonClientPointerSource: ...
|
|
1638
1639
|
DispatcherQueue = property(get_DispatcherQueue, None)
|
|
1639
|
-
CaptionTapped = event()
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
WindowRectChanged = event()
|
|
1650
|
-
|
|
1640
|
+
CaptionTapped = event(add_CaptionTapped, remove_CaptionTapped)
|
|
1641
|
+
EnteredMoveSize = event(add_EnteredMoveSize, remove_EnteredMoveSize)
|
|
1642
|
+
EnteringMoveSize = event(add_EnteringMoveSize, remove_EnteringMoveSize)
|
|
1643
|
+
ExitedMoveSize = event(add_ExitedMoveSize, remove_ExitedMoveSize)
|
|
1644
|
+
PointerEntered = event(add_PointerEntered, remove_PointerEntered)
|
|
1645
|
+
PointerExited = event(add_PointerExited, remove_PointerExited)
|
|
1646
|
+
PointerMoved = event(add_PointerMoved, remove_PointerMoved)
|
|
1647
|
+
PointerPressed = event(add_PointerPressed, remove_PointerPressed)
|
|
1648
|
+
PointerReleased = event(add_PointerReleased, remove_PointerReleased)
|
|
1649
|
+
RegionsChanged = event(add_RegionsChanged, remove_RegionsChanged)
|
|
1650
|
+
WindowRectChanged = event(add_WindowRectChanged, remove_WindowRectChanged)
|
|
1651
|
+
WindowRectChanging = event(add_WindowRectChanging, remove_WindowRectChanging)
|
|
1651
1652
|
class InputObject(ComPtr):
|
|
1652
1653
|
extends: IInspectable
|
|
1653
1654
|
default_interface: win32more.Microsoft.UI.Input.IInputObject
|
|
@@ -1709,16 +1710,16 @@ class InputPointerSource(ComPtr):
|
|
|
1709
1710
|
def GetForIsland(cls: win32more.Microsoft.UI.Input.IInputPointerSourceStatics, island: win32more.Microsoft.UI.Content.ContentIsland) -> win32more.Microsoft.UI.Input.InputPointerSource: ...
|
|
1710
1711
|
Cursor = property(get_Cursor, put_Cursor)
|
|
1711
1712
|
DeviceKinds = property(get_DeviceKinds, None)
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
PointerExited = event()
|
|
1715
|
-
PointerMoved = event()
|
|
1716
|
-
PointerPressed = event()
|
|
1717
|
-
PointerReleased = event()
|
|
1718
|
-
PointerRoutedAway = event()
|
|
1719
|
-
PointerRoutedReleased = event()
|
|
1720
|
-
PointerRoutedTo = event()
|
|
1721
|
-
PointerWheelChanged = event()
|
|
1713
|
+
PointerCaptureLost = event(add_PointerCaptureLost, remove_PointerCaptureLost)
|
|
1714
|
+
PointerEntered = event(add_PointerEntered, remove_PointerEntered)
|
|
1715
|
+
PointerExited = event(add_PointerExited, remove_PointerExited)
|
|
1716
|
+
PointerMoved = event(add_PointerMoved, remove_PointerMoved)
|
|
1717
|
+
PointerPressed = event(add_PointerPressed, remove_PointerPressed)
|
|
1718
|
+
PointerReleased = event(add_PointerReleased, remove_PointerReleased)
|
|
1719
|
+
PointerRoutedAway = event(add_PointerRoutedAway, remove_PointerRoutedAway)
|
|
1720
|
+
PointerRoutedReleased = event(add_PointerRoutedReleased, remove_PointerRoutedReleased)
|
|
1721
|
+
PointerRoutedTo = event(add_PointerRoutedTo, remove_PointerRoutedTo)
|
|
1722
|
+
PointerWheelChanged = event(add_PointerWheelChanged, remove_PointerWheelChanged)
|
|
1722
1723
|
class InputPointerSourceDeviceKinds(Enum, UInt32):
|
|
1723
1724
|
None_ = 0
|
|
1724
1725
|
Touch = 1
|
|
@@ -1791,6 +1792,7 @@ class ManipulationCompletedEventArgs(ComPtr):
|
|
|
1791
1792
|
Position = property(get_Position, None)
|
|
1792
1793
|
Velocities = property(get_Velocities, None)
|
|
1793
1794
|
class ManipulationDelta(Structure):
|
|
1795
|
+
_name_ = 'Microsoft.UI.Input.ManipulationDelta'
|
|
1794
1796
|
Translation: win32more.Windows.Foundation.Point
|
|
1795
1797
|
Scale: Single
|
|
1796
1798
|
Rotation: Single
|
|
@@ -1847,6 +1849,7 @@ class ManipulationUpdatedEventArgs(ComPtr):
|
|
|
1847
1849
|
Position = property(get_Position, None)
|
|
1848
1850
|
Velocities = property(get_Velocities, None)
|
|
1849
1851
|
class ManipulationVelocities(Structure):
|
|
1852
|
+
_name_ = 'Microsoft.UI.Input.ManipulationVelocities'
|
|
1850
1853
|
Linear: win32more.Windows.Foundation.Point
|
|
1851
1854
|
Angular: Single
|
|
1852
1855
|
Expansion: Single
|
|
@@ -1929,6 +1932,7 @@ class NonClientRegionsChangedEventArgs(ComPtr):
|
|
|
1929
1932
|
def get_ChangedRegions(self: win32more.Microsoft.UI.Input.INonClientRegionsChangedEventArgs) -> ReceiveArray[win32more.Microsoft.UI.Input.NonClientRegionKind]: ...
|
|
1930
1933
|
ChangedRegions = property(get_ChangedRegions, None)
|
|
1931
1934
|
class PhysicalKeyStatus(Structure):
|
|
1935
|
+
_name_ = 'Microsoft.UI.Input.PhysicalKeyStatus'
|
|
1932
1936
|
RepeatCount: UInt32
|
|
1933
1937
|
ScanCode: UInt32
|
|
1934
1938
|
IsExtendedKey: Boolean
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
from __future__ import annotations
|
|
2
|
-
from win32more.
|
|
2
|
+
from win32more._prelude import *
|
|
3
3
|
import win32more.Microsoft.UI
|
|
4
4
|
import win32more.Microsoft.UI.System
|
|
5
5
|
import win32more.Windows.Foundation
|
|
@@ -14,10 +14,10 @@ class IThemeSettings(ComPtr):
|
|
|
14
14
|
@winrt_commethod(8)
|
|
15
15
|
def get_HighContrast(self) -> Boolean: ...
|
|
16
16
|
@winrt_commethod(9)
|
|
17
|
-
def get_HighContrastScheme(self) ->
|
|
17
|
+
def get_HighContrastScheme(self) -> hstr: ...
|
|
18
18
|
HighContrast = property(get_HighContrast, None)
|
|
19
19
|
HighContrastScheme = property(get_HighContrastScheme, None)
|
|
20
|
-
Changed = event()
|
|
20
|
+
Changed = event(add_Changed, remove_Changed)
|
|
21
21
|
class IThemeSettingsStatics(ComPtr):
|
|
22
22
|
extends: IInspectable
|
|
23
23
|
_classid_ = 'Microsoft.UI.System.IThemeSettingsStatics'
|
|
@@ -35,12 +35,12 @@ class ThemeSettings(ComPtr):
|
|
|
35
35
|
@winrt_mixinmethod
|
|
36
36
|
def get_HighContrast(self: win32more.Microsoft.UI.System.IThemeSettings) -> Boolean: ...
|
|
37
37
|
@winrt_mixinmethod
|
|
38
|
-
def get_HighContrastScheme(self: win32more.Microsoft.UI.System.IThemeSettings) ->
|
|
38
|
+
def get_HighContrastScheme(self: win32more.Microsoft.UI.System.IThemeSettings) -> hstr: ...
|
|
39
39
|
@winrt_classmethod
|
|
40
40
|
def CreateForWindowId(cls: win32more.Microsoft.UI.System.IThemeSettingsStatics, windowId: win32more.Microsoft.UI.WindowId) -> win32more.Microsoft.UI.System.ThemeSettings: ...
|
|
41
41
|
HighContrast = property(get_HighContrast, None)
|
|
42
42
|
HighContrastScheme = property(get_HighContrastScheme, None)
|
|
43
|
-
Changed = event()
|
|
43
|
+
Changed = event(add_Changed, remove_Changed)
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
make_ready(__name__)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
from __future__ import annotations
|
|
2
|
-
from win32more.
|
|
2
|
+
from win32more._prelude import *
|
|
3
3
|
import win32more.Microsoft.UI.Text
|
|
4
4
|
import win32more.Windows.Foundation
|
|
5
5
|
import win32more.Windows.Storage.Streams
|
|
@@ -142,15 +142,15 @@ class ITextCharacterFormat(ComPtr):
|
|
|
142
142
|
@winrt_commethod(23)
|
|
143
143
|
def put_Kerning(self, value: Single) -> Void: ...
|
|
144
144
|
@winrt_commethod(24)
|
|
145
|
-
def get_LanguageTag(self) ->
|
|
145
|
+
def get_LanguageTag(self) -> hstr: ...
|
|
146
146
|
@winrt_commethod(25)
|
|
147
|
-
def put_LanguageTag(self, value:
|
|
147
|
+
def put_LanguageTag(self, value: hstr) -> Void: ...
|
|
148
148
|
@winrt_commethod(26)
|
|
149
149
|
def get_LinkType(self) -> win32more.Microsoft.UI.Text.LinkType: ...
|
|
150
150
|
@winrt_commethod(27)
|
|
151
|
-
def get_Name(self) ->
|
|
151
|
+
def get_Name(self) -> hstr: ...
|
|
152
152
|
@winrt_commethod(28)
|
|
153
|
-
def put_Name(self, value:
|
|
153
|
+
def put_Name(self, value: hstr) -> Void: ...
|
|
154
154
|
@winrt_commethod(29)
|
|
155
155
|
def get_Outline(self) -> win32more.Microsoft.UI.Text.FormatEffect: ...
|
|
156
156
|
@winrt_commethod(30)
|
|
@@ -300,7 +300,7 @@ class ITextDocument(ComPtr):
|
|
|
300
300
|
@winrt_commethod(24)
|
|
301
301
|
def GetRangeFromPoint(self, point: win32more.Windows.Foundation.Point, options: win32more.Microsoft.UI.Text.PointOptions) -> win32more.Microsoft.UI.Text.ITextRange: ...
|
|
302
302
|
@winrt_commethod(25)
|
|
303
|
-
def GetText(self, options: win32more.Microsoft.UI.Text.TextGetOptions, value: POINTER(
|
|
303
|
+
def GetText(self, options: win32more.Microsoft.UI.Text.TextGetOptions, value: POINTER(hstr)) -> Void: ...
|
|
304
304
|
@winrt_commethod(26)
|
|
305
305
|
def LoadFromStream(self, options: win32more.Microsoft.UI.Text.TextSetOptions, value: win32more.Windows.Storage.Streams.IRandomAccessStream) -> Void: ...
|
|
306
306
|
@winrt_commethod(27)
|
|
@@ -312,7 +312,7 @@ class ITextDocument(ComPtr):
|
|
|
312
312
|
@winrt_commethod(30)
|
|
313
313
|
def SetDefaultParagraphFormat(self, value: win32more.Microsoft.UI.Text.ITextParagraphFormat) -> Void: ...
|
|
314
314
|
@winrt_commethod(31)
|
|
315
|
-
def SetText(self, options: win32more.Microsoft.UI.Text.TextSetOptions, value:
|
|
315
|
+
def SetText(self, options: win32more.Microsoft.UI.Text.TextSetOptions, value: hstr) -> Void: ...
|
|
316
316
|
@winrt_commethod(32)
|
|
317
317
|
def Undo(self) -> Void: ...
|
|
318
318
|
@winrt_commethod(33)
|
|
@@ -340,9 +340,9 @@ class ITextDocument2(ComPtr):
|
|
|
340
340
|
@winrt_commethod(7)
|
|
341
341
|
def SetMathMode(self, mode: win32more.Microsoft.UI.Text.RichEditMathMode) -> Void: ...
|
|
342
342
|
@winrt_commethod(8)
|
|
343
|
-
def GetMathML(self, value: POINTER(
|
|
343
|
+
def GetMathML(self, value: POINTER(hstr)) -> Void: ...
|
|
344
344
|
@winrt_commethod(9)
|
|
345
|
-
def SetMathML(self, value:
|
|
345
|
+
def SetMathML(self, value: hstr) -> Void: ...
|
|
346
346
|
class ITextParagraphFormat(ComPtr):
|
|
347
347
|
extends: IInspectable
|
|
348
348
|
_classid_ = 'Microsoft.UI.Text.ITextParagraphFormat'
|
|
@@ -492,9 +492,9 @@ class ITextRange(ComPtr):
|
|
|
492
492
|
@winrt_commethod(16)
|
|
493
493
|
def get_Length(self) -> Int32: ...
|
|
494
494
|
@winrt_commethod(17)
|
|
495
|
-
def get_Link(self) ->
|
|
495
|
+
def get_Link(self) -> hstr: ...
|
|
496
496
|
@winrt_commethod(18)
|
|
497
|
-
def put_Link(self, value:
|
|
497
|
+
def put_Link(self, value: hstr) -> Void: ...
|
|
498
498
|
@winrt_commethod(19)
|
|
499
499
|
def get_ParagraphFormat(self) -> win32more.Microsoft.UI.Text.ITextParagraphFormat: ...
|
|
500
500
|
@winrt_commethod(20)
|
|
@@ -506,9 +506,9 @@ class ITextRange(ComPtr):
|
|
|
506
506
|
@winrt_commethod(23)
|
|
507
507
|
def get_StoryLength(self) -> Int32: ...
|
|
508
508
|
@winrt_commethod(24)
|
|
509
|
-
def get_Text(self) ->
|
|
509
|
+
def get_Text(self) -> hstr: ...
|
|
510
510
|
@winrt_commethod(25)
|
|
511
|
-
def put_Text(self, value:
|
|
511
|
+
def put_Text(self, value: hstr) -> Void: ...
|
|
512
512
|
@winrt_commethod(26)
|
|
513
513
|
def CanPaste(self, format: Int32) -> Boolean: ...
|
|
514
514
|
@winrt_commethod(27)
|
|
@@ -526,7 +526,7 @@ class ITextRange(ComPtr):
|
|
|
526
526
|
@winrt_commethod(33)
|
|
527
527
|
def Expand(self, unit: win32more.Microsoft.UI.Text.TextRangeUnit) -> Int32: ...
|
|
528
528
|
@winrt_commethod(34)
|
|
529
|
-
def FindText(self, value:
|
|
529
|
+
def FindText(self, value: hstr, scanLength: Int32, options: win32more.Microsoft.UI.Text.FindOptions) -> Int32: ...
|
|
530
530
|
@winrt_commethod(35)
|
|
531
531
|
def GetCharacterUtf32(self, value: POINTER(UInt32), offset: Int32) -> Void: ...
|
|
532
532
|
@winrt_commethod(36)
|
|
@@ -538,13 +538,13 @@ class ITextRange(ComPtr):
|
|
|
538
538
|
@winrt_commethod(39)
|
|
539
539
|
def GetRect(self, options: win32more.Microsoft.UI.Text.PointOptions, rect: POINTER(win32more.Windows.Foundation.Rect), hit: POINTER(Int32)) -> Void: ...
|
|
540
540
|
@winrt_commethod(40)
|
|
541
|
-
def GetText(self, options: win32more.Microsoft.UI.Text.TextGetOptions, value: POINTER(
|
|
541
|
+
def GetText(self, options: win32more.Microsoft.UI.Text.TextGetOptions, value: POINTER(hstr)) -> Void: ...
|
|
542
542
|
@winrt_commethod(41)
|
|
543
543
|
def GetTextViaStream(self, options: win32more.Microsoft.UI.Text.TextGetOptions, value: win32more.Windows.Storage.Streams.IRandomAccessStream) -> Void: ...
|
|
544
544
|
@winrt_commethod(42)
|
|
545
545
|
def InRange(self, range: win32more.Microsoft.UI.Text.ITextRange) -> Boolean: ...
|
|
546
546
|
@winrt_commethod(43)
|
|
547
|
-
def InsertImage(self, width: Int32, height: Int32, ascent: Int32, verticalAlign: win32more.Microsoft.UI.Text.VerticalCharacterAlignment, alternateText:
|
|
547
|
+
def InsertImage(self, width: Int32, height: Int32, ascent: Int32, verticalAlign: win32more.Microsoft.UI.Text.VerticalCharacterAlignment, alternateText: hstr, value: win32more.Windows.Storage.Streams.IRandomAccessStream) -> Void: ...
|
|
548
548
|
@winrt_commethod(44)
|
|
549
549
|
def InStory(self, range: win32more.Microsoft.UI.Text.ITextRange) -> Boolean: ...
|
|
550
550
|
@winrt_commethod(45)
|
|
@@ -568,7 +568,7 @@ class ITextRange(ComPtr):
|
|
|
568
568
|
@winrt_commethod(54)
|
|
569
569
|
def SetRange(self, startPosition: Int32, endPosition: Int32) -> Void: ...
|
|
570
570
|
@winrt_commethod(55)
|
|
571
|
-
def SetText(self, options: win32more.Microsoft.UI.Text.TextSetOptions, value:
|
|
571
|
+
def SetText(self, options: win32more.Microsoft.UI.Text.TextSetOptions, value: hstr) -> Void: ...
|
|
572
572
|
@winrt_commethod(56)
|
|
573
573
|
def SetTextViaStream(self, options: win32more.Microsoft.UI.Text.TextSetOptions, value: win32more.Windows.Storage.Streams.IRandomAccessStream) -> Void: ...
|
|
574
574
|
@winrt_commethod(57)
|
|
@@ -607,7 +607,7 @@ class ITextSelection(ComPtr):
|
|
|
607
607
|
@winrt_commethod(14)
|
|
608
608
|
def MoveUp(self, unit: win32more.Microsoft.UI.Text.TextRangeUnit, count: Int32, extend: Boolean) -> Int32: ...
|
|
609
609
|
@winrt_commethod(15)
|
|
610
|
-
def TypeText(self, value:
|
|
610
|
+
def TypeText(self, value: hstr) -> Void: ...
|
|
611
611
|
Options = property(get_Options, put_Options)
|
|
612
612
|
Type = property(get_Type, None)
|
|
613
613
|
class LetterCase(Enum, Int32):
|
|
@@ -751,7 +751,7 @@ class RichEditTextDocument(ComPtr):
|
|
|
751
751
|
@winrt_mixinmethod
|
|
752
752
|
def GetRangeFromPoint(self: win32more.Microsoft.UI.Text.ITextDocument, point: win32more.Windows.Foundation.Point, options: win32more.Microsoft.UI.Text.PointOptions) -> win32more.Microsoft.UI.Text.ITextRange: ...
|
|
753
753
|
@winrt_mixinmethod
|
|
754
|
-
def GetText(self: win32more.Microsoft.UI.Text.ITextDocument, options: win32more.Microsoft.UI.Text.TextGetOptions, value: POINTER(
|
|
754
|
+
def GetText(self: win32more.Microsoft.UI.Text.ITextDocument, options: win32more.Microsoft.UI.Text.TextGetOptions, value: POINTER(hstr)) -> Void: ...
|
|
755
755
|
@winrt_mixinmethod
|
|
756
756
|
def LoadFromStream(self: win32more.Microsoft.UI.Text.ITextDocument, options: win32more.Microsoft.UI.Text.TextSetOptions, value: win32more.Windows.Storage.Streams.IRandomAccessStream) -> Void: ...
|
|
757
757
|
@winrt_mixinmethod
|
|
@@ -763,7 +763,7 @@ class RichEditTextDocument(ComPtr):
|
|
|
763
763
|
@winrt_mixinmethod
|
|
764
764
|
def SetDefaultParagraphFormat(self: win32more.Microsoft.UI.Text.ITextDocument, value: win32more.Microsoft.UI.Text.ITextParagraphFormat) -> Void: ...
|
|
765
765
|
@winrt_mixinmethod
|
|
766
|
-
def SetText(self: win32more.Microsoft.UI.Text.ITextDocument, options: win32more.Microsoft.UI.Text.TextSetOptions, value:
|
|
766
|
+
def SetText(self: win32more.Microsoft.UI.Text.ITextDocument, options: win32more.Microsoft.UI.Text.TextSetOptions, value: hstr) -> Void: ...
|
|
767
767
|
@winrt_mixinmethod
|
|
768
768
|
def Undo(self: win32more.Microsoft.UI.Text.ITextDocument) -> Void: ...
|
|
769
769
|
@winrt_mixinmethod
|
|
@@ -781,9 +781,9 @@ class RichEditTextDocument(ComPtr):
|
|
|
781
781
|
@winrt_mixinmethod
|
|
782
782
|
def SetMathMode(self: win32more.Microsoft.UI.Text.ITextDocument2, mode: win32more.Microsoft.UI.Text.RichEditMathMode) -> Void: ...
|
|
783
783
|
@winrt_mixinmethod
|
|
784
|
-
def GetMathML(self: win32more.Microsoft.UI.Text.ITextDocument2, value: POINTER(
|
|
784
|
+
def GetMathML(self: win32more.Microsoft.UI.Text.ITextDocument2, value: POINTER(hstr)) -> Void: ...
|
|
785
785
|
@winrt_mixinmethod
|
|
786
|
-
def SetMathML(self: win32more.Microsoft.UI.Text.ITextDocument2, value:
|
|
786
|
+
def SetMathML(self: win32more.Microsoft.UI.Text.ITextDocument2, value: hstr) -> Void: ...
|
|
787
787
|
AlignmentIncludesTrailingWhitespace = property(get_AlignmentIncludesTrailingWhitespace, put_AlignmentIncludesTrailingWhitespace)
|
|
788
788
|
CaretType = property(get_CaretType, put_CaretType)
|
|
789
789
|
DefaultTabStop = property(get_DefaultTabStop, put_DefaultTabStop)
|
|
@@ -817,9 +817,9 @@ class RichEditTextRange(ComPtr):
|
|
|
817
817
|
@winrt_mixinmethod
|
|
818
818
|
def get_Length(self: win32more.Microsoft.UI.Text.ITextRange) -> Int32: ...
|
|
819
819
|
@winrt_mixinmethod
|
|
820
|
-
def get_Link(self: win32more.Microsoft.UI.Text.ITextRange) ->
|
|
820
|
+
def get_Link(self: win32more.Microsoft.UI.Text.ITextRange) -> hstr: ...
|
|
821
821
|
@winrt_mixinmethod
|
|
822
|
-
def put_Link(self: win32more.Microsoft.UI.Text.ITextRange, value:
|
|
822
|
+
def put_Link(self: win32more.Microsoft.UI.Text.ITextRange, value: hstr) -> Void: ...
|
|
823
823
|
@winrt_mixinmethod
|
|
824
824
|
def get_ParagraphFormat(self: win32more.Microsoft.UI.Text.ITextRange) -> win32more.Microsoft.UI.Text.ITextParagraphFormat: ...
|
|
825
825
|
@winrt_mixinmethod
|
|
@@ -831,9 +831,9 @@ class RichEditTextRange(ComPtr):
|
|
|
831
831
|
@winrt_mixinmethod
|
|
832
832
|
def get_StoryLength(self: win32more.Microsoft.UI.Text.ITextRange) -> Int32: ...
|
|
833
833
|
@winrt_mixinmethod
|
|
834
|
-
def get_Text(self: win32more.Microsoft.UI.Text.ITextRange) ->
|
|
834
|
+
def get_Text(self: win32more.Microsoft.UI.Text.ITextRange) -> hstr: ...
|
|
835
835
|
@winrt_mixinmethod
|
|
836
|
-
def put_Text(self: win32more.Microsoft.UI.Text.ITextRange, value:
|
|
836
|
+
def put_Text(self: win32more.Microsoft.UI.Text.ITextRange, value: hstr) -> Void: ...
|
|
837
837
|
@winrt_mixinmethod
|
|
838
838
|
def CanPaste(self: win32more.Microsoft.UI.Text.ITextRange, format: Int32) -> Boolean: ...
|
|
839
839
|
@winrt_mixinmethod
|
|
@@ -851,7 +851,7 @@ class RichEditTextRange(ComPtr):
|
|
|
851
851
|
@winrt_mixinmethod
|
|
852
852
|
def Expand(self: win32more.Microsoft.UI.Text.ITextRange, unit: win32more.Microsoft.UI.Text.TextRangeUnit) -> Int32: ...
|
|
853
853
|
@winrt_mixinmethod
|
|
854
|
-
def FindText(self: win32more.Microsoft.UI.Text.ITextRange, value:
|
|
854
|
+
def FindText(self: win32more.Microsoft.UI.Text.ITextRange, value: hstr, scanLength: Int32, options: win32more.Microsoft.UI.Text.FindOptions) -> Int32: ...
|
|
855
855
|
@winrt_mixinmethod
|
|
856
856
|
def GetCharacterUtf32(self: win32more.Microsoft.UI.Text.ITextRange, value: POINTER(UInt32), offset: Int32) -> Void: ...
|
|
857
857
|
@winrt_mixinmethod
|
|
@@ -863,13 +863,13 @@ class RichEditTextRange(ComPtr):
|
|
|
863
863
|
@winrt_mixinmethod
|
|
864
864
|
def GetRect(self: win32more.Microsoft.UI.Text.ITextRange, options: win32more.Microsoft.UI.Text.PointOptions, rect: POINTER(win32more.Windows.Foundation.Rect), hit: POINTER(Int32)) -> Void: ...
|
|
865
865
|
@winrt_mixinmethod
|
|
866
|
-
def GetText(self: win32more.Microsoft.UI.Text.ITextRange, options: win32more.Microsoft.UI.Text.TextGetOptions, value: POINTER(
|
|
866
|
+
def GetText(self: win32more.Microsoft.UI.Text.ITextRange, options: win32more.Microsoft.UI.Text.TextGetOptions, value: POINTER(hstr)) -> Void: ...
|
|
867
867
|
@winrt_mixinmethod
|
|
868
868
|
def GetTextViaStream(self: win32more.Microsoft.UI.Text.ITextRange, options: win32more.Microsoft.UI.Text.TextGetOptions, value: win32more.Windows.Storage.Streams.IRandomAccessStream) -> Void: ...
|
|
869
869
|
@winrt_mixinmethod
|
|
870
870
|
def InRange(self: win32more.Microsoft.UI.Text.ITextRange, range: win32more.Microsoft.UI.Text.ITextRange) -> Boolean: ...
|
|
871
871
|
@winrt_mixinmethod
|
|
872
|
-
def InsertImage(self: win32more.Microsoft.UI.Text.ITextRange, width: Int32, height: Int32, ascent: Int32, verticalAlign: win32more.Microsoft.UI.Text.VerticalCharacterAlignment, alternateText:
|
|
872
|
+
def InsertImage(self: win32more.Microsoft.UI.Text.ITextRange, width: Int32, height: Int32, ascent: Int32, verticalAlign: win32more.Microsoft.UI.Text.VerticalCharacterAlignment, alternateText: hstr, value: win32more.Windows.Storage.Streams.IRandomAccessStream) -> Void: ...
|
|
873
873
|
@winrt_mixinmethod
|
|
874
874
|
def InStory(self: win32more.Microsoft.UI.Text.ITextRange, range: win32more.Microsoft.UI.Text.ITextRange) -> Boolean: ...
|
|
875
875
|
@winrt_mixinmethod
|
|
@@ -893,7 +893,7 @@ class RichEditTextRange(ComPtr):
|
|
|
893
893
|
@winrt_mixinmethod
|
|
894
894
|
def SetRange(self: win32more.Microsoft.UI.Text.ITextRange, startPosition: Int32, endPosition: Int32) -> Void: ...
|
|
895
895
|
@winrt_mixinmethod
|
|
896
|
-
def SetText(self: win32more.Microsoft.UI.Text.ITextRange, options: win32more.Microsoft.UI.Text.TextSetOptions, value:
|
|
896
|
+
def SetText(self: win32more.Microsoft.UI.Text.ITextRange, options: win32more.Microsoft.UI.Text.TextSetOptions, value: hstr) -> Void: ...
|
|
897
897
|
@winrt_mixinmethod
|
|
898
898
|
def SetTextViaStream(self: win32more.Microsoft.UI.Text.ITextRange, options: win32more.Microsoft.UI.Text.TextSetOptions, value: win32more.Windows.Storage.Streams.IRandomAccessStream) -> Void: ...
|
|
899
899
|
@winrt_mixinmethod
|