win32more-Microsoft.WindowsAppSDK 0.6.1.8.251003001__py2.py3-none-any.whl → 0.7.1.5.240311000__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.

Potentially problematic release.


This version of win32more-Microsoft.WindowsAppSDK might be problematic. Click here for more details.

Files changed (89) hide show
  1. win32more/Microsoft/Foundation/__init__.py +2 -2
  2. win32more/Microsoft/Graphics/DirectX/__init__.py +1 -1
  3. win32more/Microsoft/Graphics/Display/__init__.py +9 -9
  4. win32more/Microsoft/UI/Composition/Core/__init__.py +9 -9
  5. win32more/Microsoft/UI/Composition/Diagnostics/__init__.py +3 -3
  6. win32more/Microsoft/UI/Composition/Effects/__init__.py +11 -11
  7. win32more/Microsoft/UI/Composition/Interactions/__init__.py +95 -95
  8. win32more/Microsoft/UI/Composition/Scenes/__init__.py +81 -81
  9. win32more/Microsoft/UI/Composition/SystemBackdrops/__init__.py +41 -41
  10. win32more/Microsoft/UI/Composition/__init__.py +261 -261
  11. win32more/Microsoft/UI/Content/__init__.py +55 -696
  12. win32more/Microsoft/UI/Dispatching/__init__.py +15 -15
  13. win32more/Microsoft/UI/Input/DragDrop/__init__.py +13 -13
  14. win32more/Microsoft/UI/Input/Interop/__init__.py +1 -1
  15. win32more/Microsoft/UI/Input/__init__.py +150 -376
  16. win32more/Microsoft/UI/System/__init__.py +5 -5
  17. win32more/Microsoft/UI/Text/__init__.py +26 -47
  18. win32more/Microsoft/UI/Windowing/__init__.py +42 -125
  19. win32more/Microsoft/UI/Xaml/Automation/Peers/__init__.py +56 -78
  20. win32more/Microsoft/UI/Xaml/Automation/Provider/__init__.py +19 -19
  21. win32more/Microsoft/UI/Xaml/Automation/Text/__init__.py +1 -1
  22. win32more/Microsoft/UI/Xaml/Automation/__init__.py +41 -41
  23. win32more/Microsoft/UI/Xaml/Controls/AnimatedVisuals/__init__.py +17 -17
  24. win32more/Microsoft/UI/Xaml/Controls/Primitives/__init__.py +108 -107
  25. win32more/Microsoft/UI/Xaml/Controls/__init__.py +727 -1217
  26. win32more/Microsoft/UI/Xaml/Core/Direct/__init__.py +7 -0
  27. win32more/Microsoft/UI/Xaml/Data/__init__.py +31 -30
  28. win32more/Microsoft/UI/Xaml/Documents/__init__.py +38 -37
  29. win32more/Microsoft/UI/Xaml/Hosting/__init__.py +7 -7
  30. win32more/Microsoft/UI/Xaml/Input/__init__.py +38 -31
  31. win32more/Microsoft/UI/Xaml/Interop/__init__.py +3 -3
  32. win32more/Microsoft/UI/Xaml/Markup/__init__.py +19 -17
  33. win32more/Microsoft/UI/Xaml/Media/Animation/__init__.py +111 -109
  34. win32more/Microsoft/UI/Xaml/Media/Imaging/__init__.py +11 -11
  35. win32more/Microsoft/UI/Xaml/Media/Media3D/__init__.py +2 -1
  36. win32more/Microsoft/UI/Xaml/Media/__init__.py +34 -28
  37. win32more/Microsoft/UI/Xaml/Navigation/__init__.py +1 -1
  38. win32more/Microsoft/UI/Xaml/Printing/__init__.py +7 -7
  39. win32more/Microsoft/UI/Xaml/Resources/__init__.py +3 -3
  40. win32more/Microsoft/UI/Xaml/Shapes/__init__.py +1 -1
  41. win32more/Microsoft/UI/Xaml/XamlTypeInfo/__init__.py +2 -2
  42. win32more/Microsoft/UI/Xaml/__init__.py +192 -260
  43. win32more/Microsoft/UI/__init__.py +6 -11
  44. win32more/Microsoft/Web/WebView2/Core/__init__.py +4686 -0
  45. win32more/Microsoft/Windows/AppLifecycle/__init__.py +21 -21
  46. win32more/Microsoft/Windows/AppNotifications/Builder/__init__.py +100 -100
  47. win32more/Microsoft/Windows/AppNotifications/__init__.py +46 -46
  48. win32more/Microsoft/Windows/ApplicationModel/DynamicDependency/__init__.py +22 -21
  49. win32more/Microsoft/Windows/ApplicationModel/Resources/__init__.py +60 -60
  50. win32more/Microsoft/Windows/ApplicationModel/WindowsAppRuntime/__init__.py +1 -118
  51. win32more/Microsoft/Windows/Management/Deployment/__init__.py +83 -143
  52. win32more/Microsoft/Windows/PushNotifications/__init__.py +6 -5
  53. win32more/Microsoft/Windows/Security/AccessControl/__init__.py +7 -6
  54. win32more/Microsoft/Windows/System/Power/__init__.py +23 -12
  55. win32more/Microsoft/Windows/System/__init__.py +15 -15
  56. win32more/Microsoft/Windows/Widgets/Feeds/Providers/__init__.py +25 -292
  57. win32more/Microsoft/Windows/Widgets/Providers/__init__.py +49 -260
  58. win32more/Microsoft/Windows/Widgets/__init__.py +2 -2
  59. win32more/appsdk/versioninfo.py +2 -2
  60. win32more/dll/arm64/Microsoft.WindowsAppRuntime.Bootstrap.dll +0 -0
  61. win32more/dll/x64/Microsoft.WindowsAppRuntime.Bootstrap.dll +0 -0
  62. win32more/dll/x86/Microsoft.WindowsAppRuntime.Bootstrap.dll +0 -0
  63. win32more_microsoft_windowsappsdk-0.7.1.5.240311000.dist-info/METADATA +5 -0
  64. win32more_microsoft_windowsappsdk-0.7.1.5.240311000.dist-info/RECORD +66 -0
  65. {win32more_microsoft_windowsappsdk-0.6.1.8.251003001.dist-info → win32more_microsoft_windowsappsdk-0.7.1.5.240311000.dist-info}/licenses/LICENSE (Microsoft.WindowsAppSDK).txt +3 -5
  66. win32more/Microsoft/Graphics/Imaging/__init__.py +0 -77
  67. win32more/Microsoft/Security/Authentication/OAuth/__init__.py +0 -591
  68. win32more/Microsoft/Windows/AI/ContentSafety/__init__.py +0 -197
  69. win32more/Microsoft/Windows/AI/Foundation/__init__.py +0 -46
  70. win32more/Microsoft/Windows/AI/Imaging/__init__.py +0 -365
  71. win32more/Microsoft/Windows/AI/MachineLearning/__init__.py +0 -122
  72. win32more/Microsoft/Windows/AI/Text/__init__.py +0 -498
  73. win32more/Microsoft/Windows/AI/__init__.py +0 -49
  74. win32more/Microsoft/Windows/ApplicationModel/Background/UniversalBGTask/__init__.py +0 -27
  75. win32more/Microsoft/Windows/ApplicationModel/Background/__init__.py +0 -65
  76. win32more/Microsoft/Windows/BadgeNotifications/__init__.py +0 -53
  77. win32more/Microsoft/Windows/Foundation/__init__.py +0 -220
  78. win32more/Microsoft/Windows/Globalization/__init__.py +0 -38
  79. win32more/Microsoft/Windows/Media/Capture/__init__.py +0 -196
  80. win32more/Microsoft/Windows/Storage/Pickers/__init__.py +0 -258
  81. win32more/Microsoft/Windows/Storage/__init__.py +0 -178
  82. win32more/Microsoft/Windows/Widgets/Notifications/__init__.py +0 -193
  83. win32more/Microsoft/Windows/Workloads/__init__.py +0 -11
  84. win32more/dll/arm64/Microsoft.Windows.ApplicationModel.Background.UniversalBGTask.dll +0 -0
  85. win32more/dll/x64/Microsoft.Windows.ApplicationModel.Background.UniversalBGTask.dll +0 -0
  86. win32more/dll/x86/Microsoft.Windows.ApplicationModel.Background.UniversalBGTask.dll +0 -0
  87. win32more_microsoft_windowsappsdk-0.6.1.8.251003001.dist-info/METADATA +0 -6
  88. win32more_microsoft_windowsappsdk-0.6.1.8.251003001.dist-info/RECORD +0 -85
  89. {win32more_microsoft_windowsappsdk-0.6.1.8.251003001.dist-info → win32more_microsoft_windowsappsdk-0.7.1.5.240311000.dist-info}/WHEEL +0 -0
@@ -1,5 +1,5 @@
1
1
  from __future__ import annotations
2
- from win32more.winrt.prelude import *
2
+ from win32more._prelude import *
3
3
  import win32more.Microsoft.UI.Input
4
4
  import win32more.Microsoft.UI.Xaml
5
5
  import win32more.Microsoft.UI.Xaml.Controls
@@ -35,7 +35,7 @@ class AccessKeyDisplayRequestedEventArgs(ComPtr):
35
35
  @winrt_activatemethod
36
36
  def CreateInstance(cls) -> win32more.Microsoft.UI.Xaml.Input.AccessKeyDisplayRequestedEventArgs: ...
37
37
  @winrt_mixinmethod
38
- def get_PressedKeys(self: win32more.Microsoft.UI.Xaml.Input.IAccessKeyDisplayRequestedEventArgs) -> WinRT_String: ...
38
+ def get_PressedKeys(self: win32more.Microsoft.UI.Xaml.Input.IAccessKeyDisplayRequestedEventArgs) -> hstr: ...
39
39
  PressedKeys = property(get_PressedKeys, None)
40
40
  class AccessKeyInvokedEventArgs(ComPtr):
41
41
  extends: IInspectable
@@ -77,6 +77,7 @@ class AccessKeyManager(ComPtr, metaclass=_AccessKeyManager_Meta_):
77
77
  def ExitDisplayMode(cls: win32more.Microsoft.UI.Xaml.Input.IAccessKeyManagerStatics) -> Void: ...
78
78
  _AccessKeyManager_Meta_.AreKeyTipsEnabled = property(get_AreKeyTipsEnabled, put_AreKeyTipsEnabled)
79
79
  _AccessKeyManager_Meta_.IsDisplayModeEnabled = property(get_IsDisplayModeEnabled, None)
80
+ _AccessKeyManager_Meta_.IsDisplayModeEnabledChanged = event(add_IsDisplayModeEnabledChanged, remove_IsDisplayModeEnabledChanged)
80
81
  class CanExecuteRequestedEventArgs(ComPtr):
81
82
  extends: IInspectable
82
83
  default_interface: win32more.Microsoft.UI.Xaml.Input.ICanExecuteRequestedEventArgs
@@ -199,7 +200,9 @@ class FocusInputDeviceKind(Enum, Int32):
199
200
  Pen = 3
200
201
  Keyboard = 4
201
202
  GameController = 5
202
- class FocusManager(ComPtr):
203
+ class _FocusManager_Meta_(ComPtr.__class__):
204
+ pass
205
+ class FocusManager(ComPtr, metaclass=_FocusManager_Meta_):
203
206
  extends: IInspectable
204
207
  default_interface: win32more.Microsoft.UI.Xaml.Input.IFocusManager
205
208
  _classid_ = 'Microsoft.UI.Xaml.Input.FocusManager'
@@ -245,6 +248,10 @@ class FocusManager(ComPtr):
245
248
  def GetFocusedElement(cls: win32more.Microsoft.UI.Xaml.Input.IFocusManagerStatics) -> IInspectable: ...
246
249
  @winrt_classmethod
247
250
  def GetFocusedElementWithRoot(cls: win32more.Microsoft.UI.Xaml.Input.IFocusManagerStatics, xamlRoot: win32more.Microsoft.UI.Xaml.XamlRoot) -> IInspectable: ...
251
+ _FocusManager_Meta_.GettingFocus = event(add_GettingFocus, remove_GettingFocus)
252
+ _FocusManager_Meta_.GotFocus = event(add_GotFocus, remove_GotFocus)
253
+ _FocusManager_Meta_.LosingFocus = event(add_LosingFocus, remove_LosingFocus)
254
+ _FocusManager_Meta_.LostFocus = event(add_LostFocus, remove_LostFocus)
248
255
  class FocusManagerGotFocusEventArgs(ComPtr):
249
256
  extends: IInspectable
250
257
  default_interface: win32more.Microsoft.UI.Xaml.Input.IFocusManagerGotFocusEventArgs
@@ -358,7 +365,7 @@ class IAccessKeyDisplayRequestedEventArgs(ComPtr):
358
365
  _classid_ = 'Microsoft.UI.Xaml.Input.IAccessKeyDisplayRequestedEventArgs'
359
366
  _iid_ = Guid('{c4ed84d8-2b27-59b1-9cf0-7f9164de58cb}')
360
367
  @winrt_commethod(6)
361
- def get_PressedKeys(self) -> WinRT_String: ...
368
+ def get_PressedKeys(self) -> hstr: ...
362
369
  PressedKeys = property(get_PressedKeys, None)
363
370
  class IAccessKeyInvokedEventArgs(ComPtr):
364
371
  extends: IInspectable
@@ -391,7 +398,7 @@ class IAccessKeyManagerStatics(ComPtr):
391
398
  def ExitDisplayMode(self) -> Void: ...
392
399
  AreKeyTipsEnabled = property(get_AreKeyTipsEnabled, put_AreKeyTipsEnabled)
393
400
  IsDisplayModeEnabled = property(get_IsDisplayModeEnabled, None)
394
- IsDisplayModeEnabledChanged = event()
401
+ IsDisplayModeEnabledChanged = event(add_IsDisplayModeEnabledChanged, remove_IsDisplayModeEnabledChanged)
395
402
  class IAccessKeyManagerStatics2(ComPtr):
396
403
  extends: IInspectable
397
404
  _classid_ = 'Microsoft.UI.Xaml.Input.IAccessKeyManagerStatics2'
@@ -437,7 +444,7 @@ class ICommand(ComPtr):
437
444
  def CanExecute(self, parameter: IInspectable) -> Boolean: ...
438
445
  @winrt_commethod(9)
439
446
  def Execute(self, parameter: IInspectable) -> Void: ...
440
- CanExecuteChanged = event()
447
+ CanExecuteChanged = event(add_CanExecuteChanged, remove_CanExecuteChanged)
441
448
  class IContextRequestedEventArgs(ComPtr):
442
449
  extends: IInspectable
443
450
  _classid_ = 'Microsoft.UI.Xaml.Input.IContextRequestedEventArgs'
@@ -564,10 +571,10 @@ class IFocusManagerStatics(ComPtr):
564
571
  def GetFocusedElement(self) -> IInspectable: ...
565
572
  @winrt_commethod(26)
566
573
  def GetFocusedElementWithRoot(self, xamlRoot: win32more.Microsoft.UI.Xaml.XamlRoot) -> IInspectable: ...
567
- GotFocus = event()
568
- LostFocus = event()
569
- GettingFocus = event()
570
- LosingFocus = event()
574
+ GettingFocus = event(add_GettingFocus, remove_GettingFocus)
575
+ GotFocus = event(add_GotFocus, remove_GotFocus)
576
+ LosingFocus = event(add_LosingFocus, remove_LosingFocus)
577
+ LostFocus = event(add_LostFocus, remove_LostFocus)
571
578
  class IFocusMovementResult(ComPtr):
572
579
  extends: IInspectable
573
580
  _classid_ = 'Microsoft.UI.Xaml.Input.IFocusMovementResult'
@@ -709,7 +716,7 @@ class IKeyRoutedEventArgs(ComPtr):
709
716
  @winrt_commethod(10)
710
717
  def get_OriginalKey(self) -> win32more.Windows.System.VirtualKey: ...
711
718
  @winrt_commethod(11)
712
- def get_DeviceId(self) -> WinRT_String: ...
719
+ def get_DeviceId(self) -> hstr: ...
713
720
  DeviceId = property(get_DeviceId, None)
714
721
  Handled = property(get_Handled, put_Handled)
715
722
  Key = property(get_Key, None)
@@ -743,7 +750,7 @@ class IKeyboardAccelerator(ComPtr):
743
750
  Key = property(get_Key, put_Key)
744
751
  Modifiers = property(get_Modifiers, put_Modifiers)
745
752
  ScopeOwner = property(get_ScopeOwner, put_ScopeOwner)
746
- Invoked = event()
753
+ Invoked = event(add_Invoked, remove_Invoked)
747
754
  class IKeyboardAcceleratorFactory(ComPtr):
748
755
  extends: IInspectable
749
756
  _classid_ = 'Microsoft.UI.Xaml.Input.IKeyboardAcceleratorFactory'
@@ -1115,9 +1122,9 @@ class IXamlUICommand(ComPtr):
1115
1122
  _classid_ = 'Microsoft.UI.Xaml.Input.IXamlUICommand'
1116
1123
  _iid_ = Guid('{a457f2cb-51e0-541c-9c42-dd1dcbdf58fb}')
1117
1124
  @winrt_commethod(6)
1118
- def get_Label(self) -> WinRT_String: ...
1125
+ def get_Label(self) -> hstr: ...
1119
1126
  @winrt_commethod(7)
1120
- def put_Label(self, value: WinRT_String) -> Void: ...
1127
+ def put_Label(self, value: hstr) -> Void: ...
1121
1128
  @winrt_commethod(8)
1122
1129
  def get_IconSource(self) -> win32more.Microsoft.UI.Xaml.Controls.IconSource: ...
1123
1130
  @winrt_commethod(9)
@@ -1125,13 +1132,13 @@ class IXamlUICommand(ComPtr):
1125
1132
  @winrt_commethod(10)
1126
1133
  def get_KeyboardAccelerators(self) -> win32more.Windows.Foundation.Collections.IVector[win32more.Microsoft.UI.Xaml.Input.KeyboardAccelerator]: ...
1127
1134
  @winrt_commethod(11)
1128
- def get_AccessKey(self) -> WinRT_String: ...
1135
+ def get_AccessKey(self) -> hstr: ...
1129
1136
  @winrt_commethod(12)
1130
- def put_AccessKey(self, value: WinRT_String) -> Void: ...
1137
+ def put_AccessKey(self, value: hstr) -> Void: ...
1131
1138
  @winrt_commethod(13)
1132
- def get_Description(self) -> WinRT_String: ...
1139
+ def get_Description(self) -> hstr: ...
1133
1140
  @winrt_commethod(14)
1134
- def put_Description(self, value: WinRT_String) -> Void: ...
1141
+ def put_Description(self, value: hstr) -> Void: ...
1135
1142
  @winrt_commethod(15)
1136
1143
  def get_Command(self) -> win32more.Microsoft.UI.Xaml.Input.ICommand: ...
1137
1144
  @winrt_commethod(16)
@@ -1152,8 +1159,8 @@ class IXamlUICommand(ComPtr):
1152
1159
  IconSource = property(get_IconSource, put_IconSource)
1153
1160
  KeyboardAccelerators = property(get_KeyboardAccelerators, None)
1154
1161
  Label = property(get_Label, put_Label)
1155
- ExecuteRequested = event()
1156
- CanExecuteRequested = event()
1162
+ CanExecuteRequested = event(add_CanExecuteRequested, remove_CanExecuteRequested)
1163
+ ExecuteRequested = event(add_ExecuteRequested, remove_ExecuteRequested)
1157
1164
  class IXamlUICommandFactory(ComPtr):
1158
1165
  extends: IInspectable
1159
1166
  _classid_ = 'Microsoft.UI.Xaml.Input.IXamlUICommandFactory'
@@ -1328,7 +1335,7 @@ class KeyRoutedEventArgs(ComPtr):
1328
1335
  @winrt_mixinmethod
1329
1336
  def get_OriginalKey(self: win32more.Microsoft.UI.Xaml.Input.IKeyRoutedEventArgs) -> win32more.Windows.System.VirtualKey: ...
1330
1337
  @winrt_mixinmethod
1331
- def get_DeviceId(self: win32more.Microsoft.UI.Xaml.Input.IKeyRoutedEventArgs) -> WinRT_String: ...
1338
+ def get_DeviceId(self: win32more.Microsoft.UI.Xaml.Input.IKeyRoutedEventArgs) -> hstr: ...
1332
1339
  DeviceId = property(get_DeviceId, None)
1333
1340
  Handled = property(get_Handled, put_Handled)
1334
1341
  Key = property(get_Key, None)
@@ -1393,7 +1400,7 @@ class KeyboardAccelerator(ComPtr, metaclass=_KeyboardAccelerator_Meta_):
1393
1400
  _KeyboardAccelerator_Meta_.KeyProperty = property(get_KeyProperty, None)
1394
1401
  _KeyboardAccelerator_Meta_.ModifiersProperty = property(get_ModifiersProperty, None)
1395
1402
  _KeyboardAccelerator_Meta_.ScopeOwnerProperty = property(get_ScopeOwnerProperty, None)
1396
- Invoked = event()
1403
+ Invoked = event(add_Invoked, remove_Invoked)
1397
1404
  class KeyboardAcceleratorInvokedEventArgs(ComPtr):
1398
1405
  extends: IInspectable
1399
1406
  default_interface: win32more.Microsoft.UI.Xaml.Input.IKeyboardAcceleratorInvokedEventArgs
@@ -1914,9 +1921,9 @@ class XamlUICommand(ComPtr, metaclass=_XamlUICommand_Meta_):
1914
1921
  @winrt_factorymethod
1915
1922
  def CreateInstance(cls: win32more.Microsoft.UI.Xaml.Input.IXamlUICommandFactory, baseInterface: IInspectable, innerInterface: POINTER(IInspectable)) -> win32more.Microsoft.UI.Xaml.Input.XamlUICommand: ...
1916
1923
  @winrt_mixinmethod
1917
- def get_Label(self: win32more.Microsoft.UI.Xaml.Input.IXamlUICommand) -> WinRT_String: ...
1924
+ def get_Label(self: win32more.Microsoft.UI.Xaml.Input.IXamlUICommand) -> hstr: ...
1918
1925
  @winrt_mixinmethod
1919
- def put_Label(self: win32more.Microsoft.UI.Xaml.Input.IXamlUICommand, value: WinRT_String) -> Void: ...
1926
+ def put_Label(self: win32more.Microsoft.UI.Xaml.Input.IXamlUICommand, value: hstr) -> Void: ...
1920
1927
  @winrt_mixinmethod
1921
1928
  def get_IconSource(self: win32more.Microsoft.UI.Xaml.Input.IXamlUICommand) -> win32more.Microsoft.UI.Xaml.Controls.IconSource: ...
1922
1929
  @winrt_mixinmethod
@@ -1924,13 +1931,13 @@ class XamlUICommand(ComPtr, metaclass=_XamlUICommand_Meta_):
1924
1931
  @winrt_mixinmethod
1925
1932
  def get_KeyboardAccelerators(self: win32more.Microsoft.UI.Xaml.Input.IXamlUICommand) -> win32more.Windows.Foundation.Collections.IVector[win32more.Microsoft.UI.Xaml.Input.KeyboardAccelerator]: ...
1926
1933
  @winrt_mixinmethod
1927
- def get_AccessKey(self: win32more.Microsoft.UI.Xaml.Input.IXamlUICommand) -> WinRT_String: ...
1934
+ def get_AccessKey(self: win32more.Microsoft.UI.Xaml.Input.IXamlUICommand) -> hstr: ...
1928
1935
  @winrt_mixinmethod
1929
- def put_AccessKey(self: win32more.Microsoft.UI.Xaml.Input.IXamlUICommand, value: WinRT_String) -> Void: ...
1936
+ def put_AccessKey(self: win32more.Microsoft.UI.Xaml.Input.IXamlUICommand, value: hstr) -> Void: ...
1930
1937
  @winrt_mixinmethod
1931
- def get_Description(self: win32more.Microsoft.UI.Xaml.Input.IXamlUICommand) -> WinRT_String: ...
1938
+ def get_Description(self: win32more.Microsoft.UI.Xaml.Input.IXamlUICommand) -> hstr: ...
1932
1939
  @winrt_mixinmethod
1933
- def put_Description(self: win32more.Microsoft.UI.Xaml.Input.IXamlUICommand, value: WinRT_String) -> Void: ...
1940
+ def put_Description(self: win32more.Microsoft.UI.Xaml.Input.IXamlUICommand, value: hstr) -> Void: ...
1934
1941
  @winrt_mixinmethod
1935
1942
  def get_Command(self: win32more.Microsoft.UI.Xaml.Input.IXamlUICommand) -> win32more.Microsoft.UI.Xaml.Input.ICommand: ...
1936
1943
  @winrt_mixinmethod
@@ -1977,9 +1984,9 @@ class XamlUICommand(ComPtr, metaclass=_XamlUICommand_Meta_):
1977
1984
  _XamlUICommand_Meta_.IconSourceProperty = property(get_IconSourceProperty, None)
1978
1985
  _XamlUICommand_Meta_.KeyboardAcceleratorsProperty = property(get_KeyboardAcceleratorsProperty, None)
1979
1986
  _XamlUICommand_Meta_.LabelProperty = property(get_LabelProperty, None)
1980
- ExecuteRequested = event()
1981
- CanExecuteRequested = event()
1982
- CanExecuteChanged = event()
1987
+ CanExecuteChanged = event(add_CanExecuteChanged, remove_CanExecuteChanged)
1988
+ CanExecuteRequested = event(add_CanExecuteRequested, remove_CanExecuteRequested)
1989
+ ExecuteRequested = event(add_ExecuteRequested, remove_ExecuteRequested)
1983
1990
 
1984
1991
 
1985
1992
  make_ready(__name__)
@@ -1,5 +1,5 @@
1
1
  from __future__ import annotations
2
- from win32more.winrt.prelude import *
2
+ from win32more._prelude import *
3
3
  import win32more.Microsoft.UI.Xaml.Interop
4
4
  import win32more.Windows.Foundation
5
5
  class BindableVectorChangedEventHandler(MulticastDelegate):
@@ -33,7 +33,7 @@ class IBindableObservableVector(ComPtr):
33
33
  def add_VectorChanged(self, handler: win32more.Microsoft.UI.Xaml.Interop.BindableVectorChangedEventHandler) -> win32more.Windows.Foundation.EventRegistrationToken: ...
34
34
  @winrt_commethod(7)
35
35
  def remove_VectorChanged(self, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
36
- VectorChanged = event()
36
+ VectorChanged = event(add_VectorChanged, remove_VectorChanged)
37
37
  class IBindableVector(ComPtr):
38
38
  extends: IInspectable
39
39
  _classid_ = 'Microsoft.UI.Xaml.Interop.IBindableVector'
@@ -78,7 +78,7 @@ class INotifyCollectionChanged(ComPtr):
78
78
  def add_CollectionChanged(self, handler: win32more.Microsoft.UI.Xaml.Interop.NotifyCollectionChangedEventHandler) -> win32more.Windows.Foundation.EventRegistrationToken: ...
79
79
  @winrt_commethod(7)
80
80
  def remove_CollectionChanged(self, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
81
- CollectionChanged = event()
81
+ CollectionChanged = event(add_CollectionChanged, remove_CollectionChanged)
82
82
  class INotifyCollectionChangedEventArgs(ComPtr):
83
83
  extends: IInspectable
84
84
  _classid_ = 'Microsoft.UI.Xaml.Interop.INotifyCollectionChangedEventArgs'
@@ -1,5 +1,5 @@
1
1
  from __future__ import annotations
2
- from win32more.winrt.prelude import *
2
+ from win32more._prelude import *
3
3
  import win32more.Microsoft.UI.Xaml
4
4
  import win32more.Microsoft.UI.Xaml.Markup
5
5
  import win32more.Windows.Foundation
@@ -55,7 +55,7 @@ class IProvideValueTargetProperty(ComPtr):
55
55
  _classid_ = 'Microsoft.UI.Xaml.Markup.IProvideValueTargetProperty'
56
56
  _iid_ = Guid('{ce777b1f-b42e-59d1-870d-12fdf0629133}')
57
57
  @winrt_commethod(6)
58
- def get_Name(self) -> WinRT_String: ...
58
+ def get_Name(self) -> hstr: ...
59
59
  @winrt_commethod(7)
60
60
  def get_Type(self) -> win32more.Windows.UI.Xaml.Interop.TypeName: ...
61
61
  @winrt_commethod(8)
@@ -114,7 +114,7 @@ class IXamlBindingHelperStatics(ComPtr):
114
114
  @winrt_commethod(11)
115
115
  def ConvertValue(self, type: win32more.Windows.UI.Xaml.Interop.TypeName, value: IInspectable) -> IInspectable: ...
116
116
  @winrt_commethod(12)
117
- def SetPropertyFromString(self, dependencyObject: IInspectable, propertyToSet: win32more.Microsoft.UI.Xaml.DependencyProperty, value: WinRT_String) -> Void: ...
117
+ def SetPropertyFromString(self, dependencyObject: IInspectable, propertyToSet: win32more.Microsoft.UI.Xaml.DependencyProperty, value: hstr) -> Void: ...
118
118
  @winrt_commethod(13)
119
119
  def SetPropertyFromBoolean(self, dependencyObject: IInspectable, propertyToSet: win32more.Microsoft.UI.Xaml.DependencyProperty, value: Boolean) -> Void: ...
120
120
  @winrt_commethod(14)
@@ -169,7 +169,7 @@ class IXamlMember(ComPtr):
169
169
  @winrt_commethod(8)
170
170
  def get_IsReadOnly(self) -> Boolean: ...
171
171
  @winrt_commethod(9)
172
- def get_Name(self) -> WinRT_String: ...
172
+ def get_Name(self) -> hstr: ...
173
173
  @winrt_commethod(10)
174
174
  def get_TargetType(self) -> win32more.Microsoft.UI.Xaml.Markup.IXamlType: ...
175
175
  @winrt_commethod(11)
@@ -191,7 +191,7 @@ class IXamlMetadataProvider(ComPtr):
191
191
  @winrt_commethod(6)
192
192
  def GetXamlType(self, type: win32more.Windows.UI.Xaml.Interop.TypeName) -> win32more.Microsoft.UI.Xaml.Markup.IXamlType: ...
193
193
  @winrt_commethod(7)
194
- def GetXamlTypeByFullName(self, fullName: WinRT_String) -> win32more.Microsoft.UI.Xaml.Markup.IXamlType: ...
194
+ def GetXamlTypeByFullName(self, fullName: hstr) -> win32more.Microsoft.UI.Xaml.Markup.IXamlType: ...
195
195
  @winrt_commethod(8)
196
196
  def GetXmlnsDefinitions(self) -> ReceiveArray[win32more.Microsoft.UI.Xaml.Markup.XmlnsDefinition]: ...
197
197
  class IXamlReader(ComPtr):
@@ -203,9 +203,9 @@ class IXamlReaderStatics(ComPtr):
203
203
  _classid_ = 'Microsoft.UI.Xaml.Markup.IXamlReaderStatics'
204
204
  _iid_ = Guid('{82a4cd9e-435e-5aeb-8c4f-300cece45cae}')
205
205
  @winrt_commethod(6)
206
- def Load(self, xaml: WinRT_String) -> IInspectable: ...
206
+ def Load(self, xaml: hstr) -> IInspectable: ...
207
207
  @winrt_commethod(7)
208
- def LoadWithInitialTemplateValidation(self, xaml: WinRT_String) -> IInspectable: ...
208
+ def LoadWithInitialTemplateValidation(self, xaml: hstr) -> IInspectable: ...
209
209
  class IXamlType(ComPtr):
210
210
  extends: IInspectable
211
211
  _classid_ = 'Microsoft.UI.Xaml.Markup.IXamlType'
@@ -215,7 +215,7 @@ class IXamlType(ComPtr):
215
215
  @winrt_commethod(7)
216
216
  def get_ContentProperty(self) -> win32more.Microsoft.UI.Xaml.Markup.IXamlMember: ...
217
217
  @winrt_commethod(8)
218
- def get_FullName(self) -> WinRT_String: ...
218
+ def get_FullName(self) -> hstr: ...
219
219
  @winrt_commethod(9)
220
220
  def get_IsArray(self) -> Boolean: ...
221
221
  @winrt_commethod(10)
@@ -239,9 +239,9 @@ class IXamlType(ComPtr):
239
239
  @winrt_commethod(19)
240
240
  def ActivateInstance(self) -> IInspectable: ...
241
241
  @winrt_commethod(20)
242
- def CreateFromString(self, value: WinRT_String) -> IInspectable: ...
242
+ def CreateFromString(self, value: hstr) -> IInspectable: ...
243
243
  @winrt_commethod(21)
244
- def GetMember(self, name: WinRT_String) -> win32more.Microsoft.UI.Xaml.Markup.IXamlMember: ...
244
+ def GetMember(self, name: hstr) -> win32more.Microsoft.UI.Xaml.Markup.IXamlMember: ...
245
245
  @winrt_commethod(22)
246
246
  def AddToVector(self, instance: IInspectable, value: IInspectable) -> Void: ...
247
247
  @winrt_commethod(23)
@@ -266,7 +266,7 @@ class IXamlTypeResolver(ComPtr):
266
266
  _classid_ = 'Microsoft.UI.Xaml.Markup.IXamlTypeResolver'
267
267
  _iid_ = Guid('{3fa15615-cacf-547f-b1ed-89dae8c67452}')
268
268
  @winrt_commethod(6)
269
- def Resolve(self, qualifiedTypeName: WinRT_String) -> win32more.Windows.UI.Xaml.Interop.TypeName: ...
269
+ def Resolve(self, qualifiedTypeName: hstr) -> win32more.Windows.UI.Xaml.Interop.TypeName: ...
270
270
  class MarkupExtension(ComPtr):
271
271
  extends: IInspectable
272
272
  default_interface: win32more.Microsoft.UI.Xaml.Markup.IMarkupExtension
@@ -298,7 +298,7 @@ class ProvideValueTargetProperty(ComPtr):
298
298
  @winrt_activatemethod
299
299
  def CreateInstance(cls) -> win32more.Microsoft.UI.Xaml.Markup.ProvideValueTargetProperty: ...
300
300
  @winrt_mixinmethod
301
- def get_Name(self: win32more.Microsoft.UI.Xaml.Markup.IProvideValueTargetProperty) -> WinRT_String: ...
301
+ def get_Name(self: win32more.Microsoft.UI.Xaml.Markup.IProvideValueTargetProperty) -> hstr: ...
302
302
  @winrt_mixinmethod
303
303
  def get_Type(self: win32more.Microsoft.UI.Xaml.Markup.IProvideValueTargetProperty) -> win32more.Windows.UI.Xaml.Interop.TypeName: ...
304
304
  @winrt_mixinmethod
@@ -313,6 +313,7 @@ class XamlBinaryWriter(ComPtr):
313
313
  @winrt_classmethod
314
314
  def Write(cls: win32more.Microsoft.UI.Xaml.Markup.IXamlBinaryWriterStatics, inputStreams: win32more.Windows.Foundation.Collections.IVector[win32more.Windows.Storage.Streams.IRandomAccessStream], outputStreams: win32more.Windows.Foundation.Collections.IVector[win32more.Windows.Storage.Streams.IRandomAccessStream], xamlMetadataProvider: win32more.Microsoft.UI.Xaml.Markup.IXamlMetadataProvider) -> win32more.Microsoft.UI.Xaml.Markup.XamlBinaryWriterErrorInformation: ...
315
315
  class XamlBinaryWriterErrorInformation(Structure):
316
+ _name_ = 'Microsoft.UI.Xaml.Markup.XamlBinaryWriterErrorInformation'
316
317
  InputStreamIndex: UInt32
317
318
  LineNumber: UInt32
318
319
  LinePosition: UInt32
@@ -335,7 +336,7 @@ class XamlBindingHelper(ComPtr, metaclass=_XamlBindingHelper_Meta_):
335
336
  @winrt_classmethod
336
337
  def ConvertValue(cls: win32more.Microsoft.UI.Xaml.Markup.IXamlBindingHelperStatics, type: win32more.Windows.UI.Xaml.Interop.TypeName, value: IInspectable) -> IInspectable: ...
337
338
  @winrt_classmethod
338
- def SetPropertyFromString(cls: win32more.Microsoft.UI.Xaml.Markup.IXamlBindingHelperStatics, dependencyObject: IInspectable, propertyToSet: win32more.Microsoft.UI.Xaml.DependencyProperty, value: WinRT_String) -> Void: ...
339
+ def SetPropertyFromString(cls: win32more.Microsoft.UI.Xaml.Markup.IXamlBindingHelperStatics, dependencyObject: IInspectable, propertyToSet: win32more.Microsoft.UI.Xaml.DependencyProperty, value: hstr) -> Void: ...
339
340
  @winrt_classmethod
340
341
  def SetPropertyFromBoolean(cls: win32more.Microsoft.UI.Xaml.Markup.IXamlBindingHelperStatics, dependencyObject: IInspectable, propertyToSet: win32more.Microsoft.UI.Xaml.DependencyProperty, value: Boolean) -> Void: ...
341
342
  @winrt_classmethod
@@ -380,12 +381,13 @@ class XamlReader(ComPtr):
380
381
  default_interface: win32more.Microsoft.UI.Xaml.Markup.IXamlReader
381
382
  _classid_ = 'Microsoft.UI.Xaml.Markup.XamlReader'
382
383
  @winrt_classmethod
383
- def Load(cls: win32more.Microsoft.UI.Xaml.Markup.IXamlReaderStatics, xaml: WinRT_String) -> IInspectable: ...
384
+ def Load(cls: win32more.Microsoft.UI.Xaml.Markup.IXamlReaderStatics, xaml: hstr) -> IInspectable: ...
384
385
  @winrt_classmethod
385
- def LoadWithInitialTemplateValidation(cls: win32more.Microsoft.UI.Xaml.Markup.IXamlReaderStatics, xaml: WinRT_String) -> IInspectable: ...
386
+ def LoadWithInitialTemplateValidation(cls: win32more.Microsoft.UI.Xaml.Markup.IXamlReaderStatics, xaml: hstr) -> IInspectable: ...
386
387
  class XmlnsDefinition(Structure):
387
- XmlNamespace: WinRT_String
388
- Namespace: WinRT_String
388
+ _name_ = 'Microsoft.UI.Xaml.Markup.XmlnsDefinition'
389
+ XmlNamespace: hstr
390
+ Namespace: hstr
389
391
 
390
392
 
391
393
  make_ready(__name__)