win32more-Microsoft.WindowsAppSDK 0.7.1.6.250602001__py2.py3-none-any.whl → 0.7.1.7.250401001__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 (35) hide show
  1. win32more/Microsoft/Foundation/__init__.py +1 -1
  2. win32more/Microsoft/Security/Authentication/OAuth/__init__.py +591 -0
  3. win32more/Microsoft/UI/Composition/Core/__init__.py +4 -4
  4. win32more/Microsoft/UI/Composition/Diagnostics/__init__.py +4 -4
  5. win32more/Microsoft/UI/Composition/Effects/__init__.py +10 -10
  6. win32more/Microsoft/UI/Composition/Interactions/__init__.py +93 -93
  7. win32more/Microsoft/UI/Composition/Scenes/__init__.py +78 -78
  8. win32more/Microsoft/UI/Composition/SystemBackdrops/__init__.py +42 -42
  9. win32more/Microsoft/UI/Composition/__init__.py +125 -125
  10. win32more/Microsoft/UI/Content/__init__.py +676 -35
  11. win32more/Microsoft/UI/Dispatching/__init__.py +4 -4
  12. win32more/Microsoft/UI/Input/DragDrop/__init__.py +9 -9
  13. win32more/Microsoft/UI/Input/__init__.py +53 -45
  14. win32more/Microsoft/UI/Text/__init__.py +21 -0
  15. win32more/Microsoft/UI/Windowing/__init__.py +104 -21
  16. win32more/Microsoft/UI/Xaml/Controls/__init__.py +274 -0
  17. win32more/Microsoft/UI/Xaml/__init__.py +64 -2
  18. win32more/Microsoft/Windows/AppNotifications/Builder/__init__.py +1 -1
  19. win32more/Microsoft/Windows/AppNotifications/__init__.py +1 -1
  20. win32more/Microsoft/Windows/ApplicationModel/Background/UniversalBGTask/__init__.py +29 -0
  21. win32more/Microsoft/Windows/ApplicationModel/Background/__init__.py +65 -0
  22. win32more/Microsoft/Windows/ApplicationModel/WindowsAppRuntime/__init__.py +126 -0
  23. win32more/Microsoft/Windows/BadgeNotifications/__init__.py +53 -0
  24. win32more/Microsoft/Windows/Media/Capture/__init__.py +196 -0
  25. win32more/appsdk/versioninfo.py +2 -2
  26. win32more/dll/arm64/Microsoft.Windows.ApplicationModel.Background.UniversalBGTask.dll +0 -0
  27. win32more/dll/arm64/Microsoft.WindowsAppRuntime.Bootstrap.dll +0 -0
  28. win32more/dll/x64/Microsoft.Windows.ApplicationModel.Background.UniversalBGTask.dll +0 -0
  29. win32more/dll/x64/Microsoft.WindowsAppRuntime.Bootstrap.dll +0 -0
  30. win32more/dll/x86/Microsoft.Windows.ApplicationModel.Background.UniversalBGTask.dll +0 -0
  31. win32more/dll/x86/Microsoft.WindowsAppRuntime.Bootstrap.dll +0 -0
  32. {win32more_microsoft_windowsappsdk-0.7.1.6.250602001.dist-info → win32more_microsoft_windowsappsdk-0.7.1.7.250401001.dist-info}/METADATA +2 -2
  33. {win32more_microsoft_windowsappsdk-0.7.1.6.250602001.dist-info → win32more_microsoft_windowsappsdk-0.7.1.7.250401001.dist-info}/RECORD +35 -27
  34. {win32more_microsoft_windowsappsdk-0.7.1.6.250602001.dist-info → win32more_microsoft_windowsappsdk-0.7.1.7.250401001.dist-info}/WHEEL +0 -0
  35. {win32more_microsoft_windowsappsdk-0.7.1.6.250602001.dist-info → win32more_microsoft_windowsappsdk-0.7.1.7.250401001.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 ShowWithActivation(self: win32more.Microsoft.UI.Windowing.IAppWindow, activateWindow: Boolean) -> Void: ...
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: ...
16
16
  @winrt_mixinmethod
17
17
  def get_IsShownInSwitchers(self: win32more.Microsoft.UI.Windowing.IAppWindow) -> Boolean: ...
18
18
  @winrt_mixinmethod
@@ -34,7 +34,7 @@ class AppWindow(ComPtr):
34
34
  @winrt_mixinmethod
35
35
  def get_TitleBar(self: win32more.Microsoft.UI.Windowing.IAppWindow) -> win32more.Microsoft.UI.Windowing.AppWindowTitleBar: ...
36
36
  @winrt_mixinmethod
37
- def get_Id(self: win32more.Microsoft.UI.Windowing.IAppWindow) -> win32more.Microsoft.UI.WindowId: ...
37
+ def Destroy(self: win32more.Microsoft.UI.Windowing.IAppWindow) -> Void: ...
38
38
  @winrt_mixinmethod
39
39
  def Hide(self: win32more.Microsoft.UI.Windowing.IAppWindow) -> Void: ...
40
40
  @winrt_mixinmethod
@@ -42,7 +42,7 @@ class AppWindow(ComPtr):
42
42
  @winrt_mixinmethod
43
43
  def MoveAndResize(self: win32more.Microsoft.UI.Windowing.IAppWindow, rect: win32more.Windows.Graphics.RectInt32) -> Void: ...
44
44
  @winrt_mixinmethod
45
- def MoveAndResizeRelativeToDisplayArea(self: win32more.Microsoft.UI.Windowing.IAppWindow, rect: win32more.Windows.Graphics.RectInt32, displayarea: win32more.Microsoft.UI.Windowing.DisplayArea) -> Void: ...
45
+ def get_Id(self: win32more.Microsoft.UI.Windowing.IAppWindow) -> win32more.Microsoft.UI.WindowId: ...
46
46
  @winrt_mixinmethod
47
47
  def Resize(self: win32more.Microsoft.UI.Windowing.IAppWindow, size: win32more.Windows.Graphics.SizeInt32) -> Void: ...
48
48
  @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 Destroy(self: win32more.Microsoft.UI.Windowing.IAppWindow) -> Void: ...
59
+ def ShowWithActivation(self: win32more.Microsoft.UI.Windowing.IAppWindow, activateWindow: Boolean) -> 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 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: ...
65
+ def MoveAndResizeRelativeToDisplayArea(self: win32more.Microsoft.UI.Windowing.IAppWindow, rect: win32more.Windows.Graphics.RectInt32, displayarea: win32more.Microsoft.UI.Windowing.DisplayArea) -> Void: ...
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
@@ -85,6 +85,14 @@ class AppWindow(ComPtr):
85
85
  def AssociateWithDispatcherQueue(self: win32more.Microsoft.UI.Windowing.IAppWindow3, dispatcherQueue: win32more.Microsoft.UI.Dispatching.DispatcherQueue) -> Void: ...
86
86
  @winrt_mixinmethod
87
87
  def get_DispatcherQueue(self: win32more.Microsoft.UI.Windowing.IAppWindow3) -> win32more.Microsoft.UI.Dispatching.DispatcherQueue: ...
88
+ @winrt_mixinmethod
89
+ def SetTaskbarIcon(self: win32more.Microsoft.UI.Windowing.IAppWindow4, iconPath: hstr) -> Void: ...
90
+ @winrt_mixinmethod
91
+ def SetTaskbarIconWithIconId(self: win32more.Microsoft.UI.Windowing.IAppWindow4, iconId: win32more.Microsoft.UI.IconId) -> Void: ...
92
+ @winrt_mixinmethod
93
+ def SetTitleBarIcon(self: win32more.Microsoft.UI.Windowing.IAppWindow4, iconPath: hstr) -> Void: ...
94
+ @winrt_mixinmethod
95
+ def SetTitleBarIconWithIconId(self: win32more.Microsoft.UI.Windowing.IAppWindow4, iconId: win32more.Microsoft.UI.IconId) -> Void: ...
88
96
  @winrt_classmethod
89
97
  def CreateWithDispatcherQueue(cls: win32more.Microsoft.UI.Windowing.IAppWindowStatics2, appWindowPresenter: win32more.Microsoft.UI.Windowing.AppWindowPresenter, ownerWindowId: win32more.Microsoft.UI.WindowId, DispatcherQueue: win32more.Microsoft.UI.Dispatching.DispatcherQueue) -> win32more.Microsoft.UI.Windowing.AppWindow: ...
90
98
  @winrt_classmethod
@@ -114,10 +122,10 @@ class AppWindowChangedEventArgs(ComPtr):
114
122
  default_interface: win32more.Microsoft.UI.Windowing.IAppWindowChangedEventArgs
115
123
  _classid_ = 'Microsoft.UI.Windowing.AppWindowChangedEventArgs'
116
124
  @winrt_mixinmethod
117
- def get_DidPositionChange(self: win32more.Microsoft.UI.Windowing.IAppWindowChangedEventArgs) -> Boolean: ...
118
- @winrt_mixinmethod
119
125
  def get_DidPresenterChange(self: win32more.Microsoft.UI.Windowing.IAppWindowChangedEventArgs) -> Boolean: ...
120
126
  @winrt_mixinmethod
127
+ def get_DidPositionChange(self: win32more.Microsoft.UI.Windowing.IAppWindowChangedEventArgs) -> Boolean: ...
128
+ @winrt_mixinmethod
121
129
  def get_DidSizeChange(self: win32more.Microsoft.UI.Windowing.IAppWindowChangedEventArgs) -> Boolean: ...
122
130
  @winrt_mixinmethod
123
131
  def get_DidVisibilityChange(self: win32more.Microsoft.UI.Windowing.IAppWindowChangedEventArgs) -> Boolean: ...
@@ -163,7 +171,7 @@ class AppWindowTitleBar(ComPtr):
163
171
  default_interface: win32more.Microsoft.UI.Windowing.IAppWindowTitleBar
164
172
  _classid_ = 'Microsoft.UI.Windowing.AppWindowTitleBar'
165
173
  @winrt_mixinmethod
166
- def get_ButtonInactiveForegroundColor(self: win32more.Microsoft.UI.Windowing.IAppWindowTitleBar) -> win32more.Windows.Foundation.IReference[win32more.Windows.UI.Color]: ...
174
+ def put_ButtonPressedBackgroundColor(self: win32more.Microsoft.UI.Windowing.IAppWindowTitleBar, value: win32more.Windows.Foundation.IReference[win32more.Windows.UI.Color]) -> Void: ...
167
175
  @winrt_mixinmethod
168
176
  def put_BackgroundColor(self: win32more.Microsoft.UI.Windowing.IAppWindowTitleBar, value: win32more.Windows.Foundation.IReference[win32more.Windows.UI.Color]) -> Void: ...
169
177
  @winrt_mixinmethod
@@ -187,13 +195,13 @@ class AppWindowTitleBar(ComPtr):
187
195
  @winrt_mixinmethod
188
196
  def put_ButtonInactiveBackgroundColor(self: win32more.Microsoft.UI.Windowing.IAppWindowTitleBar, value: win32more.Windows.Foundation.IReference[win32more.Windows.UI.Color]) -> Void: ...
189
197
  @winrt_mixinmethod
190
- def get_ButtonPressedBackgroundColor(self: win32more.Microsoft.UI.Windowing.IAppWindowTitleBar) -> win32more.Windows.Foundation.IReference[win32more.Windows.UI.Color]: ...
198
+ def get_BackgroundColor(self: win32more.Microsoft.UI.Windowing.IAppWindowTitleBar) -> win32more.Windows.Foundation.IReference[win32more.Windows.UI.Color]: ...
191
199
  @winrt_mixinmethod
192
200
  def put_ButtonInactiveForegroundColor(self: win32more.Microsoft.UI.Windowing.IAppWindowTitleBar, value: win32more.Windows.Foundation.IReference[win32more.Windows.UI.Color]) -> Void: ...
193
201
  @winrt_mixinmethod
194
- def get_BackgroundColor(self: win32more.Microsoft.UI.Windowing.IAppWindowTitleBar) -> win32more.Windows.Foundation.IReference[win32more.Windows.UI.Color]: ...
202
+ def get_ButtonPressedBackgroundColor(self: win32more.Microsoft.UI.Windowing.IAppWindowTitleBar) -> win32more.Windows.Foundation.IReference[win32more.Windows.UI.Color]: ...
195
203
  @winrt_mixinmethod
196
- def put_ButtonPressedBackgroundColor(self: win32more.Microsoft.UI.Windowing.IAppWindowTitleBar, value: win32more.Windows.Foundation.IReference[win32more.Windows.UI.Color]) -> Void: ...
204
+ def get_ButtonInactiveForegroundColor(self: win32more.Microsoft.UI.Windowing.IAppWindowTitleBar) -> win32more.Windows.Foundation.IReference[win32more.Windows.UI.Color]: ...
197
205
  @winrt_mixinmethod
198
206
  def get_ButtonPressedForegroundColor(self: win32more.Microsoft.UI.Windowing.IAppWindowTitleBar) -> win32more.Windows.Foundation.IReference[win32more.Windows.UI.Color]: ...
199
207
  @winrt_mixinmethod
@@ -232,6 +240,10 @@ class AppWindowTitleBar(ComPtr):
232
240
  def get_PreferredHeightOption(self: win32more.Microsoft.UI.Windowing.IAppWindowTitleBar2) -> win32more.Microsoft.UI.Windowing.TitleBarHeightOption: ...
233
241
  @winrt_mixinmethod
234
242
  def put_PreferredHeightOption(self: win32more.Microsoft.UI.Windowing.IAppWindowTitleBar2, value: win32more.Microsoft.UI.Windowing.TitleBarHeightOption) -> Void: ...
243
+ @winrt_mixinmethod
244
+ def get_PreferredTheme(self: win32more.Microsoft.UI.Windowing.IAppWindowTitleBar3) -> win32more.Microsoft.UI.Windowing.TitleBarTheme: ...
245
+ @winrt_mixinmethod
246
+ def put_PreferredTheme(self: win32more.Microsoft.UI.Windowing.IAppWindowTitleBar3, value: win32more.Microsoft.UI.Windowing.TitleBarTheme) -> Void: ...
235
247
  @winrt_classmethod
236
248
  def IsCustomizationSupported(cls: win32more.Microsoft.UI.Windowing.IAppWindowTitleBarStatics) -> Boolean: ...
237
249
  BackgroundColor = property(get_BackgroundColor, put_BackgroundColor)
@@ -251,15 +263,16 @@ class AppWindowTitleBar(ComPtr):
251
263
  InactiveForegroundColor = property(get_InactiveForegroundColor, put_InactiveForegroundColor)
252
264
  LeftInset = property(get_LeftInset, None)
253
265
  PreferredHeightOption = property(get_PreferredHeightOption, put_PreferredHeightOption)
266
+ PreferredTheme = property(get_PreferredTheme, put_PreferredTheme)
254
267
  RightInset = property(get_RightInset, None)
255
268
  class CompactOverlayPresenter(ComPtr):
256
269
  extends: win32more.Microsoft.UI.Windowing.AppWindowPresenter
257
270
  default_interface: win32more.Microsoft.UI.Windowing.ICompactOverlayPresenter
258
271
  _classid_ = 'Microsoft.UI.Windowing.CompactOverlayPresenter'
259
272
  @winrt_mixinmethod
260
- def put_InitialSize(self: win32more.Microsoft.UI.Windowing.ICompactOverlayPresenter, value: win32more.Microsoft.UI.Windowing.CompactOverlaySize) -> Void: ...
261
- @winrt_mixinmethod
262
273
  def get_InitialSize(self: win32more.Microsoft.UI.Windowing.ICompactOverlayPresenter) -> win32more.Microsoft.UI.Windowing.CompactOverlaySize: ...
274
+ @winrt_mixinmethod
275
+ def put_InitialSize(self: win32more.Microsoft.UI.Windowing.ICompactOverlayPresenter, value: win32more.Microsoft.UI.Windowing.CompactOverlaySize) -> Void: ...
263
276
  @winrt_classmethod
264
277
  def Create(cls: win32more.Microsoft.UI.Windowing.ICompactOverlayPresenterStatics) -> win32more.Microsoft.UI.Windowing.CompactOverlayPresenter: ...
265
278
  InitialSize = property(get_InitialSize, put_InitialSize)
@@ -274,12 +287,12 @@ class DisplayArea(ComPtr, metaclass=_DisplayArea_Meta_):
274
287
  default_interface: win32more.Microsoft.UI.Windowing.IDisplayArea
275
288
  _classid_ = 'Microsoft.UI.Windowing.DisplayArea'
276
289
  @winrt_mixinmethod
290
+ def get_OuterBounds(self: win32more.Microsoft.UI.Windowing.IDisplayArea) -> win32more.Windows.Graphics.RectInt32: ...
291
+ @winrt_mixinmethod
277
292
  def get_IsPrimary(self: win32more.Microsoft.UI.Windowing.IDisplayArea) -> Boolean: ...
278
293
  @winrt_mixinmethod
279
294
  def get_DisplayId(self: win32more.Microsoft.UI.Windowing.IDisplayArea) -> win32more.Microsoft.UI.DisplayId: ...
280
295
  @winrt_mixinmethod
281
- def get_OuterBounds(self: win32more.Microsoft.UI.Windowing.IDisplayArea) -> win32more.Windows.Graphics.RectInt32: ...
282
- @winrt_mixinmethod
283
296
  def get_WorkArea(self: win32more.Microsoft.UI.Windowing.IDisplayArea) -> win32more.Windows.Graphics.RectInt32: ...
284
297
  @winrt_classmethod
285
298
  def GetFromDisplayId(cls: win32more.Microsoft.UI.Windowing.IDisplayAreaStatics2, displayId: win32more.Microsoft.UI.DisplayId) -> win32more.Microsoft.UI.Windowing.DisplayArea: ...
@@ -309,15 +322,15 @@ class DisplayAreaWatcher(ComPtr):
309
322
  default_interface: win32more.Microsoft.UI.Windowing.IDisplayAreaWatcher
310
323
  _classid_ = 'Microsoft.UI.Windowing.DisplayAreaWatcher'
311
324
  @winrt_mixinmethod
312
- def add_Added(self: win32more.Microsoft.UI.Windowing.IDisplayAreaWatcher, handler: win32more.Windows.Foundation.TypedEventHandler[win32more.Microsoft.UI.Windowing.DisplayAreaWatcher, win32more.Microsoft.UI.Windowing.DisplayArea]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
325
+ def remove_Added(self: win32more.Microsoft.UI.Windowing.IDisplayAreaWatcher, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
313
326
  @winrt_mixinmethod
314
327
  def Start(self: win32more.Microsoft.UI.Windowing.IDisplayAreaWatcher) -> Void: ...
315
328
  @winrt_mixinmethod
316
329
  def Stop(self: win32more.Microsoft.UI.Windowing.IDisplayAreaWatcher) -> Void: ...
317
330
  @winrt_mixinmethod
318
- def get_Status(self: win32more.Microsoft.UI.Windowing.IDisplayAreaWatcher) -> win32more.Microsoft.UI.Windowing.DisplayAreaWatcherStatus: ...
331
+ def add_Added(self: win32more.Microsoft.UI.Windowing.IDisplayAreaWatcher, handler: win32more.Windows.Foundation.TypedEventHandler[win32more.Microsoft.UI.Windowing.DisplayAreaWatcher, win32more.Microsoft.UI.Windowing.DisplayArea]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
319
332
  @winrt_mixinmethod
320
- def remove_Added(self: win32more.Microsoft.UI.Windowing.IDisplayAreaWatcher, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
333
+ def get_Status(self: win32more.Microsoft.UI.Windowing.IDisplayAreaWatcher) -> win32more.Microsoft.UI.Windowing.DisplayAreaWatcherStatus: ...
321
334
  @winrt_mixinmethod
322
335
  def add_EnumerationCompleted(self: win32more.Microsoft.UI.Windowing.IDisplayAreaWatcher, handler: win32more.Windows.Foundation.TypedEventHandler[win32more.Microsoft.UI.Windowing.DisplayAreaWatcher, IInspectable]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
323
336
  @winrt_mixinmethod
@@ -453,6 +466,18 @@ class IAppWindow3(ComPtr):
453
466
  @winrt_commethod(7)
454
467
  def get_DispatcherQueue(self) -> win32more.Microsoft.UI.Dispatching.DispatcherQueue: ...
455
468
  DispatcherQueue = property(get_DispatcherQueue, None)
469
+ class IAppWindow4(ComPtr):
470
+ extends: IInspectable
471
+ _classid_ = 'Microsoft.UI.Windowing.IAppWindow4'
472
+ _iid_ = Guid('{383bfb91-ea29-5414-80cd-6c76d981eb31}')
473
+ @winrt_commethod(6)
474
+ def SetTaskbarIcon(self, iconPath: hstr) -> Void: ...
475
+ @winrt_commethod(7)
476
+ def SetTaskbarIconWithIconId(self, iconId: win32more.Microsoft.UI.IconId) -> Void: ...
477
+ @winrt_commethod(8)
478
+ def SetTitleBarIcon(self, iconPath: hstr) -> Void: ...
479
+ @winrt_commethod(9)
480
+ def SetTitleBarIconWithIconId(self, iconId: win32more.Microsoft.UI.IconId) -> Void: ...
456
481
  class IAppWindowChangedEventArgs(ComPtr):
457
482
  extends: IInspectable
458
483
  _classid_ = 'Microsoft.UI.Windowing.IAppWindowChangedEventArgs'
@@ -619,6 +644,15 @@ class IAppWindowTitleBar2(ComPtr):
619
644
  @winrt_commethod(7)
620
645
  def put_PreferredHeightOption(self, value: win32more.Microsoft.UI.Windowing.TitleBarHeightOption) -> Void: ...
621
646
  PreferredHeightOption = property(get_PreferredHeightOption, put_PreferredHeightOption)
647
+ class IAppWindowTitleBar3(ComPtr):
648
+ extends: IInspectable
649
+ _classid_ = 'Microsoft.UI.Windowing.IAppWindowTitleBar3'
650
+ _iid_ = Guid('{07146e74-0410-5597-aba7-1af276d2ae07}')
651
+ @winrt_commethod(6)
652
+ def get_PreferredTheme(self) -> win32more.Microsoft.UI.Windowing.TitleBarTheme: ...
653
+ @winrt_commethod(7)
654
+ def put_PreferredTheme(self, value: win32more.Microsoft.UI.Windowing.TitleBarTheme) -> Void: ...
655
+ PreferredTheme = property(get_PreferredTheme, put_PreferredTheme)
622
656
  class IAppWindowTitleBarStatics(ComPtr):
623
657
  extends: IInspectable
624
658
  _classid_ = 'Microsoft.UI.Windowing.IAppWindowTitleBarStatics'
@@ -779,6 +813,30 @@ class IOverlappedPresenter2(ComPtr):
779
813
  def MinimizeWithActivation(self, activateWindow: Boolean) -> Void: ...
780
814
  @winrt_commethod(7)
781
815
  def RestoreWithActivation(self, activateWindow: Boolean) -> Void: ...
816
+ class IOverlappedPresenter3(ComPtr):
817
+ extends: IInspectable
818
+ _classid_ = 'Microsoft.UI.Windowing.IOverlappedPresenter3'
819
+ _iid_ = Guid('{55d26138-4c38-57e7-a0c1-d467b774db8c}')
820
+ @winrt_commethod(6)
821
+ def get_PreferredMinimumHeight(self) -> win32more.Windows.Foundation.IReference[Int32]: ...
822
+ @winrt_commethod(7)
823
+ def put_PreferredMinimumHeight(self, value: win32more.Windows.Foundation.IReference[Int32]) -> Void: ...
824
+ @winrt_commethod(8)
825
+ def get_PreferredMinimumWidth(self) -> win32more.Windows.Foundation.IReference[Int32]: ...
826
+ @winrt_commethod(9)
827
+ def put_PreferredMinimumWidth(self, value: win32more.Windows.Foundation.IReference[Int32]) -> Void: ...
828
+ @winrt_commethod(10)
829
+ def get_PreferredMaximumWidth(self) -> win32more.Windows.Foundation.IReference[Int32]: ...
830
+ @winrt_commethod(11)
831
+ def put_PreferredMaximumWidth(self, value: win32more.Windows.Foundation.IReference[Int32]) -> Void: ...
832
+ @winrt_commethod(12)
833
+ def get_PreferredMaximumHeight(self) -> win32more.Windows.Foundation.IReference[Int32]: ...
834
+ @winrt_commethod(13)
835
+ def put_PreferredMaximumHeight(self, value: win32more.Windows.Foundation.IReference[Int32]) -> Void: ...
836
+ PreferredMaximumHeight = property(get_PreferredMaximumHeight, put_PreferredMaximumHeight)
837
+ PreferredMaximumWidth = property(get_PreferredMaximumWidth, put_PreferredMaximumWidth)
838
+ PreferredMinimumHeight = property(get_PreferredMinimumHeight, put_PreferredMinimumHeight)
839
+ PreferredMinimumWidth = property(get_PreferredMinimumWidth, put_PreferredMinimumWidth)
782
840
  class IOverlappedPresenterStatics(ComPtr):
783
841
  extends: IInspectable
784
842
  _classid_ = 'Microsoft.UI.Windowing.IOverlappedPresenterStatics'
@@ -808,7 +866,7 @@ class OverlappedPresenter(ComPtr, metaclass=_OverlappedPresenter_Meta_):
808
866
  default_interface: win32more.Microsoft.UI.Windowing.IOverlappedPresenter
809
867
  _classid_ = 'Microsoft.UI.Windowing.OverlappedPresenter'
810
868
  @winrt_mixinmethod
811
- def Restore(self: win32more.Microsoft.UI.Windowing.IOverlappedPresenter) -> Void: ...
869
+ def put_IsMaximizable(self: win32more.Microsoft.UI.Windowing.IOverlappedPresenter, value: Boolean) -> Void: ...
812
870
  @winrt_mixinmethod
813
871
  def get_HasTitleBar(self: win32more.Microsoft.UI.Windowing.IOverlappedPresenter) -> Boolean: ...
814
872
  @winrt_mixinmethod
@@ -818,7 +876,7 @@ class OverlappedPresenter(ComPtr, metaclass=_OverlappedPresenter_Meta_):
818
876
  @winrt_mixinmethod
819
877
  def get_IsMaximizable(self: win32more.Microsoft.UI.Windowing.IOverlappedPresenter) -> Boolean: ...
820
878
  @winrt_mixinmethod
821
- def put_IsMaximizable(self: win32more.Microsoft.UI.Windowing.IOverlappedPresenter, value: Boolean) -> Void: ...
879
+ def get_PreferredMinimumHeight(self: win32more.Microsoft.UI.Windowing.IOverlappedPresenter3) -> win32more.Windows.Foundation.IReference[Int32]: ...
822
880
  @winrt_mixinmethod
823
881
  def get_IsMinimizable(self: win32more.Microsoft.UI.Windowing.IOverlappedPresenter) -> Boolean: ...
824
882
  @winrt_mixinmethod
@@ -838,13 +896,29 @@ class OverlappedPresenter(ComPtr, metaclass=_OverlappedPresenter_Meta_):
838
896
  @winrt_mixinmethod
839
897
  def Minimize(self: win32more.Microsoft.UI.Windowing.IOverlappedPresenter) -> Void: ...
840
898
  @winrt_mixinmethod
841
- def get_HasBorder(self: win32more.Microsoft.UI.Windowing.IOverlappedPresenter) -> Boolean: ...
899
+ def Restore(self: win32more.Microsoft.UI.Windowing.IOverlappedPresenter) -> Void: ...
842
900
  @winrt_mixinmethod
843
901
  def SetBorderAndTitleBar(self: win32more.Microsoft.UI.Windowing.IOverlappedPresenter, hasBorder: Boolean, hasTitleBar: Boolean) -> Void: ...
844
902
  @winrt_mixinmethod
845
903
  def MinimizeWithActivation(self: win32more.Microsoft.UI.Windowing.IOverlappedPresenter2, activateWindow: Boolean) -> Void: ...
846
904
  @winrt_mixinmethod
847
905
  def RestoreWithActivation(self: win32more.Microsoft.UI.Windowing.IOverlappedPresenter2, activateWindow: Boolean) -> Void: ...
906
+ @winrt_mixinmethod
907
+ def get_HasBorder(self: win32more.Microsoft.UI.Windowing.IOverlappedPresenter) -> Boolean: ...
908
+ @winrt_mixinmethod
909
+ def put_PreferredMinimumHeight(self: win32more.Microsoft.UI.Windowing.IOverlappedPresenter3, value: win32more.Windows.Foundation.IReference[Int32]) -> Void: ...
910
+ @winrt_mixinmethod
911
+ def get_PreferredMinimumWidth(self: win32more.Microsoft.UI.Windowing.IOverlappedPresenter3) -> win32more.Windows.Foundation.IReference[Int32]: ...
912
+ @winrt_mixinmethod
913
+ def put_PreferredMinimumWidth(self: win32more.Microsoft.UI.Windowing.IOverlappedPresenter3, value: win32more.Windows.Foundation.IReference[Int32]) -> Void: ...
914
+ @winrt_mixinmethod
915
+ def get_PreferredMaximumWidth(self: win32more.Microsoft.UI.Windowing.IOverlappedPresenter3) -> win32more.Windows.Foundation.IReference[Int32]: ...
916
+ @winrt_mixinmethod
917
+ def put_PreferredMaximumWidth(self: win32more.Microsoft.UI.Windowing.IOverlappedPresenter3, value: win32more.Windows.Foundation.IReference[Int32]) -> Void: ...
918
+ @winrt_mixinmethod
919
+ def get_PreferredMaximumHeight(self: win32more.Microsoft.UI.Windowing.IOverlappedPresenter3) -> win32more.Windows.Foundation.IReference[Int32]: ...
920
+ @winrt_mixinmethod
921
+ def put_PreferredMaximumHeight(self: win32more.Microsoft.UI.Windowing.IOverlappedPresenter3, value: win32more.Windows.Foundation.IReference[Int32]) -> Void: ...
848
922
  @winrt_classmethod
849
923
  def get_RequestedStartupState(cls: win32more.Microsoft.UI.Windowing.IOverlappedPresenterStatics2) -> win32more.Microsoft.UI.Windowing.OverlappedPresenterState: ...
850
924
  @winrt_classmethod
@@ -862,6 +936,10 @@ class OverlappedPresenter(ComPtr, metaclass=_OverlappedPresenter_Meta_):
862
936
  IsMinimizable = property(get_IsMinimizable, put_IsMinimizable)
863
937
  IsModal = property(get_IsModal, put_IsModal)
864
938
  IsResizable = property(get_IsResizable, put_IsResizable)
939
+ PreferredMaximumHeight = property(get_PreferredMaximumHeight, put_PreferredMaximumHeight)
940
+ PreferredMaximumWidth = property(get_PreferredMaximumWidth, put_PreferredMaximumWidth)
941
+ PreferredMinimumHeight = property(get_PreferredMinimumHeight, put_PreferredMinimumHeight)
942
+ PreferredMinimumWidth = property(get_PreferredMinimumWidth, put_PreferredMinimumWidth)
865
943
  State = property(get_State, None)
866
944
  _OverlappedPresenter_Meta_.RequestedStartupState = property(get_RequestedStartupState, None)
867
945
  class OverlappedPresenterState(Enum, Int32):
@@ -872,6 +950,11 @@ class TitleBarHeightOption(Enum, Int32):
872
950
  Standard = 0
873
951
  Tall = 1
874
952
  Collapsed = 2
953
+ class TitleBarTheme(Enum, Int32):
954
+ Legacy = 0
955
+ UseDefaultAppMode = 1
956
+ Light = 2
957
+ Dark = 3
875
958
 
876
959
 
877
960
  make_ready(__name__)
@@ -5,6 +5,7 @@ import win32more.Microsoft.UI.Composition
5
5
  import win32more.Microsoft.UI.Input
6
6
  import win32more.Microsoft.UI.Text
7
7
  import win32more.Microsoft.UI.Xaml
8
+ import win32more.Microsoft.UI.Xaml.Automation.Peers
8
9
  import win32more.Microsoft.UI.Xaml.Controls
9
10
  import win32more.Microsoft.UI.Xaml.Controls.Primitives
10
11
  import win32more.Microsoft.UI.Xaml.Data
@@ -18701,6 +18702,140 @@ class ITimePickerValueChangedEventArgs(ComPtr):
18701
18702
  def get_NewTime(self) -> win32more.Windows.Foundation.TimeSpan: ...
18702
18703
  NewTime = property(get_NewTime, None)
18703
18704
  OldTime = property(get_OldTime, None)
18705
+ class ITitleBar(ComPtr):
18706
+ extends: IInspectable
18707
+ _classid_ = 'Microsoft.UI.Xaml.Controls.ITitleBar'
18708
+ _iid_ = Guid('{c552714d-5d30-5a2b-9c7a-d68bea3dde8d}')
18709
+ @winrt_commethod(6)
18710
+ def get_Title(self) -> hstr: ...
18711
+ @winrt_commethod(7)
18712
+ def put_Title(self, value: hstr) -> Void: ...
18713
+ @winrt_commethod(8)
18714
+ def get_Subtitle(self) -> hstr: ...
18715
+ @winrt_commethod(9)
18716
+ def put_Subtitle(self, value: hstr) -> Void: ...
18717
+ @winrt_commethod(10)
18718
+ def get_IconSource(self) -> win32more.Microsoft.UI.Xaml.Controls.IconSource: ...
18719
+ @winrt_commethod(11)
18720
+ def put_IconSource(self, value: win32more.Microsoft.UI.Xaml.Controls.IconSource) -> Void: ...
18721
+ @winrt_commethod(12)
18722
+ def get_LeftHeader(self) -> win32more.Microsoft.UI.Xaml.UIElement: ...
18723
+ @winrt_commethod(13)
18724
+ def put_LeftHeader(self, value: win32more.Microsoft.UI.Xaml.UIElement) -> Void: ...
18725
+ @winrt_commethod(14)
18726
+ def get_Content(self) -> win32more.Microsoft.UI.Xaml.UIElement: ...
18727
+ @winrt_commethod(15)
18728
+ def put_Content(self, value: win32more.Microsoft.UI.Xaml.UIElement) -> Void: ...
18729
+ @winrt_commethod(16)
18730
+ def get_RightHeader(self) -> win32more.Microsoft.UI.Xaml.UIElement: ...
18731
+ @winrt_commethod(17)
18732
+ def put_RightHeader(self, value: win32more.Microsoft.UI.Xaml.UIElement) -> Void: ...
18733
+ @winrt_commethod(18)
18734
+ def get_IsBackButtonVisible(self) -> Boolean: ...
18735
+ @winrt_commethod(19)
18736
+ def put_IsBackButtonVisible(self, value: Boolean) -> Void: ...
18737
+ @winrt_commethod(20)
18738
+ def get_IsBackButtonEnabled(self) -> Boolean: ...
18739
+ @winrt_commethod(21)
18740
+ def put_IsBackButtonEnabled(self, value: Boolean) -> Void: ...
18741
+ @winrt_commethod(22)
18742
+ def get_IsPaneToggleButtonVisible(self) -> Boolean: ...
18743
+ @winrt_commethod(23)
18744
+ def put_IsPaneToggleButtonVisible(self, value: Boolean) -> Void: ...
18745
+ @winrt_commethod(24)
18746
+ def get_TemplateSettings(self) -> win32more.Microsoft.UI.Xaml.Controls.TitleBarTemplateSettings: ...
18747
+ @winrt_commethod(25)
18748
+ def add_BackRequested(self, handler: win32more.Windows.Foundation.TypedEventHandler[win32more.Microsoft.UI.Xaml.Controls.TitleBar, IInspectable]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
18749
+ @winrt_commethod(26)
18750
+ def remove_BackRequested(self, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
18751
+ @winrt_commethod(27)
18752
+ def add_PaneToggleRequested(self, handler: win32more.Windows.Foundation.TypedEventHandler[win32more.Microsoft.UI.Xaml.Controls.TitleBar, IInspectable]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
18753
+ @winrt_commethod(28)
18754
+ def remove_PaneToggleRequested(self, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
18755
+ Content = property(get_Content, put_Content)
18756
+ IconSource = property(get_IconSource, put_IconSource)
18757
+ IsBackButtonEnabled = property(get_IsBackButtonEnabled, put_IsBackButtonEnabled)
18758
+ IsBackButtonVisible = property(get_IsBackButtonVisible, put_IsBackButtonVisible)
18759
+ IsPaneToggleButtonVisible = property(get_IsPaneToggleButtonVisible, put_IsPaneToggleButtonVisible)
18760
+ LeftHeader = property(get_LeftHeader, put_LeftHeader)
18761
+ RightHeader = property(get_RightHeader, put_RightHeader)
18762
+ Subtitle = property(get_Subtitle, put_Subtitle)
18763
+ TemplateSettings = property(get_TemplateSettings, None)
18764
+ Title = property(get_Title, put_Title)
18765
+ BackRequested = event(add_BackRequested, remove_BackRequested)
18766
+ PaneToggleRequested = event(add_PaneToggleRequested, remove_PaneToggleRequested)
18767
+ class ITitleBarAutomationPeer(ComPtr):
18768
+ extends: IInspectable
18769
+ _classid_ = 'Microsoft.UI.Xaml.Controls.ITitleBarAutomationPeer'
18770
+ _iid_ = Guid('{945f8144-68f1-5731-b850-3d0e664699ea}')
18771
+ class ITitleBarAutomationPeerFactory(ComPtr):
18772
+ extends: IInspectable
18773
+ _classid_ = 'Microsoft.UI.Xaml.Controls.ITitleBarAutomationPeerFactory'
18774
+ _iid_ = Guid('{fd01dfd8-41ff-5a4f-96ab-c5082262aecd}')
18775
+ @winrt_commethod(6)
18776
+ def CreateInstance(self, owner: win32more.Microsoft.UI.Xaml.Controls.TitleBar, baseInterface: IInspectable, innerInterface: POINTER(IInspectable)) -> win32more.Microsoft.UI.Xaml.Controls.TitleBarAutomationPeer: ...
18777
+ class ITitleBarFactory(ComPtr):
18778
+ extends: IInspectable
18779
+ _classid_ = 'Microsoft.UI.Xaml.Controls.ITitleBarFactory'
18780
+ _iid_ = Guid('{c4452799-4606-59ef-9392-a0548d48b82e}')
18781
+ @winrt_commethod(6)
18782
+ def CreateInstance(self, baseInterface: IInspectable, innerInterface: POINTER(IInspectable)) -> win32more.Microsoft.UI.Xaml.Controls.TitleBar: ...
18783
+ class ITitleBarStatics(ComPtr):
18784
+ extends: IInspectable
18785
+ _classid_ = 'Microsoft.UI.Xaml.Controls.ITitleBarStatics'
18786
+ _iid_ = Guid('{f9ada39b-1f24-5955-9b5c-cacbfe9a41cf}')
18787
+ @winrt_commethod(6)
18788
+ def get_TitleProperty(self) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
18789
+ @winrt_commethod(7)
18790
+ def get_SubtitleProperty(self) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
18791
+ @winrt_commethod(8)
18792
+ def get_IconSourceProperty(self) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
18793
+ @winrt_commethod(9)
18794
+ def get_LeftHeaderProperty(self) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
18795
+ @winrt_commethod(10)
18796
+ def get_ContentProperty(self) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
18797
+ @winrt_commethod(11)
18798
+ def get_RightHeaderProperty(self) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
18799
+ @winrt_commethod(12)
18800
+ def get_IsBackButtonVisibleProperty(self) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
18801
+ @winrt_commethod(13)
18802
+ def get_IsBackButtonEnabledProperty(self) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
18803
+ @winrt_commethod(14)
18804
+ def get_IsPaneToggleButtonVisibleProperty(self) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
18805
+ @winrt_commethod(15)
18806
+ def get_TemplateSettingsProperty(self) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
18807
+ ContentProperty = property(get_ContentProperty, None)
18808
+ IconSourceProperty = property(get_IconSourceProperty, None)
18809
+ IsBackButtonEnabledProperty = property(get_IsBackButtonEnabledProperty, None)
18810
+ IsBackButtonVisibleProperty = property(get_IsBackButtonVisibleProperty, None)
18811
+ IsPaneToggleButtonVisibleProperty = property(get_IsPaneToggleButtonVisibleProperty, None)
18812
+ LeftHeaderProperty = property(get_LeftHeaderProperty, None)
18813
+ RightHeaderProperty = property(get_RightHeaderProperty, None)
18814
+ SubtitleProperty = property(get_SubtitleProperty, None)
18815
+ TemplateSettingsProperty = property(get_TemplateSettingsProperty, None)
18816
+ TitleProperty = property(get_TitleProperty, None)
18817
+ class ITitleBarTemplateSettings(ComPtr):
18818
+ extends: IInspectable
18819
+ _classid_ = 'Microsoft.UI.Xaml.Controls.ITitleBarTemplateSettings'
18820
+ _iid_ = Guid('{be19011a-4957-5332-98b8-1704401b6a0e}')
18821
+ @winrt_commethod(6)
18822
+ def get_IconElement(self) -> win32more.Microsoft.UI.Xaml.Controls.IconElement: ...
18823
+ @winrt_commethod(7)
18824
+ def put_IconElement(self, value: win32more.Microsoft.UI.Xaml.Controls.IconElement) -> Void: ...
18825
+ IconElement = property(get_IconElement, put_IconElement)
18826
+ class ITitleBarTemplateSettingsFactory(ComPtr):
18827
+ extends: IInspectable
18828
+ _classid_ = 'Microsoft.UI.Xaml.Controls.ITitleBarTemplateSettingsFactory'
18829
+ _iid_ = Guid('{fcf9e48c-dfe4-55f3-b179-b900a7ae9c25}')
18830
+ @winrt_commethod(6)
18831
+ def CreateInstance(self, baseInterface: IInspectable, innerInterface: POINTER(IInspectable)) -> win32more.Microsoft.UI.Xaml.Controls.TitleBarTemplateSettings: ...
18832
+ class ITitleBarTemplateSettingsStatics(ComPtr):
18833
+ extends: IInspectable
18834
+ _classid_ = 'Microsoft.UI.Xaml.Controls.ITitleBarTemplateSettingsStatics'
18835
+ _iid_ = Guid('{f568e19b-b9af-5f1f-a752-482f12887434}')
18836
+ @winrt_commethod(6)
18837
+ def get_IconElementProperty(self) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
18838
+ IconElementProperty = property(get_IconElementProperty, None)
18704
18839
  class IToggleMenuFlyoutItem(ComPtr):
18705
18840
  extends: IInspectable
18706
18841
  _classid_ = 'Microsoft.UI.Xaml.Controls.IToggleMenuFlyoutItem'
@@ -29997,6 +30132,145 @@ class TimePickerValueChangedEventArgs(ComPtr):
29997
30132
  def get_NewTime(self: win32more.Microsoft.UI.Xaml.Controls.ITimePickerValueChangedEventArgs) -> win32more.Windows.Foundation.TimeSpan: ...
29998
30133
  NewTime = property(get_NewTime, None)
29999
30134
  OldTime = property(get_OldTime, None)
30135
+ class _TitleBar_Meta_(ComPtr.__class__):
30136
+ pass
30137
+ class TitleBar(ComPtr, metaclass=_TitleBar_Meta_):
30138
+ extends: win32more.Microsoft.UI.Xaml.Controls.Control
30139
+ default_interface: win32more.Microsoft.UI.Xaml.Controls.ITitleBar
30140
+ _classid_ = 'Microsoft.UI.Xaml.Controls.TitleBar'
30141
+ def __init__(self, *args, **kwargs):
30142
+ if kwargs:
30143
+ super().__init__(**kwargs)
30144
+ elif len(args) == 0:
30145
+ super().__init__(move=win32more.Microsoft.UI.Xaml.Controls.TitleBar.CreateInstance(*args, None, None))
30146
+ else:
30147
+ raise ValueError('no matched constructor')
30148
+ @winrt_factorymethod
30149
+ def CreateInstance(cls: win32more.Microsoft.UI.Xaml.Controls.ITitleBarFactory, baseInterface: IInspectable, innerInterface: POINTER(IInspectable)) -> win32more.Microsoft.UI.Xaml.Controls.TitleBar: ...
30150
+ @winrt_mixinmethod
30151
+ def get_Title(self: win32more.Microsoft.UI.Xaml.Controls.ITitleBar) -> hstr: ...
30152
+ @winrt_mixinmethod
30153
+ def put_Title(self: win32more.Microsoft.UI.Xaml.Controls.ITitleBar, value: hstr) -> Void: ...
30154
+ @winrt_mixinmethod
30155
+ def get_Subtitle(self: win32more.Microsoft.UI.Xaml.Controls.ITitleBar) -> hstr: ...
30156
+ @winrt_mixinmethod
30157
+ def put_Subtitle(self: win32more.Microsoft.UI.Xaml.Controls.ITitleBar, value: hstr) -> Void: ...
30158
+ @winrt_mixinmethod
30159
+ def get_IconSource(self: win32more.Microsoft.UI.Xaml.Controls.ITitleBar) -> win32more.Microsoft.UI.Xaml.Controls.IconSource: ...
30160
+ @winrt_mixinmethod
30161
+ def put_IconSource(self: win32more.Microsoft.UI.Xaml.Controls.ITitleBar, value: win32more.Microsoft.UI.Xaml.Controls.IconSource) -> Void: ...
30162
+ @winrt_mixinmethod
30163
+ def get_LeftHeader(self: win32more.Microsoft.UI.Xaml.Controls.ITitleBar) -> win32more.Microsoft.UI.Xaml.UIElement: ...
30164
+ @winrt_mixinmethod
30165
+ def put_LeftHeader(self: win32more.Microsoft.UI.Xaml.Controls.ITitleBar, value: win32more.Microsoft.UI.Xaml.UIElement) -> Void: ...
30166
+ @winrt_mixinmethod
30167
+ def get_Content(self: win32more.Microsoft.UI.Xaml.Controls.ITitleBar) -> win32more.Microsoft.UI.Xaml.UIElement: ...
30168
+ @winrt_mixinmethod
30169
+ def put_Content(self: win32more.Microsoft.UI.Xaml.Controls.ITitleBar, value: win32more.Microsoft.UI.Xaml.UIElement) -> Void: ...
30170
+ @winrt_mixinmethod
30171
+ def get_RightHeader(self: win32more.Microsoft.UI.Xaml.Controls.ITitleBar) -> win32more.Microsoft.UI.Xaml.UIElement: ...
30172
+ @winrt_mixinmethod
30173
+ def put_RightHeader(self: win32more.Microsoft.UI.Xaml.Controls.ITitleBar, value: win32more.Microsoft.UI.Xaml.UIElement) -> Void: ...
30174
+ @winrt_mixinmethod
30175
+ def get_IsBackButtonVisible(self: win32more.Microsoft.UI.Xaml.Controls.ITitleBar) -> Boolean: ...
30176
+ @winrt_mixinmethod
30177
+ def put_IsBackButtonVisible(self: win32more.Microsoft.UI.Xaml.Controls.ITitleBar, value: Boolean) -> Void: ...
30178
+ @winrt_mixinmethod
30179
+ def get_IsBackButtonEnabled(self: win32more.Microsoft.UI.Xaml.Controls.ITitleBar) -> Boolean: ...
30180
+ @winrt_mixinmethod
30181
+ def put_IsBackButtonEnabled(self: win32more.Microsoft.UI.Xaml.Controls.ITitleBar, value: Boolean) -> Void: ...
30182
+ @winrt_mixinmethod
30183
+ def get_IsPaneToggleButtonVisible(self: win32more.Microsoft.UI.Xaml.Controls.ITitleBar) -> Boolean: ...
30184
+ @winrt_mixinmethod
30185
+ def put_IsPaneToggleButtonVisible(self: win32more.Microsoft.UI.Xaml.Controls.ITitleBar, value: Boolean) -> Void: ...
30186
+ @winrt_mixinmethod
30187
+ def get_TemplateSettings(self: win32more.Microsoft.UI.Xaml.Controls.ITitleBar) -> win32more.Microsoft.UI.Xaml.Controls.TitleBarTemplateSettings: ...
30188
+ @winrt_mixinmethod
30189
+ def add_BackRequested(self: win32more.Microsoft.UI.Xaml.Controls.ITitleBar, handler: win32more.Windows.Foundation.TypedEventHandler[win32more.Microsoft.UI.Xaml.Controls.TitleBar, IInspectable]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
30190
+ @winrt_mixinmethod
30191
+ def remove_BackRequested(self: win32more.Microsoft.UI.Xaml.Controls.ITitleBar, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
30192
+ @winrt_mixinmethod
30193
+ def add_PaneToggleRequested(self: win32more.Microsoft.UI.Xaml.Controls.ITitleBar, handler: win32more.Windows.Foundation.TypedEventHandler[win32more.Microsoft.UI.Xaml.Controls.TitleBar, IInspectable]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
30194
+ @winrt_mixinmethod
30195
+ def remove_PaneToggleRequested(self: win32more.Microsoft.UI.Xaml.Controls.ITitleBar, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
30196
+ @winrt_classmethod
30197
+ def get_TitleProperty(cls: win32more.Microsoft.UI.Xaml.Controls.ITitleBarStatics) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
30198
+ @winrt_classmethod
30199
+ def get_SubtitleProperty(cls: win32more.Microsoft.UI.Xaml.Controls.ITitleBarStatics) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
30200
+ @winrt_classmethod
30201
+ def get_IconSourceProperty(cls: win32more.Microsoft.UI.Xaml.Controls.ITitleBarStatics) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
30202
+ @winrt_classmethod
30203
+ def get_LeftHeaderProperty(cls: win32more.Microsoft.UI.Xaml.Controls.ITitleBarStatics) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
30204
+ @winrt_classmethod
30205
+ def get_ContentProperty(cls: win32more.Microsoft.UI.Xaml.Controls.ITitleBarStatics) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
30206
+ @winrt_classmethod
30207
+ def get_RightHeaderProperty(cls: win32more.Microsoft.UI.Xaml.Controls.ITitleBarStatics) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
30208
+ @winrt_classmethod
30209
+ def get_IsBackButtonVisibleProperty(cls: win32more.Microsoft.UI.Xaml.Controls.ITitleBarStatics) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
30210
+ @winrt_classmethod
30211
+ def get_IsBackButtonEnabledProperty(cls: win32more.Microsoft.UI.Xaml.Controls.ITitleBarStatics) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
30212
+ @winrt_classmethod
30213
+ def get_IsPaneToggleButtonVisibleProperty(cls: win32more.Microsoft.UI.Xaml.Controls.ITitleBarStatics) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
30214
+ @winrt_classmethod
30215
+ def get_TemplateSettingsProperty(cls: win32more.Microsoft.UI.Xaml.Controls.ITitleBarStatics) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
30216
+ Content = property(get_Content, put_Content)
30217
+ IconSource = property(get_IconSource, put_IconSource)
30218
+ IsBackButtonEnabled = property(get_IsBackButtonEnabled, put_IsBackButtonEnabled)
30219
+ IsBackButtonVisible = property(get_IsBackButtonVisible, put_IsBackButtonVisible)
30220
+ IsPaneToggleButtonVisible = property(get_IsPaneToggleButtonVisible, put_IsPaneToggleButtonVisible)
30221
+ LeftHeader = property(get_LeftHeader, put_LeftHeader)
30222
+ RightHeader = property(get_RightHeader, put_RightHeader)
30223
+ Subtitle = property(get_Subtitle, put_Subtitle)
30224
+ TemplateSettings = property(get_TemplateSettings, None)
30225
+ Title = property(get_Title, put_Title)
30226
+ _TitleBar_Meta_.ContentProperty = property(get_ContentProperty, None)
30227
+ _TitleBar_Meta_.IconSourceProperty = property(get_IconSourceProperty, None)
30228
+ _TitleBar_Meta_.IsBackButtonEnabledProperty = property(get_IsBackButtonEnabledProperty, None)
30229
+ _TitleBar_Meta_.IsBackButtonVisibleProperty = property(get_IsBackButtonVisibleProperty, None)
30230
+ _TitleBar_Meta_.IsPaneToggleButtonVisibleProperty = property(get_IsPaneToggleButtonVisibleProperty, None)
30231
+ _TitleBar_Meta_.LeftHeaderProperty = property(get_LeftHeaderProperty, None)
30232
+ _TitleBar_Meta_.RightHeaderProperty = property(get_RightHeaderProperty, None)
30233
+ _TitleBar_Meta_.SubtitleProperty = property(get_SubtitleProperty, None)
30234
+ _TitleBar_Meta_.TemplateSettingsProperty = property(get_TemplateSettingsProperty, None)
30235
+ _TitleBar_Meta_.TitleProperty = property(get_TitleProperty, None)
30236
+ BackRequested = event(add_BackRequested, remove_BackRequested)
30237
+ PaneToggleRequested = event(add_PaneToggleRequested, remove_PaneToggleRequested)
30238
+ class TitleBarAutomationPeer(ComPtr):
30239
+ extends: win32more.Microsoft.UI.Xaml.Automation.Peers.FrameworkElementAutomationPeer
30240
+ default_interface: win32more.Microsoft.UI.Xaml.Controls.ITitleBarAutomationPeer
30241
+ _classid_ = 'Microsoft.UI.Xaml.Controls.TitleBarAutomationPeer'
30242
+ def __init__(self, *args, **kwargs):
30243
+ if kwargs:
30244
+ super().__init__(**kwargs)
30245
+ elif len(args) == 1:
30246
+ super().__init__(move=win32more.Microsoft.UI.Xaml.Controls.TitleBarAutomationPeer.CreateInstance(*args, None, None))
30247
+ else:
30248
+ raise ValueError('no matched constructor')
30249
+ @winrt_factorymethod
30250
+ def CreateInstance(cls: win32more.Microsoft.UI.Xaml.Controls.ITitleBarAutomationPeerFactory, owner: win32more.Microsoft.UI.Xaml.Controls.TitleBar, baseInterface: IInspectable, innerInterface: POINTER(IInspectable)) -> win32more.Microsoft.UI.Xaml.Controls.TitleBarAutomationPeer: ...
30251
+ class _TitleBarTemplateSettings_Meta_(ComPtr.__class__):
30252
+ pass
30253
+ class TitleBarTemplateSettings(ComPtr, metaclass=_TitleBarTemplateSettings_Meta_):
30254
+ extends: win32more.Microsoft.UI.Xaml.DependencyObject
30255
+ default_interface: win32more.Microsoft.UI.Xaml.Controls.ITitleBarTemplateSettings
30256
+ _classid_ = 'Microsoft.UI.Xaml.Controls.TitleBarTemplateSettings'
30257
+ def __init__(self, *args, **kwargs):
30258
+ if kwargs:
30259
+ super().__init__(**kwargs)
30260
+ elif len(args) == 0:
30261
+ super().__init__(move=win32more.Microsoft.UI.Xaml.Controls.TitleBarTemplateSettings.CreateInstance(*args, None, None))
30262
+ else:
30263
+ raise ValueError('no matched constructor')
30264
+ @winrt_factorymethod
30265
+ def CreateInstance(cls: win32more.Microsoft.UI.Xaml.Controls.ITitleBarTemplateSettingsFactory, baseInterface: IInspectable, innerInterface: POINTER(IInspectable)) -> win32more.Microsoft.UI.Xaml.Controls.TitleBarTemplateSettings: ...
30266
+ @winrt_mixinmethod
30267
+ def get_IconElement(self: win32more.Microsoft.UI.Xaml.Controls.ITitleBarTemplateSettings) -> win32more.Microsoft.UI.Xaml.Controls.IconElement: ...
30268
+ @winrt_mixinmethod
30269
+ def put_IconElement(self: win32more.Microsoft.UI.Xaml.Controls.ITitleBarTemplateSettings, value: win32more.Microsoft.UI.Xaml.Controls.IconElement) -> Void: ...
30270
+ @winrt_classmethod
30271
+ def get_IconElementProperty(cls: win32more.Microsoft.UI.Xaml.Controls.ITitleBarTemplateSettingsStatics) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
30272
+ IconElement = property(get_IconElement, put_IconElement)
30273
+ _TitleBarTemplateSettings_Meta_.IconElementProperty = property(get_IconElementProperty, None)
30000
30274
  class _ToggleMenuFlyoutItem_Meta_(ComPtr.__class__):
30001
30275
  pass
30002
30276
  class ToggleMenuFlyoutItem(ComPtr, metaclass=_ToggleMenuFlyoutItem_Meta_):