win32more-Microsoft.WindowsAppSDK 0.7.1.5.241107002__py2.py3-none-any.whl → 0.7.1.6.240829007__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 (31) hide show
  1. win32more/Microsoft/Foundation/__init__.py +1 -1
  2. win32more/Microsoft/UI/Composition/Core/__init__.py +2 -2
  3. win32more/Microsoft/UI/Composition/Diagnostics/__init__.py +4 -4
  4. win32more/Microsoft/UI/Composition/Interactions/__init__.py +5 -5
  5. win32more/Microsoft/UI/Composition/Scenes/__init__.py +61 -61
  6. win32more/Microsoft/UI/Composition/SystemBackdrops/__init__.py +32 -32
  7. win32more/Microsoft/UI/Composition/__init__.py +103 -103
  8. win32more/Microsoft/UI/Content/__init__.py +39 -39
  9. win32more/Microsoft/UI/Dispatching/__init__.py +6 -6
  10. win32more/Microsoft/UI/Input/DragDrop/__init__.py +10 -10
  11. win32more/Microsoft/UI/Input/__init__.py +288 -66
  12. win32more/Microsoft/UI/Windowing/__init__.py +5 -5
  13. win32more/Microsoft/UI/Xaml/Automation/Peers/__init__.py +23 -0
  14. win32more/Microsoft/UI/Xaml/Controls/__init__.py +219 -3
  15. win32more/Microsoft/UI/Xaml/__init__.py +12 -2
  16. win32more/Microsoft/UI/__init__.py +8 -0
  17. win32more/Microsoft/Windows/ApplicationModel/Resources/__init__.py +1 -1
  18. win32more/Microsoft/Windows/Globalization/__init__.py +38 -0
  19. win32more/Microsoft/Windows/Management/Deployment/__init__.py +62 -1
  20. win32more/Microsoft/Windows/Storage/__init__.py +178 -0
  21. win32more/Microsoft/Windows/Widgets/__init__.py +1 -1
  22. win32more/appsdk/versioninfo.py +2 -2
  23. win32more/dll/arm64/Microsoft.WindowsAppRuntime.Bootstrap.dll +0 -0
  24. win32more/dll/x64/Microsoft.WindowsAppRuntime.Bootstrap.dll +0 -0
  25. win32more/dll/x86/Microsoft.WindowsAppRuntime.Bootstrap.dll +0 -0
  26. {win32more_microsoft_windowsappsdk-0.7.1.5.241107002.dist-info → win32more_microsoft_windowsappsdk-0.7.1.6.240829007.dist-info}/METADATA +2 -1
  27. {win32more_microsoft_windowsappsdk-0.7.1.5.241107002.dist-info → win32more_microsoft_windowsappsdk-0.7.1.6.240829007.dist-info}/RECORD +29 -29
  28. win32more/Microsoft/UI/Xaml/Core/Direct/__init__.py +0 -7
  29. win32more/Microsoft/Web/WebView2/Core/__init__.py +0 -4686
  30. {win32more_microsoft_windowsappsdk-0.7.1.5.241107002.dist-info → win32more_microsoft_windowsappsdk-0.7.1.6.240829007.dist-info}/WHEEL +0 -0
  31. {win32more_microsoft_windowsappsdk-0.7.1.5.241107002.dist-info → win32more_microsoft_windowsappsdk-0.7.1.6.240829007.dist-info}/licenses/LICENSE (Microsoft.WindowsAppSDK).txt +0 -0
@@ -12,7 +12,7 @@ class AppWindow(ComPtr):
12
12
  default_interface: win32more.Microsoft.UI.Windowing.IAppWindow
13
13
  _classid_ = 'Microsoft.UI.Windowing.AppWindow'
14
14
  @winrt_mixinmethod
15
- def add_Closing(self: win32more.Microsoft.UI.Windowing.IAppWindow, handler: win32more.Windows.Foundation.TypedEventHandler[win32more.Microsoft.UI.Windowing.AppWindow, win32more.Microsoft.UI.Windowing.AppWindowClosingEventArgs]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
15
+ def ShowWithActivation(self: win32more.Microsoft.UI.Windowing.IAppWindow, activateWindow: Boolean) -> Void: ...
16
16
  @winrt_mixinmethod
17
17
  def get_IsShownInSwitchers(self: win32more.Microsoft.UI.Windowing.IAppWindow) -> Boolean: ...
18
18
  @winrt_mixinmethod
@@ -32,9 +32,9 @@ class AppWindow(ComPtr):
32
32
  @winrt_mixinmethod
33
33
  def put_Title(self: win32more.Microsoft.UI.Windowing.IAppWindow, value: hstr) -> Void: ...
34
34
  @winrt_mixinmethod
35
- def get_Id(self: win32more.Microsoft.UI.Windowing.IAppWindow) -> win32more.Microsoft.UI.WindowId: ...
35
+ def get_TitleBar(self: win32more.Microsoft.UI.Windowing.IAppWindow) -> win32more.Microsoft.UI.Windowing.AppWindowTitleBar: ...
36
36
  @winrt_mixinmethod
37
- def Destroy(self: win32more.Microsoft.UI.Windowing.IAppWindow) -> Void: ...
37
+ def get_Id(self: win32more.Microsoft.UI.Windowing.IAppWindow) -> win32more.Microsoft.UI.WindowId: ...
38
38
  @winrt_mixinmethod
39
39
  def Hide(self: win32more.Microsoft.UI.Windowing.IAppWindow) -> Void: ...
40
40
  @winrt_mixinmethod
@@ -56,13 +56,13 @@ class AppWindow(ComPtr):
56
56
  @winrt_mixinmethod
57
57
  def Show(self: win32more.Microsoft.UI.Windowing.IAppWindow) -> Void: ...
58
58
  @winrt_mixinmethod
59
- def ShowWithActivation(self: win32more.Microsoft.UI.Windowing.IAppWindow, activateWindow: Boolean) -> Void: ...
59
+ def Destroy(self: win32more.Microsoft.UI.Windowing.IAppWindow) -> Void: ...
60
60
  @winrt_mixinmethod
61
61
  def add_Changed(self: win32more.Microsoft.UI.Windowing.IAppWindow, handler: win32more.Windows.Foundation.TypedEventHandler[win32more.Microsoft.UI.Windowing.AppWindow, win32more.Microsoft.UI.Windowing.AppWindowChangedEventArgs]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
62
62
  @winrt_mixinmethod
63
63
  def remove_Changed(self: win32more.Microsoft.UI.Windowing.IAppWindow, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
64
64
  @winrt_mixinmethod
65
- def get_TitleBar(self: win32more.Microsoft.UI.Windowing.IAppWindow) -> win32more.Microsoft.UI.Windowing.AppWindowTitleBar: ...
65
+ def add_Closing(self: win32more.Microsoft.UI.Windowing.IAppWindow, handler: win32more.Windows.Foundation.TypedEventHandler[win32more.Microsoft.UI.Windowing.AppWindow, win32more.Microsoft.UI.Windowing.AppWindowClosingEventArgs]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
66
66
  @winrt_mixinmethod
67
67
  def remove_Closing(self: win32more.Microsoft.UI.Windowing.IAppWindow, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
68
68
  @winrt_mixinmethod
@@ -1982,6 +1982,16 @@ class IScrollBarAutomationPeerFactory(ComPtr):
1982
1982
  _iid_ = Guid('{fc67a9cc-e914-532a-8717-0b383e2157f3}')
1983
1983
  @winrt_commethod(6)
1984
1984
  def CreateInstanceWithOwner(self, owner: win32more.Microsoft.UI.Xaml.Controls.Primitives.ScrollBar, baseInterface: IInspectable, innerInterface: POINTER(IInspectable)) -> win32more.Microsoft.UI.Xaml.Automation.Peers.ScrollBarAutomationPeer: ...
1985
+ class IScrollPresenterAutomationPeer(ComPtr):
1986
+ extends: IInspectable
1987
+ _classid_ = 'Microsoft.UI.Xaml.Automation.Peers.IScrollPresenterAutomationPeer'
1988
+ _iid_ = Guid('{995a6964-607f-5d95-bdf9-1870a5e82a0c}')
1989
+ class IScrollPresenterAutomationPeerFactory(ComPtr):
1990
+ extends: IInspectable
1991
+ _classid_ = 'Microsoft.UI.Xaml.Automation.Peers.IScrollPresenterAutomationPeerFactory'
1992
+ _iid_ = Guid('{47e29168-5e30-5abc-b844-7d89b5c3eec0}')
1993
+ @winrt_commethod(6)
1994
+ def CreateInstance(self, owner: win32more.Microsoft.UI.Xaml.Controls.Primitives.ScrollPresenter, baseInterface: IInspectable, innerInterface: POINTER(IInspectable)) -> win32more.Microsoft.UI.Xaml.Automation.Peers.ScrollPresenterAutomationPeer: ...
1985
1995
  class IScrollViewerAutomationPeer(ComPtr):
1986
1996
  extends: IInspectable
1987
1997
  _classid_ = 'Microsoft.UI.Xaml.Automation.Peers.IScrollViewerAutomationPeer'
@@ -3023,6 +3033,19 @@ class ScrollBarAutomationPeer(ComPtr):
3023
3033
  raise ValueError('no matched constructor')
3024
3034
  @winrt_factorymethod
3025
3035
  def CreateInstanceWithOwner(cls: win32more.Microsoft.UI.Xaml.Automation.Peers.IScrollBarAutomationPeerFactory, owner: win32more.Microsoft.UI.Xaml.Controls.Primitives.ScrollBar, baseInterface: IInspectable, innerInterface: POINTER(IInspectable)) -> win32more.Microsoft.UI.Xaml.Automation.Peers.ScrollBarAutomationPeer: ...
3036
+ class ScrollPresenterAutomationPeer(ComPtr):
3037
+ extends: win32more.Microsoft.UI.Xaml.Automation.Peers.FrameworkElementAutomationPeer
3038
+ default_interface: win32more.Microsoft.UI.Xaml.Automation.Peers.IScrollPresenterAutomationPeer
3039
+ _classid_ = 'Microsoft.UI.Xaml.Automation.Peers.ScrollPresenterAutomationPeer'
3040
+ def __init__(self, *args, **kwargs):
3041
+ if kwargs:
3042
+ super().__init__(**kwargs)
3043
+ elif len(args) == 1:
3044
+ super().__init__(move=win32more.Microsoft.UI.Xaml.Automation.Peers.ScrollPresenterAutomationPeer.CreateInstance(*args, None, None))
3045
+ else:
3046
+ raise ValueError('no matched constructor')
3047
+ @winrt_factorymethod
3048
+ def CreateInstance(cls: win32more.Microsoft.UI.Xaml.Automation.Peers.IScrollPresenterAutomationPeerFactory, owner: win32more.Microsoft.UI.Xaml.Controls.Primitives.ScrollPresenter, baseInterface: IInspectable, innerInterface: POINTER(IInspectable)) -> win32more.Microsoft.UI.Xaml.Automation.Peers.ScrollPresenterAutomationPeer: ...
3026
3049
  class ScrollViewerAutomationPeer(ComPtr):
3027
3050
  extends: win32more.Microsoft.UI.Xaml.Automation.Peers.FrameworkElementAutomationPeer
3028
3051
  default_interface: win32more.Microsoft.UI.Xaml.Automation.Peers.IScrollViewerAutomationPeer
@@ -1,5 +1,6 @@
1
1
  from __future__ import annotations
2
2
  from win32more._prelude import *
3
+ import win32more.Microsoft.UI
3
4
  import win32more.Microsoft.UI.Composition
4
5
  import win32more.Microsoft.UI.Input
5
6
  import win32more.Microsoft.UI.Text
@@ -10714,6 +10715,12 @@ class IItemsWrapGrid(ComPtr):
10714
10715
  MaximumRowsOrColumns = property(get_MaximumRowsOrColumns, put_MaximumRowsOrColumns)
10715
10716
  Orientation = property(get_Orientation, put_Orientation)
10716
10717
  ScrollingDirection = property(get_ScrollingDirection, None)
10718
+ class IItemsWrapGridFactory(ComPtr):
10719
+ extends: IInspectable
10720
+ _classid_ = 'Microsoft.UI.Xaml.Controls.IItemsWrapGridFactory'
10721
+ _iid_ = Guid('{c2f96d8c-3a18-552e-b970-6c575652e92d}')
10722
+ @winrt_commethod(6)
10723
+ def CreateInstance(self, baseInterface: IInspectable, innerInterface: POINTER(IInspectable)) -> win32more.Microsoft.UI.Xaml.Controls.ItemsWrapGrid: ...
10717
10724
  class IItemsWrapGridStatics(ComPtr):
10718
10725
  extends: IInspectable
10719
10726
  _classid_ = 'Microsoft.UI.Xaml.Controls.IItemsWrapGridStatics'
@@ -13615,6 +13622,15 @@ class IPipsPager(ComPtr):
13615
13622
  SelectedPipStyle = property(get_SelectedPipStyle, put_SelectedPipStyle)
13616
13623
  TemplateSettings = property(get_TemplateSettings, None)
13617
13624
  SelectedIndexChanged = event(add_SelectedIndexChanged, remove_SelectedIndexChanged)
13625
+ class IPipsPager2(ComPtr):
13626
+ extends: IInspectable
13627
+ _classid_ = 'Microsoft.UI.Xaml.Controls.IPipsPager2'
13628
+ _iid_ = Guid('{2ed8334b-4f00-5606-9f72-e6f7300746a0}')
13629
+ @winrt_commethod(6)
13630
+ def get_WrapMode(self) -> win32more.Microsoft.UI.Xaml.Controls.PipsPagerWrapMode: ...
13631
+ @winrt_commethod(7)
13632
+ def put_WrapMode(self, value: win32more.Microsoft.UI.Xaml.Controls.PipsPagerWrapMode) -> Void: ...
13633
+ WrapMode = property(get_WrapMode, put_WrapMode)
13618
13634
  class IPipsPagerFactory(ComPtr):
13619
13635
  extends: IInspectable
13620
13636
  _classid_ = 'Microsoft.UI.Xaml.Controls.IPipsPagerFactory'
@@ -13659,6 +13675,13 @@ class IPipsPagerStatics(ComPtr):
13659
13675
  PreviousButtonVisibilityProperty = property(get_PreviousButtonVisibilityProperty, None)
13660
13676
  SelectedPageIndexProperty = property(get_SelectedPageIndexProperty, None)
13661
13677
  SelectedPipStyleProperty = property(get_SelectedPipStyleProperty, None)
13678
+ class IPipsPagerStatics2(ComPtr):
13679
+ extends: IInspectable
13680
+ _classid_ = 'Microsoft.UI.Xaml.Controls.IPipsPagerStatics2'
13681
+ _iid_ = Guid('{00143f5f-ef77-54a9-9bf3-5dae3799e4a4}')
13682
+ @winrt_commethod(6)
13683
+ def get_WrapModeProperty(self) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
13684
+ WrapModeProperty = property(get_WrapModeProperty, None)
13662
13685
  class IPipsPagerTemplateSettings(ComPtr):
13663
13686
  extends: IInspectable
13664
13687
  _classid_ = 'Microsoft.UI.Xaml.Controls.IPipsPagerTemplateSettings'
@@ -17258,6 +17281,66 @@ class ITabView(ComPtr):
17258
17281
  TabItemsChanged = event(add_TabItemsChanged, remove_TabItemsChanged)
17259
17282
  TabStripDragOver = event(add_TabStripDragOver, remove_TabStripDragOver)
17260
17283
  TabStripDrop = event(add_TabStripDrop, remove_TabStripDrop)
17284
+ class ITabView2(ComPtr):
17285
+ extends: IInspectable
17286
+ _classid_ = 'Microsoft.UI.Xaml.Controls.ITabView2'
17287
+ _iid_ = Guid('{deaa552e-4e6c-5239-ac75-d9419a2309da}')
17288
+ @winrt_commethod(6)
17289
+ def get_CanTearOutTabs(self) -> Boolean: ...
17290
+ @winrt_commethod(7)
17291
+ def put_CanTearOutTabs(self, value: Boolean) -> Void: ...
17292
+ @winrt_commethod(8)
17293
+ def add_TabTearOutWindowRequested(self, handler: win32more.Windows.Foundation.TypedEventHandler[win32more.Microsoft.UI.Xaml.Controls.TabView, win32more.Microsoft.UI.Xaml.Controls.TabViewTabTearOutWindowRequestedEventArgs]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
17294
+ @winrt_commethod(9)
17295
+ def remove_TabTearOutWindowRequested(self, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
17296
+ @winrt_commethod(10)
17297
+ def add_TabTearOutRequested(self, handler: win32more.Windows.Foundation.TypedEventHandler[win32more.Microsoft.UI.Xaml.Controls.TabView, win32more.Microsoft.UI.Xaml.Controls.TabViewTabTearOutRequestedEventArgs]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
17298
+ @winrt_commethod(11)
17299
+ def remove_TabTearOutRequested(self, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
17300
+ @winrt_commethod(12)
17301
+ def add_ExternalTornOutTabsDropping(self, handler: win32more.Windows.Foundation.TypedEventHandler[win32more.Microsoft.UI.Xaml.Controls.TabView, win32more.Microsoft.UI.Xaml.Controls.TabViewExternalTornOutTabsDroppingEventArgs]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
17302
+ @winrt_commethod(13)
17303
+ def remove_ExternalTornOutTabsDropping(self, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
17304
+ @winrt_commethod(14)
17305
+ def add_ExternalTornOutTabsDropped(self, handler: win32more.Windows.Foundation.TypedEventHandler[win32more.Microsoft.UI.Xaml.Controls.TabView, win32more.Microsoft.UI.Xaml.Controls.TabViewExternalTornOutTabsDroppedEventArgs]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
17306
+ @winrt_commethod(15)
17307
+ def remove_ExternalTornOutTabsDropped(self, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
17308
+ CanTearOutTabs = property(get_CanTearOutTabs, put_CanTearOutTabs)
17309
+ ExternalTornOutTabsDropped = event(add_ExternalTornOutTabsDropped, remove_ExternalTornOutTabsDropped)
17310
+ ExternalTornOutTabsDropping = event(add_ExternalTornOutTabsDropping, remove_ExternalTornOutTabsDropping)
17311
+ TabTearOutRequested = event(add_TabTearOutRequested, remove_TabTearOutRequested)
17312
+ TabTearOutWindowRequested = event(add_TabTearOutWindowRequested, remove_TabTearOutWindowRequested)
17313
+ class ITabViewExternalTornOutTabsDroppedEventArgs(ComPtr):
17314
+ extends: IInspectable
17315
+ _classid_ = 'Microsoft.UI.Xaml.Controls.ITabViewExternalTornOutTabsDroppedEventArgs'
17316
+ _iid_ = Guid('{69912428-34d9-5aac-85b7-a91d71c133aa}')
17317
+ @winrt_commethod(6)
17318
+ def get_Items(self) -> ReceiveArray[IInspectable]: ...
17319
+ @winrt_commethod(7)
17320
+ def get_Tabs(self) -> ReceiveArray[win32more.Microsoft.UI.Xaml.UIElement]: ...
17321
+ @winrt_commethod(8)
17322
+ def get_DropIndex(self) -> Int32: ...
17323
+ DropIndex = property(get_DropIndex, None)
17324
+ Items = property(get_Items, None)
17325
+ Tabs = property(get_Tabs, None)
17326
+ class ITabViewExternalTornOutTabsDroppingEventArgs(ComPtr):
17327
+ extends: IInspectable
17328
+ _classid_ = 'Microsoft.UI.Xaml.Controls.ITabViewExternalTornOutTabsDroppingEventArgs'
17329
+ _iid_ = Guid('{b2378908-c5d7-560e-a2e2-46403e13e5ad}')
17330
+ @winrt_commethod(6)
17331
+ def get_Items(self) -> ReceiveArray[IInspectable]: ...
17332
+ @winrt_commethod(7)
17333
+ def get_Tabs(self) -> ReceiveArray[win32more.Microsoft.UI.Xaml.UIElement]: ...
17334
+ @winrt_commethod(8)
17335
+ def get_DropIndex(self) -> Int32: ...
17336
+ @winrt_commethod(9)
17337
+ def get_AllowDrop(self) -> Boolean: ...
17338
+ @winrt_commethod(10)
17339
+ def put_AllowDrop(self, value: Boolean) -> Void: ...
17340
+ AllowDrop = property(get_AllowDrop, put_AllowDrop)
17341
+ DropIndex = property(get_DropIndex, None)
17342
+ Items = property(get_Items, None)
17343
+ Tabs = property(get_Tabs, None)
17261
17344
  class ITabViewFactory(ComPtr):
17262
17345
  extends: IInspectable
17263
17346
  _classid_ = 'Microsoft.UI.Xaml.Controls.ITabViewFactory'
@@ -17417,6 +17500,13 @@ class ITabViewStatics(ComPtr):
17417
17500
  TabStripHeaderProperty = property(get_TabStripHeaderProperty, None)
17418
17501
  TabStripHeaderTemplateProperty = property(get_TabStripHeaderTemplateProperty, None)
17419
17502
  TabWidthModeProperty = property(get_TabWidthModeProperty, None)
17503
+ class ITabViewStatics2(ComPtr):
17504
+ extends: IInspectable
17505
+ _classid_ = 'Microsoft.UI.Xaml.Controls.ITabViewStatics2'
17506
+ _iid_ = Guid('{b589da39-25f2-517c-82d1-c51d8085550e}')
17507
+ @winrt_commethod(6)
17508
+ def get_CanTearOutTabsProperty(self) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
17509
+ CanTearOutTabsProperty = property(get_CanTearOutTabsProperty, None)
17420
17510
  class ITabViewTabCloseRequestedEventArgs(ComPtr):
17421
17511
  extends: IInspectable
17422
17512
  _classid_ = 'Microsoft.UI.Xaml.Controls.ITabViewTabCloseRequestedEventArgs'
@@ -17468,6 +17558,34 @@ class ITabViewTabDroppedOutsideEventArgs(ComPtr):
17468
17558
  def get_Tab(self) -> win32more.Microsoft.UI.Xaml.Controls.TabViewItem: ...
17469
17559
  Item = property(get_Item, None)
17470
17560
  Tab = property(get_Tab, None)
17561
+ class ITabViewTabTearOutRequestedEventArgs(ComPtr):
17562
+ extends: IInspectable
17563
+ _classid_ = 'Microsoft.UI.Xaml.Controls.ITabViewTabTearOutRequestedEventArgs'
17564
+ _iid_ = Guid('{e8a0c441-66c5-578a-8177-47dfffb97b83}')
17565
+ @winrt_commethod(6)
17566
+ def get_Items(self) -> ReceiveArray[IInspectable]: ...
17567
+ @winrt_commethod(7)
17568
+ def get_Tabs(self) -> ReceiveArray[win32more.Microsoft.UI.Xaml.UIElement]: ...
17569
+ @winrt_commethod(8)
17570
+ def get_NewWindowId(self) -> win32more.Microsoft.UI.WindowId: ...
17571
+ Items = property(get_Items, None)
17572
+ NewWindowId = property(get_NewWindowId, None)
17573
+ Tabs = property(get_Tabs, None)
17574
+ class ITabViewTabTearOutWindowRequestedEventArgs(ComPtr):
17575
+ extends: IInspectable
17576
+ _classid_ = 'Microsoft.UI.Xaml.Controls.ITabViewTabTearOutWindowRequestedEventArgs'
17577
+ _iid_ = Guid('{0c13afa7-f291-5bac-a6e8-cc67a69b04c9}')
17578
+ @winrt_commethod(6)
17579
+ def get_Items(self) -> ReceiveArray[IInspectable]: ...
17580
+ @winrt_commethod(7)
17581
+ def get_Tabs(self) -> ReceiveArray[win32more.Microsoft.UI.Xaml.UIElement]: ...
17582
+ @winrt_commethod(8)
17583
+ def get_NewWindowId(self) -> win32more.Microsoft.UI.WindowId: ...
17584
+ @winrt_commethod(9)
17585
+ def put_NewWindowId(self, value: win32more.Microsoft.UI.WindowId) -> Void: ...
17586
+ Items = property(get_Items, None)
17587
+ NewWindowId = property(get_NewWindowId, put_NewWindowId)
17588
+ Tabs = property(get_Tabs, None)
17471
17589
  class ITeachingTip(ComPtr):
17472
17590
  extends: IInspectable
17473
17591
  _classid_ = 'Microsoft.UI.Xaml.Controls.ITeachingTip'
@@ -21206,11 +21324,11 @@ class ItemsWrapGrid(ComPtr, metaclass=_ItemsWrapGrid_Meta_):
21206
21324
  if kwargs:
21207
21325
  super().__init__(**kwargs)
21208
21326
  elif len(args) == 0:
21209
- super().__init__(move=win32more.Microsoft.UI.Xaml.Controls.ItemsWrapGrid.CreateInstance(*args))
21327
+ super().__init__(move=win32more.Microsoft.UI.Xaml.Controls.ItemsWrapGrid.CreateInstance(*args, None, None))
21210
21328
  else:
21211
21329
  raise ValueError('no matched constructor')
21212
- @winrt_activatemethod
21213
- def CreateInstance(cls) -> win32more.Microsoft.UI.Xaml.Controls.ItemsWrapGrid: ...
21330
+ @winrt_factorymethod
21331
+ def CreateInstance(cls: win32more.Microsoft.UI.Xaml.Controls.IItemsWrapGridFactory, baseInterface: IInspectable, innerInterface: POINTER(IInspectable)) -> win32more.Microsoft.UI.Xaml.Controls.ItemsWrapGrid: ...
21214
21332
  @winrt_mixinmethod
21215
21333
  def get_GroupPadding(self: win32more.Microsoft.UI.Xaml.Controls.IItemsWrapGrid) -> win32more.Microsoft.UI.Xaml.Thickness: ...
21216
21334
  @winrt_mixinmethod
@@ -24240,6 +24358,12 @@ class PipsPager(ComPtr, metaclass=_PipsPager_Meta_):
24240
24358
  def remove_SelectedIndexChanged(self: win32more.Microsoft.UI.Xaml.Controls.IPipsPager, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
24241
24359
  @winrt_mixinmethod
24242
24360
  def get_TemplateSettings(self: win32more.Microsoft.UI.Xaml.Controls.IPipsPager) -> win32more.Microsoft.UI.Xaml.Controls.PipsPagerTemplateSettings: ...
24361
+ @winrt_mixinmethod
24362
+ def get_WrapMode(self: win32more.Microsoft.UI.Xaml.Controls.IPipsPager2) -> win32more.Microsoft.UI.Xaml.Controls.PipsPagerWrapMode: ...
24363
+ @winrt_mixinmethod
24364
+ def put_WrapMode(self: win32more.Microsoft.UI.Xaml.Controls.IPipsPager2, value: win32more.Microsoft.UI.Xaml.Controls.PipsPagerWrapMode) -> Void: ...
24365
+ @winrt_classmethod
24366
+ def get_WrapModeProperty(cls: win32more.Microsoft.UI.Xaml.Controls.IPipsPagerStatics2) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
24243
24367
  @winrt_classmethod
24244
24368
  def get_NumberOfPagesProperty(cls: win32more.Microsoft.UI.Xaml.Controls.IPipsPagerStatics) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
24245
24369
  @winrt_classmethod
@@ -24271,6 +24395,7 @@ class PipsPager(ComPtr, metaclass=_PipsPager_Meta_):
24271
24395
  SelectedPageIndex = property(get_SelectedPageIndex, put_SelectedPageIndex)
24272
24396
  SelectedPipStyle = property(get_SelectedPipStyle, put_SelectedPipStyle)
24273
24397
  TemplateSettings = property(get_TemplateSettings, None)
24398
+ WrapMode = property(get_WrapMode, put_WrapMode)
24274
24399
  _PipsPager_Meta_.MaxVisiblePipsProperty = property(get_MaxVisiblePipsProperty, None)
24275
24400
  _PipsPager_Meta_.NextButtonStyleProperty = property(get_NextButtonStyleProperty, None)
24276
24401
  _PipsPager_Meta_.NextButtonVisibilityProperty = property(get_NextButtonVisibilityProperty, None)
@@ -24281,6 +24406,7 @@ class PipsPager(ComPtr, metaclass=_PipsPager_Meta_):
24281
24406
  _PipsPager_Meta_.PreviousButtonVisibilityProperty = property(get_PreviousButtonVisibilityProperty, None)
24282
24407
  _PipsPager_Meta_.SelectedPageIndexProperty = property(get_SelectedPageIndexProperty, None)
24283
24408
  _PipsPager_Meta_.SelectedPipStyleProperty = property(get_SelectedPipStyleProperty, None)
24409
+ _PipsPager_Meta_.WrapModeProperty = property(get_WrapModeProperty, None)
24284
24410
  SelectedIndexChanged = event(add_SelectedIndexChanged, remove_SelectedIndexChanged)
24285
24411
  class PipsPagerButtonVisibility(Enum, Int32):
24286
24412
  Visible = 0
@@ -24297,6 +24423,9 @@ class PipsPagerTemplateSettings(ComPtr):
24297
24423
  @winrt_mixinmethod
24298
24424
  def get_PipsPagerItems(self: win32more.Microsoft.UI.Xaml.Controls.IPipsPagerTemplateSettings) -> win32more.Windows.Foundation.Collections.IVector[Int32]: ...
24299
24425
  PipsPagerItems = property(get_PipsPagerItems, None)
24426
+ class PipsPagerWrapMode(Enum, Int32):
24427
+ None_ = 0
24428
+ Wrap = 1
24300
24429
  class _Pivot_Meta_(ComPtr.__class__):
24301
24430
  pass
24302
24431
  class Pivot(ComPtr, metaclass=_Pivot_Meta_):
@@ -28372,6 +28501,28 @@ class TabView(ComPtr, metaclass=_TabView_Meta_):
28372
28501
  def add_TabStripDrop(self: win32more.Microsoft.UI.Xaml.Controls.ITabView, handler: win32more.Microsoft.UI.Xaml.DragEventHandler) -> win32more.Windows.Foundation.EventRegistrationToken: ...
28373
28502
  @winrt_mixinmethod
28374
28503
  def remove_TabStripDrop(self: win32more.Microsoft.UI.Xaml.Controls.ITabView, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
28504
+ @winrt_mixinmethod
28505
+ def get_CanTearOutTabs(self: win32more.Microsoft.UI.Xaml.Controls.ITabView2) -> Boolean: ...
28506
+ @winrt_mixinmethod
28507
+ def put_CanTearOutTabs(self: win32more.Microsoft.UI.Xaml.Controls.ITabView2, value: Boolean) -> Void: ...
28508
+ @winrt_mixinmethod
28509
+ def add_TabTearOutWindowRequested(self: win32more.Microsoft.UI.Xaml.Controls.ITabView2, handler: win32more.Windows.Foundation.TypedEventHandler[win32more.Microsoft.UI.Xaml.Controls.TabView, win32more.Microsoft.UI.Xaml.Controls.TabViewTabTearOutWindowRequestedEventArgs]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
28510
+ @winrt_mixinmethod
28511
+ def remove_TabTearOutWindowRequested(self: win32more.Microsoft.UI.Xaml.Controls.ITabView2, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
28512
+ @winrt_mixinmethod
28513
+ def add_TabTearOutRequested(self: win32more.Microsoft.UI.Xaml.Controls.ITabView2, handler: win32more.Windows.Foundation.TypedEventHandler[win32more.Microsoft.UI.Xaml.Controls.TabView, win32more.Microsoft.UI.Xaml.Controls.TabViewTabTearOutRequestedEventArgs]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
28514
+ @winrt_mixinmethod
28515
+ def remove_TabTearOutRequested(self: win32more.Microsoft.UI.Xaml.Controls.ITabView2, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
28516
+ @winrt_mixinmethod
28517
+ def add_ExternalTornOutTabsDropping(self: win32more.Microsoft.UI.Xaml.Controls.ITabView2, handler: win32more.Windows.Foundation.TypedEventHandler[win32more.Microsoft.UI.Xaml.Controls.TabView, win32more.Microsoft.UI.Xaml.Controls.TabViewExternalTornOutTabsDroppingEventArgs]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
28518
+ @winrt_mixinmethod
28519
+ def remove_ExternalTornOutTabsDropping(self: win32more.Microsoft.UI.Xaml.Controls.ITabView2, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
28520
+ @winrt_mixinmethod
28521
+ def add_ExternalTornOutTabsDropped(self: win32more.Microsoft.UI.Xaml.Controls.ITabView2, handler: win32more.Windows.Foundation.TypedEventHandler[win32more.Microsoft.UI.Xaml.Controls.TabView, win32more.Microsoft.UI.Xaml.Controls.TabViewExternalTornOutTabsDroppedEventArgs]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
28522
+ @winrt_mixinmethod
28523
+ def remove_ExternalTornOutTabsDropped(self: win32more.Microsoft.UI.Xaml.Controls.ITabView2, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
28524
+ @winrt_classmethod
28525
+ def get_CanTearOutTabsProperty(cls: win32more.Microsoft.UI.Xaml.Controls.ITabViewStatics2) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
28375
28526
  @winrt_classmethod
28376
28527
  def get_TabWidthModeProperty(cls: win32more.Microsoft.UI.Xaml.Controls.ITabViewStatics) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
28377
28528
  @winrt_classmethod
@@ -28413,6 +28564,7 @@ class TabView(ComPtr, metaclass=_TabView_Meta_):
28413
28564
  AllowDropTabs = property(get_AllowDropTabs, put_AllowDropTabs)
28414
28565
  CanDragTabs = property(get_CanDragTabs, put_CanDragTabs)
28415
28566
  CanReorderTabs = property(get_CanReorderTabs, put_CanReorderTabs)
28567
+ CanTearOutTabs = property(get_CanTearOutTabs, put_CanTearOutTabs)
28416
28568
  CloseButtonOverlayMode = property(get_CloseButtonOverlayMode, put_CloseButtonOverlayMode)
28417
28569
  IsAddTabButtonVisible = property(get_IsAddTabButtonVisible, put_IsAddTabButtonVisible)
28418
28570
  SelectedIndex = property(get_SelectedIndex, put_SelectedIndex)
@@ -28431,6 +28583,7 @@ class TabView(ComPtr, metaclass=_TabView_Meta_):
28431
28583
  _TabView_Meta_.AllowDropTabsProperty = property(get_AllowDropTabsProperty, None)
28432
28584
  _TabView_Meta_.CanDragTabsProperty = property(get_CanDragTabsProperty, None)
28433
28585
  _TabView_Meta_.CanReorderTabsProperty = property(get_CanReorderTabsProperty, None)
28586
+ _TabView_Meta_.CanTearOutTabsProperty = property(get_CanTearOutTabsProperty, None)
28434
28587
  _TabView_Meta_.CloseButtonOverlayModeProperty = property(get_CloseButtonOverlayModeProperty, None)
28435
28588
  _TabView_Meta_.IsAddTabButtonVisibleProperty = property(get_IsAddTabButtonVisibleProperty, None)
28436
28589
  _TabView_Meta_.SelectedIndexProperty = property(get_SelectedIndexProperty, None)
@@ -28445,6 +28598,8 @@ class TabView(ComPtr, metaclass=_TabView_Meta_):
28445
28598
  _TabView_Meta_.TabStripHeaderTemplateProperty = property(get_TabStripHeaderTemplateProperty, None)
28446
28599
  _TabView_Meta_.TabWidthModeProperty = property(get_TabWidthModeProperty, None)
28447
28600
  AddTabButtonClick = event(add_AddTabButtonClick, remove_AddTabButtonClick)
28601
+ ExternalTornOutTabsDropped = event(add_ExternalTornOutTabsDropped, remove_ExternalTornOutTabsDropped)
28602
+ ExternalTornOutTabsDropping = event(add_ExternalTornOutTabsDropping, remove_ExternalTornOutTabsDropping)
28448
28603
  SelectionChanged = event(add_SelectionChanged, remove_SelectionChanged)
28449
28604
  TabCloseRequested = event(add_TabCloseRequested, remove_TabCloseRequested)
28450
28605
  TabDragCompleted = event(add_TabDragCompleted, remove_TabDragCompleted)
@@ -28453,10 +28608,43 @@ class TabView(ComPtr, metaclass=_TabView_Meta_):
28453
28608
  TabItemsChanged = event(add_TabItemsChanged, remove_TabItemsChanged)
28454
28609
  TabStripDragOver = event(add_TabStripDragOver, remove_TabStripDragOver)
28455
28610
  TabStripDrop = event(add_TabStripDrop, remove_TabStripDrop)
28611
+ TabTearOutRequested = event(add_TabTearOutRequested, remove_TabTearOutRequested)
28612
+ TabTearOutWindowRequested = event(add_TabTearOutWindowRequested, remove_TabTearOutWindowRequested)
28456
28613
  class TabViewCloseButtonOverlayMode(Enum, Int32):
28457
28614
  Auto = 0
28458
28615
  OnPointerOver = 1
28459
28616
  Always = 2
28617
+ class TabViewExternalTornOutTabsDroppedEventArgs(ComPtr):
28618
+ extends: IInspectable
28619
+ default_interface: win32more.Microsoft.UI.Xaml.Controls.ITabViewExternalTornOutTabsDroppedEventArgs
28620
+ _classid_ = 'Microsoft.UI.Xaml.Controls.TabViewExternalTornOutTabsDroppedEventArgs'
28621
+ @winrt_mixinmethod
28622
+ def get_Items(self: win32more.Microsoft.UI.Xaml.Controls.ITabViewExternalTornOutTabsDroppedEventArgs) -> ReceiveArray[IInspectable]: ...
28623
+ @winrt_mixinmethod
28624
+ def get_Tabs(self: win32more.Microsoft.UI.Xaml.Controls.ITabViewExternalTornOutTabsDroppedEventArgs) -> ReceiveArray[win32more.Microsoft.UI.Xaml.UIElement]: ...
28625
+ @winrt_mixinmethod
28626
+ def get_DropIndex(self: win32more.Microsoft.UI.Xaml.Controls.ITabViewExternalTornOutTabsDroppedEventArgs) -> Int32: ...
28627
+ DropIndex = property(get_DropIndex, None)
28628
+ Items = property(get_Items, None)
28629
+ Tabs = property(get_Tabs, None)
28630
+ class TabViewExternalTornOutTabsDroppingEventArgs(ComPtr):
28631
+ extends: IInspectable
28632
+ default_interface: win32more.Microsoft.UI.Xaml.Controls.ITabViewExternalTornOutTabsDroppingEventArgs
28633
+ _classid_ = 'Microsoft.UI.Xaml.Controls.TabViewExternalTornOutTabsDroppingEventArgs'
28634
+ @winrt_mixinmethod
28635
+ def get_Items(self: win32more.Microsoft.UI.Xaml.Controls.ITabViewExternalTornOutTabsDroppingEventArgs) -> ReceiveArray[IInspectable]: ...
28636
+ @winrt_mixinmethod
28637
+ def get_Tabs(self: win32more.Microsoft.UI.Xaml.Controls.ITabViewExternalTornOutTabsDroppingEventArgs) -> ReceiveArray[win32more.Microsoft.UI.Xaml.UIElement]: ...
28638
+ @winrt_mixinmethod
28639
+ def get_DropIndex(self: win32more.Microsoft.UI.Xaml.Controls.ITabViewExternalTornOutTabsDroppingEventArgs) -> Int32: ...
28640
+ @winrt_mixinmethod
28641
+ def get_AllowDrop(self: win32more.Microsoft.UI.Xaml.Controls.ITabViewExternalTornOutTabsDroppingEventArgs) -> Boolean: ...
28642
+ @winrt_mixinmethod
28643
+ def put_AllowDrop(self: win32more.Microsoft.UI.Xaml.Controls.ITabViewExternalTornOutTabsDroppingEventArgs, value: Boolean) -> Void: ...
28644
+ AllowDrop = property(get_AllowDrop, put_AllowDrop)
28645
+ DropIndex = property(get_DropIndex, None)
28646
+ Items = property(get_Items, None)
28647
+ Tabs = property(get_Tabs, None)
28460
28648
  class _TabViewItem_Meta_(ComPtr.__class__):
28461
28649
  pass
28462
28650
  class TabViewItem(ComPtr, metaclass=_TabViewItem_Meta_):
@@ -28597,6 +28785,34 @@ class TabViewTabDroppedOutsideEventArgs(ComPtr):
28597
28785
  def get_Tab(self: win32more.Microsoft.UI.Xaml.Controls.ITabViewTabDroppedOutsideEventArgs) -> win32more.Microsoft.UI.Xaml.Controls.TabViewItem: ...
28598
28786
  Item = property(get_Item, None)
28599
28787
  Tab = property(get_Tab, None)
28788
+ class TabViewTabTearOutRequestedEventArgs(ComPtr):
28789
+ extends: IInspectable
28790
+ default_interface: win32more.Microsoft.UI.Xaml.Controls.ITabViewTabTearOutRequestedEventArgs
28791
+ _classid_ = 'Microsoft.UI.Xaml.Controls.TabViewTabTearOutRequestedEventArgs'
28792
+ @winrt_mixinmethod
28793
+ def get_Items(self: win32more.Microsoft.UI.Xaml.Controls.ITabViewTabTearOutRequestedEventArgs) -> ReceiveArray[IInspectable]: ...
28794
+ @winrt_mixinmethod
28795
+ def get_Tabs(self: win32more.Microsoft.UI.Xaml.Controls.ITabViewTabTearOutRequestedEventArgs) -> ReceiveArray[win32more.Microsoft.UI.Xaml.UIElement]: ...
28796
+ @winrt_mixinmethod
28797
+ def get_NewWindowId(self: win32more.Microsoft.UI.Xaml.Controls.ITabViewTabTearOutRequestedEventArgs) -> win32more.Microsoft.UI.WindowId: ...
28798
+ Items = property(get_Items, None)
28799
+ NewWindowId = property(get_NewWindowId, None)
28800
+ Tabs = property(get_Tabs, None)
28801
+ class TabViewTabTearOutWindowRequestedEventArgs(ComPtr):
28802
+ extends: IInspectable
28803
+ default_interface: win32more.Microsoft.UI.Xaml.Controls.ITabViewTabTearOutWindowRequestedEventArgs
28804
+ _classid_ = 'Microsoft.UI.Xaml.Controls.TabViewTabTearOutWindowRequestedEventArgs'
28805
+ @winrt_mixinmethod
28806
+ def get_Items(self: win32more.Microsoft.UI.Xaml.Controls.ITabViewTabTearOutWindowRequestedEventArgs) -> ReceiveArray[IInspectable]: ...
28807
+ @winrt_mixinmethod
28808
+ def get_Tabs(self: win32more.Microsoft.UI.Xaml.Controls.ITabViewTabTearOutWindowRequestedEventArgs) -> ReceiveArray[win32more.Microsoft.UI.Xaml.UIElement]: ...
28809
+ @winrt_mixinmethod
28810
+ def get_NewWindowId(self: win32more.Microsoft.UI.Xaml.Controls.ITabViewTabTearOutWindowRequestedEventArgs) -> win32more.Microsoft.UI.WindowId: ...
28811
+ @winrt_mixinmethod
28812
+ def put_NewWindowId(self: win32more.Microsoft.UI.Xaml.Controls.ITabViewTabTearOutWindowRequestedEventArgs, value: win32more.Microsoft.UI.WindowId) -> Void: ...
28813
+ Items = property(get_Items, None)
28814
+ NewWindowId = property(get_NewWindowId, put_NewWindowId)
28815
+ Tabs = property(get_Tabs, None)
28600
28816
  class TabViewWidthMode(Enum, Int32):
28601
28817
  Equal = 0
28602
28818
  SizeToContent = 1
@@ -4171,6 +4171,13 @@ class IXamlRoot2(ComPtr):
4171
4171
  @winrt_commethod(6)
4172
4172
  def get_ContentIslandEnvironment(self) -> win32more.Microsoft.UI.Content.ContentIslandEnvironment: ...
4173
4173
  ContentIslandEnvironment = property(get_ContentIslandEnvironment, None)
4174
+ class IXamlRoot3(ComPtr):
4175
+ extends: IInspectable
4176
+ _classid_ = 'Microsoft.UI.Xaml.IXamlRoot3'
4177
+ _iid_ = Guid('{b71dbf3b-2e0f-5de0-ac68-f0c1f65114c8}')
4178
+ @winrt_commethod(6)
4179
+ def get_CoordinateConverter(self) -> win32more.Microsoft.UI.Content.ContentCoordinateConverter: ...
4180
+ CoordinateConverter = property(get_CoordinateConverter, None)
4174
4181
  class IXamlRootChangedEventArgs(ComPtr):
4175
4182
  extends: IInspectable
4176
4183
  _classid_ = 'Microsoft.UI.Xaml.IXamlRootChangedEventArgs'
@@ -5838,7 +5845,7 @@ class VisualTransition(ComPtr):
5838
5845
  GeneratedEasingFunction = property(get_GeneratedEasingFunction, put_GeneratedEasingFunction)
5839
5846
  Storyboard = property(get_Storyboard, put_Storyboard)
5840
5847
  To = property(get_To, put_To)
5841
- WinUIContract: UInt32 = 393216
5848
+ WinUIContract: UInt32 = 458752
5842
5849
  class _Window_Meta_(ComPtr.__class__):
5843
5850
  pass
5844
5851
  class Window(ComPtr, metaclass=_Window_Meta_):
@@ -5973,7 +5980,7 @@ class WindowVisibilityChangedEventArgs(ComPtr):
5973
5980
  def get_Visible(self: win32more.Microsoft.UI.Xaml.IWindowVisibilityChangedEventArgs) -> Boolean: ...
5974
5981
  Handled = property(get_Handled, put_Handled)
5975
5982
  Visible = property(get_Visible, None)
5976
- XamlContract: UInt32 = 393216
5983
+ XamlContract: UInt32 = 458752
5977
5984
  class XamlResourceReferenceFailedEventArgs(ComPtr):
5978
5985
  extends: IInspectable
5979
5986
  default_interface: win32more.Microsoft.UI.Xaml.IXamlResourceReferenceFailedEventArgs
@@ -5999,8 +6006,11 @@ class XamlRoot(ComPtr):
5999
6006
  def remove_Changed(self: win32more.Microsoft.UI.Xaml.IXamlRoot, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
6000
6007
  @winrt_mixinmethod
6001
6008
  def get_ContentIslandEnvironment(self: win32more.Microsoft.UI.Xaml.IXamlRoot2) -> win32more.Microsoft.UI.Content.ContentIslandEnvironment: ...
6009
+ @winrt_mixinmethod
6010
+ def get_CoordinateConverter(self: win32more.Microsoft.UI.Xaml.IXamlRoot3) -> win32more.Microsoft.UI.Content.ContentCoordinateConverter: ...
6002
6011
  Content = property(get_Content, None)
6003
6012
  ContentIslandEnvironment = property(get_ContentIslandEnvironment, None)
6013
+ CoordinateConverter = property(get_CoordinateConverter, None)
6004
6014
  IsHostVisible = property(get_IsHostVisible, None)
6005
6015
  RasterizationScale = property(get_RasterizationScale, None)
6006
6016
  Size = property(get_Size, None)
@@ -13,6 +13,8 @@ class ColorHelper(ComPtr):
13
13
  default_interface: win32more.Microsoft.UI.IColorHelper
14
14
  _classid_ = 'Microsoft.UI.ColorHelper'
15
15
  @winrt_classmethod
16
+ def ToDisplayName(cls: win32more.Microsoft.UI.IColorHelperStatics2, color: win32more.Windows.UI.Color) -> hstr: ...
17
+ @winrt_classmethod
16
18
  def FromArgb(cls: win32more.Microsoft.UI.IColorHelperStatics, a: Byte, r: Byte, g: Byte, b: Byte) -> win32more.Windows.UI.Color: ...
17
19
  class _Colors_Meta_(ComPtr.__class__):
18
20
  pass
@@ -473,6 +475,12 @@ class IColorHelperStatics(ComPtr):
473
475
  _iid_ = Guid('{1d1d85a1-eb63-538a-84f0-019210bc406b}')
474
476
  @winrt_commethod(6)
475
477
  def FromArgb(self, a: Byte, r: Byte, g: Byte, b: Byte) -> win32more.Windows.UI.Color: ...
478
+ class IColorHelperStatics2(ComPtr):
479
+ extends: IInspectable
480
+ _classid_ = 'Microsoft.UI.IColorHelperStatics2'
481
+ _iid_ = Guid('{982a2d93-0ec4-56b7-9c20-0b5c77949066}')
482
+ @winrt_commethod(6)
483
+ def ToDisplayName(self, color: win32more.Windows.UI.Color) -> hstr: ...
476
484
  class IColors(ComPtr):
477
485
  extends: IInspectable
478
486
  _classid_ = 'Microsoft.UI.IColors'
@@ -182,7 +182,7 @@ class KnownResourceQualifierName(ComPtr, metaclass=_KnownResourceQualifierName_M
182
182
  _KnownResourceQualifierName_Meta_.Scale = property(get_Scale, None)
183
183
  _KnownResourceQualifierName_Meta_.TargetSize = property(get_TargetSize, None)
184
184
  _KnownResourceQualifierName_Meta_.Theme = property(get_Theme, None)
185
- MrtCoreContract: UInt32 = 65536
185
+ MrtCoreContract: UInt32 = 131072
186
186
  class ResourceCandidate(ComPtr):
187
187
  extends: IInspectable
188
188
  default_interface: win32more.Microsoft.Windows.ApplicationModel.Resources.IResourceCandidate
@@ -0,0 +1,38 @@
1
+ from __future__ import annotations
2
+ from win32more._prelude import *
3
+ import win32more.Microsoft.Windows.Globalization
4
+ import win32more.Windows.Foundation.Collections
5
+ class _ApplicationLanguages_Meta_(ComPtr.__class__):
6
+ pass
7
+ class ApplicationLanguages(ComPtr, metaclass=_ApplicationLanguages_Meta_):
8
+ extends: IInspectable
9
+ _classid_ = 'Microsoft.Windows.Globalization.ApplicationLanguages'
10
+ @winrt_classmethod
11
+ def get_Languages(cls: win32more.Microsoft.Windows.Globalization.IApplicationLanguagesStatics) -> win32more.Windows.Foundation.Collections.IVectorView[hstr]: ...
12
+ @winrt_classmethod
13
+ def get_ManifestLanguages(cls: win32more.Microsoft.Windows.Globalization.IApplicationLanguagesStatics) -> win32more.Windows.Foundation.Collections.IVectorView[hstr]: ...
14
+ @winrt_classmethod
15
+ def get_PrimaryLanguageOverride(cls: win32more.Microsoft.Windows.Globalization.IApplicationLanguagesStatics) -> hstr: ...
16
+ @winrt_classmethod
17
+ def put_PrimaryLanguageOverride(cls: win32more.Microsoft.Windows.Globalization.IApplicationLanguagesStatics, value: hstr) -> Void: ...
18
+ _ApplicationLanguages_Meta_.Languages = property(get_Languages, None)
19
+ _ApplicationLanguages_Meta_.ManifestLanguages = property(get_ManifestLanguages, None)
20
+ _ApplicationLanguages_Meta_.PrimaryLanguageOverride = property(get_PrimaryLanguageOverride, put_PrimaryLanguageOverride)
21
+ class IApplicationLanguagesStatics(ComPtr):
22
+ extends: IInspectable
23
+ _classid_ = 'Microsoft.Windows.Globalization.IApplicationLanguagesStatics'
24
+ _iid_ = Guid('{58dfcef9-08ec-5086-8af1-d5beab79250a}')
25
+ @winrt_commethod(6)
26
+ def get_Languages(self) -> win32more.Windows.Foundation.Collections.IVectorView[hstr]: ...
27
+ @winrt_commethod(7)
28
+ def get_ManifestLanguages(self) -> win32more.Windows.Foundation.Collections.IVectorView[hstr]: ...
29
+ @winrt_commethod(8)
30
+ def get_PrimaryLanguageOverride(self) -> hstr: ...
31
+ @winrt_commethod(9)
32
+ def put_PrimaryLanguageOverride(self, value: hstr) -> Void: ...
33
+ Languages = property(get_Languages, None)
34
+ ManifestLanguages = property(get_ManifestLanguages, None)
35
+ PrimaryLanguageOverride = property(get_PrimaryLanguageOverride, put_PrimaryLanguageOverride)
36
+
37
+
38
+ make_ready(__name__)