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.
- win32more/Microsoft/Foundation/__init__.py +2 -2
- win32more/Microsoft/Graphics/DirectX/__init__.py +1 -1
- win32more/Microsoft/Graphics/Display/__init__.py +9 -9
- win32more/Microsoft/UI/Composition/Core/__init__.py +9 -9
- win32more/Microsoft/UI/Composition/Diagnostics/__init__.py +3 -3
- win32more/Microsoft/UI/Composition/Effects/__init__.py +11 -11
- win32more/Microsoft/UI/Composition/Interactions/__init__.py +95 -95
- win32more/Microsoft/UI/Composition/Scenes/__init__.py +81 -81
- win32more/Microsoft/UI/Composition/SystemBackdrops/__init__.py +41 -41
- win32more/Microsoft/UI/Composition/__init__.py +261 -261
- win32more/Microsoft/UI/Content/__init__.py +55 -696
- win32more/Microsoft/UI/Dispatching/__init__.py +15 -15
- win32more/Microsoft/UI/Input/DragDrop/__init__.py +13 -13
- win32more/Microsoft/UI/Input/Interop/__init__.py +1 -1
- win32more/Microsoft/UI/Input/__init__.py +150 -376
- win32more/Microsoft/UI/System/__init__.py +5 -5
- win32more/Microsoft/UI/Text/__init__.py +26 -47
- win32more/Microsoft/UI/Windowing/__init__.py +42 -125
- win32more/Microsoft/UI/Xaml/Automation/Peers/__init__.py +56 -78
- win32more/Microsoft/UI/Xaml/Automation/Provider/__init__.py +19 -19
- win32more/Microsoft/UI/Xaml/Automation/Text/__init__.py +1 -1
- win32more/Microsoft/UI/Xaml/Automation/__init__.py +41 -41
- win32more/Microsoft/UI/Xaml/Controls/AnimatedVisuals/__init__.py +17 -17
- win32more/Microsoft/UI/Xaml/Controls/Primitives/__init__.py +108 -107
- win32more/Microsoft/UI/Xaml/Controls/__init__.py +727 -1217
- win32more/Microsoft/UI/Xaml/Core/Direct/__init__.py +7 -0
- win32more/Microsoft/UI/Xaml/Data/__init__.py +31 -30
- win32more/Microsoft/UI/Xaml/Documents/__init__.py +38 -37
- win32more/Microsoft/UI/Xaml/Hosting/__init__.py +7 -7
- win32more/Microsoft/UI/Xaml/Input/__init__.py +38 -31
- win32more/Microsoft/UI/Xaml/Interop/__init__.py +3 -3
- win32more/Microsoft/UI/Xaml/Markup/__init__.py +19 -17
- win32more/Microsoft/UI/Xaml/Media/Animation/__init__.py +111 -109
- win32more/Microsoft/UI/Xaml/Media/Imaging/__init__.py +11 -11
- win32more/Microsoft/UI/Xaml/Media/Media3D/__init__.py +2 -1
- win32more/Microsoft/UI/Xaml/Media/__init__.py +34 -28
- win32more/Microsoft/UI/Xaml/Navigation/__init__.py +1 -1
- win32more/Microsoft/UI/Xaml/Printing/__init__.py +7 -7
- win32more/Microsoft/UI/Xaml/Resources/__init__.py +3 -3
- win32more/Microsoft/UI/Xaml/Shapes/__init__.py +1 -1
- win32more/Microsoft/UI/Xaml/XamlTypeInfo/__init__.py +2 -2
- win32more/Microsoft/UI/Xaml/__init__.py +192 -260
- win32more/Microsoft/UI/__init__.py +6 -11
- win32more/Microsoft/Web/WebView2/Core/__init__.py +4686 -0
- win32more/Microsoft/Windows/AppLifecycle/__init__.py +21 -21
- win32more/Microsoft/Windows/AppNotifications/Builder/__init__.py +100 -100
- win32more/Microsoft/Windows/AppNotifications/__init__.py +46 -46
- win32more/Microsoft/Windows/ApplicationModel/DynamicDependency/__init__.py +22 -21
- win32more/Microsoft/Windows/ApplicationModel/Resources/__init__.py +60 -60
- win32more/Microsoft/Windows/ApplicationModel/WindowsAppRuntime/__init__.py +1 -118
- win32more/Microsoft/Windows/Management/Deployment/__init__.py +83 -143
- win32more/Microsoft/Windows/PushNotifications/__init__.py +6 -5
- win32more/Microsoft/Windows/Security/AccessControl/__init__.py +7 -6
- win32more/Microsoft/Windows/System/Power/__init__.py +23 -12
- win32more/Microsoft/Windows/System/__init__.py +15 -15
- win32more/Microsoft/Windows/Widgets/Feeds/Providers/__init__.py +25 -292
- win32more/Microsoft/Windows/Widgets/Providers/__init__.py +49 -260
- win32more/Microsoft/Windows/Widgets/__init__.py +2 -2
- win32more/appsdk/versioninfo.py +2 -2
- win32more/dll/arm64/Microsoft.WindowsAppRuntime.Bootstrap.dll +0 -0
- win32more/dll/x64/Microsoft.WindowsAppRuntime.Bootstrap.dll +0 -0
- win32more/dll/x86/Microsoft.WindowsAppRuntime.Bootstrap.dll +0 -0
- win32more_microsoft_windowsappsdk-0.7.1.5.240311000.dist-info/METADATA +5 -0
- win32more_microsoft_windowsappsdk-0.7.1.5.240311000.dist-info/RECORD +66 -0
- {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
- win32more/Microsoft/Graphics/Imaging/__init__.py +0 -77
- win32more/Microsoft/Security/Authentication/OAuth/__init__.py +0 -591
- win32more/Microsoft/Windows/AI/ContentSafety/__init__.py +0 -197
- win32more/Microsoft/Windows/AI/Foundation/__init__.py +0 -46
- win32more/Microsoft/Windows/AI/Imaging/__init__.py +0 -365
- win32more/Microsoft/Windows/AI/MachineLearning/__init__.py +0 -122
- win32more/Microsoft/Windows/AI/Text/__init__.py +0 -498
- win32more/Microsoft/Windows/AI/__init__.py +0 -49
- win32more/Microsoft/Windows/ApplicationModel/Background/UniversalBGTask/__init__.py +0 -27
- win32more/Microsoft/Windows/ApplicationModel/Background/__init__.py +0 -65
- win32more/Microsoft/Windows/BadgeNotifications/__init__.py +0 -53
- win32more/Microsoft/Windows/Foundation/__init__.py +0 -220
- win32more/Microsoft/Windows/Globalization/__init__.py +0 -38
- win32more/Microsoft/Windows/Media/Capture/__init__.py +0 -196
- win32more/Microsoft/Windows/Storage/Pickers/__init__.py +0 -258
- win32more/Microsoft/Windows/Storage/__init__.py +0 -178
- win32more/Microsoft/Windows/Widgets/Notifications/__init__.py +0 -193
- win32more/Microsoft/Windows/Workloads/__init__.py +0 -11
- win32more/dll/arm64/Microsoft.Windows.ApplicationModel.Background.UniversalBGTask.dll +0 -0
- win32more/dll/x64/Microsoft.Windows.ApplicationModel.Background.UniversalBGTask.dll +0 -0
- win32more/dll/x86/Microsoft.Windows.ApplicationModel.Background.UniversalBGTask.dll +0 -0
- win32more_microsoft_windowsappsdk-0.6.1.8.251003001.dist-info/METADATA +0 -6
- win32more_microsoft_windowsappsdk-0.6.1.8.251003001.dist-info/RECORD +0 -85
- {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.
|
|
2
|
+
from win32more._prelude import *
|
|
3
3
|
import win32more.Microsoft.UI
|
|
4
4
|
import win32more.Microsoft.UI.System
|
|
5
5
|
import win32more.Windows.Foundation
|
|
@@ -14,10 +14,10 @@ class IThemeSettings(ComPtr):
|
|
|
14
14
|
@winrt_commethod(8)
|
|
15
15
|
def get_HighContrast(self) -> Boolean: ...
|
|
16
16
|
@winrt_commethod(9)
|
|
17
|
-
def get_HighContrastScheme(self) ->
|
|
17
|
+
def get_HighContrastScheme(self) -> hstr: ...
|
|
18
18
|
HighContrast = property(get_HighContrast, None)
|
|
19
19
|
HighContrastScheme = property(get_HighContrastScheme, None)
|
|
20
|
-
Changed = event()
|
|
20
|
+
Changed = event(add_Changed, remove_Changed)
|
|
21
21
|
class IThemeSettingsStatics(ComPtr):
|
|
22
22
|
extends: IInspectable
|
|
23
23
|
_classid_ = 'Microsoft.UI.System.IThemeSettingsStatics'
|
|
@@ -35,12 +35,12 @@ class ThemeSettings(ComPtr):
|
|
|
35
35
|
@winrt_mixinmethod
|
|
36
36
|
def get_HighContrast(self: win32more.Microsoft.UI.System.IThemeSettings) -> Boolean: ...
|
|
37
37
|
@winrt_mixinmethod
|
|
38
|
-
def get_HighContrastScheme(self: win32more.Microsoft.UI.System.IThemeSettings) ->
|
|
38
|
+
def get_HighContrastScheme(self: win32more.Microsoft.UI.System.IThemeSettings) -> hstr: ...
|
|
39
39
|
@winrt_classmethod
|
|
40
40
|
def CreateForWindowId(cls: win32more.Microsoft.UI.System.IThemeSettingsStatics, windowId: win32more.Microsoft.UI.WindowId) -> win32more.Microsoft.UI.System.ThemeSettings: ...
|
|
41
41
|
HighContrast = property(get_HighContrast, None)
|
|
42
42
|
HighContrastScheme = property(get_HighContrastScheme, None)
|
|
43
|
-
Changed = event()
|
|
43
|
+
Changed = event(add_Changed, remove_Changed)
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
make_ready(__name__)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
from __future__ import annotations
|
|
2
|
-
from win32more.
|
|
2
|
+
from win32more._prelude import *
|
|
3
3
|
import win32more.Microsoft.UI.Text
|
|
4
4
|
import win32more.Windows.Foundation
|
|
5
5
|
import win32more.Windows.Storage.Streams
|
|
@@ -142,15 +142,15 @@ class ITextCharacterFormat(ComPtr):
|
|
|
142
142
|
@winrt_commethod(23)
|
|
143
143
|
def put_Kerning(self, value: Single) -> Void: ...
|
|
144
144
|
@winrt_commethod(24)
|
|
145
|
-
def get_LanguageTag(self) ->
|
|
145
|
+
def get_LanguageTag(self) -> hstr: ...
|
|
146
146
|
@winrt_commethod(25)
|
|
147
|
-
def put_LanguageTag(self, value:
|
|
147
|
+
def put_LanguageTag(self, value: hstr) -> Void: ...
|
|
148
148
|
@winrt_commethod(26)
|
|
149
149
|
def get_LinkType(self) -> win32more.Microsoft.UI.Text.LinkType: ...
|
|
150
150
|
@winrt_commethod(27)
|
|
151
|
-
def get_Name(self) ->
|
|
151
|
+
def get_Name(self) -> hstr: ...
|
|
152
152
|
@winrt_commethod(28)
|
|
153
|
-
def put_Name(self, value:
|
|
153
|
+
def put_Name(self, value: hstr) -> Void: ...
|
|
154
154
|
@winrt_commethod(29)
|
|
155
155
|
def get_Outline(self) -> win32more.Microsoft.UI.Text.FormatEffect: ...
|
|
156
156
|
@winrt_commethod(30)
|
|
@@ -300,7 +300,7 @@ class ITextDocument(ComPtr):
|
|
|
300
300
|
@winrt_commethod(24)
|
|
301
301
|
def GetRangeFromPoint(self, point: win32more.Windows.Foundation.Point, options: win32more.Microsoft.UI.Text.PointOptions) -> win32more.Microsoft.UI.Text.ITextRange: ...
|
|
302
302
|
@winrt_commethod(25)
|
|
303
|
-
def GetText(self, options: win32more.Microsoft.UI.Text.TextGetOptions, value: POINTER(
|
|
303
|
+
def GetText(self, options: win32more.Microsoft.UI.Text.TextGetOptions, value: POINTER(hstr)) -> Void: ...
|
|
304
304
|
@winrt_commethod(26)
|
|
305
305
|
def LoadFromStream(self, options: win32more.Microsoft.UI.Text.TextSetOptions, value: win32more.Windows.Storage.Streams.IRandomAccessStream) -> Void: ...
|
|
306
306
|
@winrt_commethod(27)
|
|
@@ -312,7 +312,7 @@ class ITextDocument(ComPtr):
|
|
|
312
312
|
@winrt_commethod(30)
|
|
313
313
|
def SetDefaultParagraphFormat(self, value: win32more.Microsoft.UI.Text.ITextParagraphFormat) -> Void: ...
|
|
314
314
|
@winrt_commethod(31)
|
|
315
|
-
def SetText(self, options: win32more.Microsoft.UI.Text.TextSetOptions, value:
|
|
315
|
+
def SetText(self, options: win32more.Microsoft.UI.Text.TextSetOptions, value: hstr) -> Void: ...
|
|
316
316
|
@winrt_commethod(32)
|
|
317
317
|
def Undo(self) -> Void: ...
|
|
318
318
|
@winrt_commethod(33)
|
|
@@ -331,18 +331,6 @@ class ITextDocument(ComPtr):
|
|
|
331
331
|
IgnoreTrailingCharacterSpacing = property(get_IgnoreTrailingCharacterSpacing, put_IgnoreTrailingCharacterSpacing)
|
|
332
332
|
Selection = property(get_Selection, None)
|
|
333
333
|
UndoLimit = property(get_UndoLimit, put_UndoLimit)
|
|
334
|
-
class ITextDocument2(ComPtr):
|
|
335
|
-
extends: IInspectable
|
|
336
|
-
_classid_ = 'Microsoft.UI.Text.ITextDocument2'
|
|
337
|
-
_iid_ = Guid('{21febcf1-2110-5879-b1da-b343097e71e1}')
|
|
338
|
-
@winrt_commethod(6)
|
|
339
|
-
def GetMathMode(self) -> win32more.Microsoft.UI.Text.RichEditMathMode: ...
|
|
340
|
-
@winrt_commethod(7)
|
|
341
|
-
def SetMathMode(self, mode: win32more.Microsoft.UI.Text.RichEditMathMode) -> Void: ...
|
|
342
|
-
@winrt_commethod(8)
|
|
343
|
-
def GetMathML(self, value: POINTER(WinRT_String)) -> Void: ...
|
|
344
|
-
@winrt_commethod(9)
|
|
345
|
-
def SetMathML(self, value: WinRT_String) -> Void: ...
|
|
346
334
|
class ITextParagraphFormat(ComPtr):
|
|
347
335
|
extends: IInspectable
|
|
348
336
|
_classid_ = 'Microsoft.UI.Text.ITextParagraphFormat'
|
|
@@ -492,9 +480,9 @@ class ITextRange(ComPtr):
|
|
|
492
480
|
@winrt_commethod(16)
|
|
493
481
|
def get_Length(self) -> Int32: ...
|
|
494
482
|
@winrt_commethod(17)
|
|
495
|
-
def get_Link(self) ->
|
|
483
|
+
def get_Link(self) -> hstr: ...
|
|
496
484
|
@winrt_commethod(18)
|
|
497
|
-
def put_Link(self, value:
|
|
485
|
+
def put_Link(self, value: hstr) -> Void: ...
|
|
498
486
|
@winrt_commethod(19)
|
|
499
487
|
def get_ParagraphFormat(self) -> win32more.Microsoft.UI.Text.ITextParagraphFormat: ...
|
|
500
488
|
@winrt_commethod(20)
|
|
@@ -506,9 +494,9 @@ class ITextRange(ComPtr):
|
|
|
506
494
|
@winrt_commethod(23)
|
|
507
495
|
def get_StoryLength(self) -> Int32: ...
|
|
508
496
|
@winrt_commethod(24)
|
|
509
|
-
def get_Text(self) ->
|
|
497
|
+
def get_Text(self) -> hstr: ...
|
|
510
498
|
@winrt_commethod(25)
|
|
511
|
-
def put_Text(self, value:
|
|
499
|
+
def put_Text(self, value: hstr) -> Void: ...
|
|
512
500
|
@winrt_commethod(26)
|
|
513
501
|
def CanPaste(self, format: Int32) -> Boolean: ...
|
|
514
502
|
@winrt_commethod(27)
|
|
@@ -526,7 +514,7 @@ class ITextRange(ComPtr):
|
|
|
526
514
|
@winrt_commethod(33)
|
|
527
515
|
def Expand(self, unit: win32more.Microsoft.UI.Text.TextRangeUnit) -> Int32: ...
|
|
528
516
|
@winrt_commethod(34)
|
|
529
|
-
def FindText(self, value:
|
|
517
|
+
def FindText(self, value: hstr, scanLength: Int32, options: win32more.Microsoft.UI.Text.FindOptions) -> Int32: ...
|
|
530
518
|
@winrt_commethod(35)
|
|
531
519
|
def GetCharacterUtf32(self, value: POINTER(UInt32), offset: Int32) -> Void: ...
|
|
532
520
|
@winrt_commethod(36)
|
|
@@ -538,13 +526,13 @@ class ITextRange(ComPtr):
|
|
|
538
526
|
@winrt_commethod(39)
|
|
539
527
|
def GetRect(self, options: win32more.Microsoft.UI.Text.PointOptions, rect: POINTER(win32more.Windows.Foundation.Rect), hit: POINTER(Int32)) -> Void: ...
|
|
540
528
|
@winrt_commethod(40)
|
|
541
|
-
def GetText(self, options: win32more.Microsoft.UI.Text.TextGetOptions, value: POINTER(
|
|
529
|
+
def GetText(self, options: win32more.Microsoft.UI.Text.TextGetOptions, value: POINTER(hstr)) -> Void: ...
|
|
542
530
|
@winrt_commethod(41)
|
|
543
531
|
def GetTextViaStream(self, options: win32more.Microsoft.UI.Text.TextGetOptions, value: win32more.Windows.Storage.Streams.IRandomAccessStream) -> Void: ...
|
|
544
532
|
@winrt_commethod(42)
|
|
545
533
|
def InRange(self, range: win32more.Microsoft.UI.Text.ITextRange) -> Boolean: ...
|
|
546
534
|
@winrt_commethod(43)
|
|
547
|
-
def InsertImage(self, width: Int32, height: Int32, ascent: Int32, verticalAlign: win32more.Microsoft.UI.Text.VerticalCharacterAlignment, alternateText:
|
|
535
|
+
def InsertImage(self, width: Int32, height: Int32, ascent: Int32, verticalAlign: win32more.Microsoft.UI.Text.VerticalCharacterAlignment, alternateText: hstr, value: win32more.Windows.Storage.Streams.IRandomAccessStream) -> Void: ...
|
|
548
536
|
@winrt_commethod(44)
|
|
549
537
|
def InStory(self, range: win32more.Microsoft.UI.Text.ITextRange) -> Boolean: ...
|
|
550
538
|
@winrt_commethod(45)
|
|
@@ -568,7 +556,7 @@ class ITextRange(ComPtr):
|
|
|
568
556
|
@winrt_commethod(54)
|
|
569
557
|
def SetRange(self, startPosition: Int32, endPosition: Int32) -> Void: ...
|
|
570
558
|
@winrt_commethod(55)
|
|
571
|
-
def SetText(self, options: win32more.Microsoft.UI.Text.TextSetOptions, value:
|
|
559
|
+
def SetText(self, options: win32more.Microsoft.UI.Text.TextSetOptions, value: hstr) -> Void: ...
|
|
572
560
|
@winrt_commethod(56)
|
|
573
561
|
def SetTextViaStream(self, options: win32more.Microsoft.UI.Text.TextSetOptions, value: win32more.Windows.Storage.Streams.IRandomAccessStream) -> Void: ...
|
|
574
562
|
@winrt_commethod(57)
|
|
@@ -607,7 +595,7 @@ class ITextSelection(ComPtr):
|
|
|
607
595
|
@winrt_commethod(14)
|
|
608
596
|
def MoveUp(self, unit: win32more.Microsoft.UI.Text.TextRangeUnit, count: Int32, extend: Boolean) -> Int32: ...
|
|
609
597
|
@winrt_commethod(15)
|
|
610
|
-
def TypeText(self, value:
|
|
598
|
+
def TypeText(self, value: hstr) -> Void: ...
|
|
611
599
|
Options = property(get_Options, put_Options)
|
|
612
600
|
Type = property(get_Type, None)
|
|
613
601
|
class LetterCase(Enum, Int32):
|
|
@@ -751,7 +739,7 @@ class RichEditTextDocument(ComPtr):
|
|
|
751
739
|
@winrt_mixinmethod
|
|
752
740
|
def GetRangeFromPoint(self: win32more.Microsoft.UI.Text.ITextDocument, point: win32more.Windows.Foundation.Point, options: win32more.Microsoft.UI.Text.PointOptions) -> win32more.Microsoft.UI.Text.ITextRange: ...
|
|
753
741
|
@winrt_mixinmethod
|
|
754
|
-
def GetText(self: win32more.Microsoft.UI.Text.ITextDocument, options: win32more.Microsoft.UI.Text.TextGetOptions, value: POINTER(
|
|
742
|
+
def GetText(self: win32more.Microsoft.UI.Text.ITextDocument, options: win32more.Microsoft.UI.Text.TextGetOptions, value: POINTER(hstr)) -> Void: ...
|
|
755
743
|
@winrt_mixinmethod
|
|
756
744
|
def LoadFromStream(self: win32more.Microsoft.UI.Text.ITextDocument, options: win32more.Microsoft.UI.Text.TextSetOptions, value: win32more.Windows.Storage.Streams.IRandomAccessStream) -> Void: ...
|
|
757
745
|
@winrt_mixinmethod
|
|
@@ -763,7 +751,7 @@ class RichEditTextDocument(ComPtr):
|
|
|
763
751
|
@winrt_mixinmethod
|
|
764
752
|
def SetDefaultParagraphFormat(self: win32more.Microsoft.UI.Text.ITextDocument, value: win32more.Microsoft.UI.Text.ITextParagraphFormat) -> Void: ...
|
|
765
753
|
@winrt_mixinmethod
|
|
766
|
-
def SetText(self: win32more.Microsoft.UI.Text.ITextDocument, options: win32more.Microsoft.UI.Text.TextSetOptions, value:
|
|
754
|
+
def SetText(self: win32more.Microsoft.UI.Text.ITextDocument, options: win32more.Microsoft.UI.Text.TextSetOptions, value: hstr) -> Void: ...
|
|
767
755
|
@winrt_mixinmethod
|
|
768
756
|
def Undo(self: win32more.Microsoft.UI.Text.ITextDocument) -> Void: ...
|
|
769
757
|
@winrt_mixinmethod
|
|
@@ -776,14 +764,6 @@ class RichEditTextDocument(ComPtr):
|
|
|
776
764
|
def put_IgnoreTrailingCharacterSpacing(self: win32more.Microsoft.UI.Text.ITextDocument, value: Boolean) -> Void: ...
|
|
777
765
|
@winrt_mixinmethod
|
|
778
766
|
def ClearUndoRedoHistory(self: win32more.Microsoft.UI.Text.ITextDocument) -> Void: ...
|
|
779
|
-
@winrt_mixinmethod
|
|
780
|
-
def GetMathMode(self: win32more.Microsoft.UI.Text.ITextDocument2) -> win32more.Microsoft.UI.Text.RichEditMathMode: ...
|
|
781
|
-
@winrt_mixinmethod
|
|
782
|
-
def SetMathMode(self: win32more.Microsoft.UI.Text.ITextDocument2, mode: win32more.Microsoft.UI.Text.RichEditMathMode) -> Void: ...
|
|
783
|
-
@winrt_mixinmethod
|
|
784
|
-
def GetMathML(self: win32more.Microsoft.UI.Text.ITextDocument2, value: POINTER(WinRT_String)) -> Void: ...
|
|
785
|
-
@winrt_mixinmethod
|
|
786
|
-
def SetMathML(self: win32more.Microsoft.UI.Text.ITextDocument2, value: WinRT_String) -> Void: ...
|
|
787
767
|
AlignmentIncludesTrailingWhitespace = property(get_AlignmentIncludesTrailingWhitespace, put_AlignmentIncludesTrailingWhitespace)
|
|
788
768
|
CaretType = property(get_CaretType, put_CaretType)
|
|
789
769
|
DefaultTabStop = property(get_DefaultTabStop, put_DefaultTabStop)
|
|
@@ -817,9 +797,9 @@ class RichEditTextRange(ComPtr):
|
|
|
817
797
|
@winrt_mixinmethod
|
|
818
798
|
def get_Length(self: win32more.Microsoft.UI.Text.ITextRange) -> Int32: ...
|
|
819
799
|
@winrt_mixinmethod
|
|
820
|
-
def get_Link(self: win32more.Microsoft.UI.Text.ITextRange) ->
|
|
800
|
+
def get_Link(self: win32more.Microsoft.UI.Text.ITextRange) -> hstr: ...
|
|
821
801
|
@winrt_mixinmethod
|
|
822
|
-
def put_Link(self: win32more.Microsoft.UI.Text.ITextRange, value:
|
|
802
|
+
def put_Link(self: win32more.Microsoft.UI.Text.ITextRange, value: hstr) -> Void: ...
|
|
823
803
|
@winrt_mixinmethod
|
|
824
804
|
def get_ParagraphFormat(self: win32more.Microsoft.UI.Text.ITextRange) -> win32more.Microsoft.UI.Text.ITextParagraphFormat: ...
|
|
825
805
|
@winrt_mixinmethod
|
|
@@ -831,9 +811,9 @@ class RichEditTextRange(ComPtr):
|
|
|
831
811
|
@winrt_mixinmethod
|
|
832
812
|
def get_StoryLength(self: win32more.Microsoft.UI.Text.ITextRange) -> Int32: ...
|
|
833
813
|
@winrt_mixinmethod
|
|
834
|
-
def get_Text(self: win32more.Microsoft.UI.Text.ITextRange) ->
|
|
814
|
+
def get_Text(self: win32more.Microsoft.UI.Text.ITextRange) -> hstr: ...
|
|
835
815
|
@winrt_mixinmethod
|
|
836
|
-
def put_Text(self: win32more.Microsoft.UI.Text.ITextRange, value:
|
|
816
|
+
def put_Text(self: win32more.Microsoft.UI.Text.ITextRange, value: hstr) -> Void: ...
|
|
837
817
|
@winrt_mixinmethod
|
|
838
818
|
def CanPaste(self: win32more.Microsoft.UI.Text.ITextRange, format: Int32) -> Boolean: ...
|
|
839
819
|
@winrt_mixinmethod
|
|
@@ -851,7 +831,7 @@ class RichEditTextRange(ComPtr):
|
|
|
851
831
|
@winrt_mixinmethod
|
|
852
832
|
def Expand(self: win32more.Microsoft.UI.Text.ITextRange, unit: win32more.Microsoft.UI.Text.TextRangeUnit) -> Int32: ...
|
|
853
833
|
@winrt_mixinmethod
|
|
854
|
-
def FindText(self: win32more.Microsoft.UI.Text.ITextRange, value:
|
|
834
|
+
def FindText(self: win32more.Microsoft.UI.Text.ITextRange, value: hstr, scanLength: Int32, options: win32more.Microsoft.UI.Text.FindOptions) -> Int32: ...
|
|
855
835
|
@winrt_mixinmethod
|
|
856
836
|
def GetCharacterUtf32(self: win32more.Microsoft.UI.Text.ITextRange, value: POINTER(UInt32), offset: Int32) -> Void: ...
|
|
857
837
|
@winrt_mixinmethod
|
|
@@ -863,13 +843,13 @@ class RichEditTextRange(ComPtr):
|
|
|
863
843
|
@winrt_mixinmethod
|
|
864
844
|
def GetRect(self: win32more.Microsoft.UI.Text.ITextRange, options: win32more.Microsoft.UI.Text.PointOptions, rect: POINTER(win32more.Windows.Foundation.Rect), hit: POINTER(Int32)) -> Void: ...
|
|
865
845
|
@winrt_mixinmethod
|
|
866
|
-
def GetText(self: win32more.Microsoft.UI.Text.ITextRange, options: win32more.Microsoft.UI.Text.TextGetOptions, value: POINTER(
|
|
846
|
+
def GetText(self: win32more.Microsoft.UI.Text.ITextRange, options: win32more.Microsoft.UI.Text.TextGetOptions, value: POINTER(hstr)) -> Void: ...
|
|
867
847
|
@winrt_mixinmethod
|
|
868
848
|
def GetTextViaStream(self: win32more.Microsoft.UI.Text.ITextRange, options: win32more.Microsoft.UI.Text.TextGetOptions, value: win32more.Windows.Storage.Streams.IRandomAccessStream) -> Void: ...
|
|
869
849
|
@winrt_mixinmethod
|
|
870
850
|
def InRange(self: win32more.Microsoft.UI.Text.ITextRange, range: win32more.Microsoft.UI.Text.ITextRange) -> Boolean: ...
|
|
871
851
|
@winrt_mixinmethod
|
|
872
|
-
def InsertImage(self: win32more.Microsoft.UI.Text.ITextRange, width: Int32, height: Int32, ascent: Int32, verticalAlign: win32more.Microsoft.UI.Text.VerticalCharacterAlignment, alternateText:
|
|
852
|
+
def InsertImage(self: win32more.Microsoft.UI.Text.ITextRange, width: Int32, height: Int32, ascent: Int32, verticalAlign: win32more.Microsoft.UI.Text.VerticalCharacterAlignment, alternateText: hstr, value: win32more.Windows.Storage.Streams.IRandomAccessStream) -> Void: ...
|
|
873
853
|
@winrt_mixinmethod
|
|
874
854
|
def InStory(self: win32more.Microsoft.UI.Text.ITextRange, range: win32more.Microsoft.UI.Text.ITextRange) -> Boolean: ...
|
|
875
855
|
@winrt_mixinmethod
|
|
@@ -893,7 +873,7 @@ class RichEditTextRange(ComPtr):
|
|
|
893
873
|
@winrt_mixinmethod
|
|
894
874
|
def SetRange(self: win32more.Microsoft.UI.Text.ITextRange, startPosition: Int32, endPosition: Int32) -> Void: ...
|
|
895
875
|
@winrt_mixinmethod
|
|
896
|
-
def SetText(self: win32more.Microsoft.UI.Text.ITextRange, options: win32more.Microsoft.UI.Text.TextSetOptions, value:
|
|
876
|
+
def SetText(self: win32more.Microsoft.UI.Text.ITextRange, options: win32more.Microsoft.UI.Text.TextSetOptions, value: hstr) -> Void: ...
|
|
897
877
|
@winrt_mixinmethod
|
|
898
878
|
def SetTextViaStream(self: win32more.Microsoft.UI.Text.ITextRange, options: win32more.Microsoft.UI.Text.TextSetOptions, value: win32more.Windows.Storage.Streams.IRandomAccessStream) -> Void: ...
|
|
899
879
|
@winrt_mixinmethod
|
|
@@ -934,7 +914,6 @@ class TabLeader(Enum, Int32):
|
|
|
934
914
|
Lines = 3
|
|
935
915
|
ThickLines = 4
|
|
936
916
|
Equals = 5
|
|
937
|
-
TextApiContract: UInt32 = 131072
|
|
938
917
|
class _TextConstants_Meta_(ComPtr.__class__):
|
|
939
918
|
pass
|
|
940
919
|
class TextConstants(ComPtr, metaclass=_TextConstants_Meta_):
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
from __future__ import annotations
|
|
2
|
-
from win32more.
|
|
2
|
+
from win32more._prelude import *
|
|
3
3
|
import win32more.Microsoft.UI
|
|
4
4
|
import win32more.Microsoft.UI.Dispatching
|
|
5
5
|
import win32more.Microsoft.UI.Windowing
|
|
@@ -28,11 +28,11 @@ class AppWindow(ComPtr):
|
|
|
28
28
|
@winrt_mixinmethod
|
|
29
29
|
def get_Size(self: win32more.Microsoft.UI.Windowing.IAppWindow) -> win32more.Windows.Graphics.SizeInt32: ...
|
|
30
30
|
@winrt_mixinmethod
|
|
31
|
-
def get_Title(self: win32more.Microsoft.UI.Windowing.IAppWindow) ->
|
|
31
|
+
def get_Title(self: win32more.Microsoft.UI.Windowing.IAppWindow) -> hstr: ...
|
|
32
32
|
@winrt_mixinmethod
|
|
33
|
-
def put_Title(self: win32more.Microsoft.UI.Windowing.IAppWindow, value:
|
|
33
|
+
def put_Title(self: win32more.Microsoft.UI.Windowing.IAppWindow, value: hstr) -> Void: ...
|
|
34
34
|
@winrt_mixinmethod
|
|
35
|
-
def
|
|
35
|
+
def get_Id(self: win32more.Microsoft.UI.Windowing.IAppWindow) -> win32more.Microsoft.UI.WindowId: ...
|
|
36
36
|
@winrt_mixinmethod
|
|
37
37
|
def Destroy(self: win32more.Microsoft.UI.Windowing.IAppWindow) -> Void: ...
|
|
38
38
|
@winrt_mixinmethod
|
|
@@ -42,11 +42,11 @@ 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
|
|
45
|
+
def MoveAndResizeRelativeToDisplayArea(self: win32more.Microsoft.UI.Windowing.IAppWindow, rect: win32more.Windows.Graphics.RectInt32, displayarea: win32more.Microsoft.UI.Windowing.DisplayArea) -> Void: ...
|
|
46
46
|
@winrt_mixinmethod
|
|
47
47
|
def Resize(self: win32more.Microsoft.UI.Windowing.IAppWindow, size: win32more.Windows.Graphics.SizeInt32) -> Void: ...
|
|
48
48
|
@winrt_mixinmethod
|
|
49
|
-
def SetIcon(self: win32more.Microsoft.UI.Windowing.IAppWindow, iconPath:
|
|
49
|
+
def SetIcon(self: win32more.Microsoft.UI.Windowing.IAppWindow, iconPath: hstr) -> Void: ...
|
|
50
50
|
@winrt_mixinmethod
|
|
51
51
|
def SetIconWithIconId(self: win32more.Microsoft.UI.Windowing.IAppWindow, iconId: win32more.Microsoft.UI.IconId) -> Void: ...
|
|
52
52
|
@winrt_mixinmethod
|
|
@@ -62,7 +62,7 @@ class AppWindow(ComPtr):
|
|
|
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
|
|
65
|
+
def get_TitleBar(self: win32more.Microsoft.UI.Windowing.IAppWindow) -> win32more.Microsoft.UI.Windowing.AppWindowTitleBar: ...
|
|
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,14 +85,6 @@ 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: WinRT_String) -> 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: WinRT_String) -> Void: ...
|
|
94
|
-
@winrt_mixinmethod
|
|
95
|
-
def SetTitleBarIconWithIconId(self: win32more.Microsoft.UI.Windowing.IAppWindow4, iconId: win32more.Microsoft.UI.IconId) -> Void: ...
|
|
96
88
|
@winrt_classmethod
|
|
97
89
|
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: ...
|
|
98
90
|
@winrt_classmethod
|
|
@@ -114,18 +106,18 @@ class AppWindow(ComPtr):
|
|
|
114
106
|
Size = property(get_Size, None)
|
|
115
107
|
Title = property(get_Title, put_Title)
|
|
116
108
|
TitleBar = property(get_TitleBar, None)
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
Destroying = event()
|
|
109
|
+
Changed = event(add_Changed, remove_Changed)
|
|
110
|
+
Closing = event(add_Closing, remove_Closing)
|
|
111
|
+
Destroying = event(add_Destroying, remove_Destroying)
|
|
120
112
|
class AppWindowChangedEventArgs(ComPtr):
|
|
121
113
|
extends: IInspectable
|
|
122
114
|
default_interface: win32more.Microsoft.UI.Windowing.IAppWindowChangedEventArgs
|
|
123
115
|
_classid_ = 'Microsoft.UI.Windowing.AppWindowChangedEventArgs'
|
|
124
116
|
@winrt_mixinmethod
|
|
125
|
-
def get_DidPresenterChange(self: win32more.Microsoft.UI.Windowing.IAppWindowChangedEventArgs) -> Boolean: ...
|
|
126
|
-
@winrt_mixinmethod
|
|
127
117
|
def get_DidPositionChange(self: win32more.Microsoft.UI.Windowing.IAppWindowChangedEventArgs) -> Boolean: ...
|
|
128
118
|
@winrt_mixinmethod
|
|
119
|
+
def get_DidPresenterChange(self: win32more.Microsoft.UI.Windowing.IAppWindowChangedEventArgs) -> Boolean: ...
|
|
120
|
+
@winrt_mixinmethod
|
|
129
121
|
def get_DidSizeChange(self: win32more.Microsoft.UI.Windowing.IAppWindowChangedEventArgs) -> Boolean: ...
|
|
130
122
|
@winrt_mixinmethod
|
|
131
123
|
def get_DidVisibilityChange(self: win32more.Microsoft.UI.Windowing.IAppWindowChangedEventArgs) -> Boolean: ...
|
|
@@ -171,7 +163,7 @@ class AppWindowTitleBar(ComPtr):
|
|
|
171
163
|
default_interface: win32more.Microsoft.UI.Windowing.IAppWindowTitleBar
|
|
172
164
|
_classid_ = 'Microsoft.UI.Windowing.AppWindowTitleBar'
|
|
173
165
|
@winrt_mixinmethod
|
|
174
|
-
def
|
|
166
|
+
def get_ButtonInactiveForegroundColor(self: win32more.Microsoft.UI.Windowing.IAppWindowTitleBar) -> win32more.Windows.Foundation.IReference[win32more.Windows.UI.Color]: ...
|
|
175
167
|
@winrt_mixinmethod
|
|
176
168
|
def put_BackgroundColor(self: win32more.Microsoft.UI.Windowing.IAppWindowTitleBar, value: win32more.Windows.Foundation.IReference[win32more.Windows.UI.Color]) -> Void: ...
|
|
177
169
|
@winrt_mixinmethod
|
|
@@ -195,13 +187,13 @@ class AppWindowTitleBar(ComPtr):
|
|
|
195
187
|
@winrt_mixinmethod
|
|
196
188
|
def put_ButtonInactiveBackgroundColor(self: win32more.Microsoft.UI.Windowing.IAppWindowTitleBar, value: win32more.Windows.Foundation.IReference[win32more.Windows.UI.Color]) -> Void: ...
|
|
197
189
|
@winrt_mixinmethod
|
|
198
|
-
def
|
|
190
|
+
def get_ButtonPressedBackgroundColor(self: win32more.Microsoft.UI.Windowing.IAppWindowTitleBar) -> win32more.Windows.Foundation.IReference[win32more.Windows.UI.Color]: ...
|
|
199
191
|
@winrt_mixinmethod
|
|
200
192
|
def put_ButtonInactiveForegroundColor(self: win32more.Microsoft.UI.Windowing.IAppWindowTitleBar, value: win32more.Windows.Foundation.IReference[win32more.Windows.UI.Color]) -> Void: ...
|
|
201
193
|
@winrt_mixinmethod
|
|
202
|
-
def
|
|
194
|
+
def get_BackgroundColor(self: win32more.Microsoft.UI.Windowing.IAppWindowTitleBar) -> win32more.Windows.Foundation.IReference[win32more.Windows.UI.Color]: ...
|
|
203
195
|
@winrt_mixinmethod
|
|
204
|
-
def
|
|
196
|
+
def put_ButtonPressedBackgroundColor(self: win32more.Microsoft.UI.Windowing.IAppWindowTitleBar, value: win32more.Windows.Foundation.IReference[win32more.Windows.UI.Color]) -> Void: ...
|
|
205
197
|
@winrt_mixinmethod
|
|
206
198
|
def get_ButtonPressedForegroundColor(self: win32more.Microsoft.UI.Windowing.IAppWindowTitleBar) -> win32more.Windows.Foundation.IReference[win32more.Windows.UI.Color]: ...
|
|
207
199
|
@winrt_mixinmethod
|
|
@@ -240,10 +232,6 @@ class AppWindowTitleBar(ComPtr):
|
|
|
240
232
|
def get_PreferredHeightOption(self: win32more.Microsoft.UI.Windowing.IAppWindowTitleBar2) -> win32more.Microsoft.UI.Windowing.TitleBarHeightOption: ...
|
|
241
233
|
@winrt_mixinmethod
|
|
242
234
|
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: ...
|
|
247
235
|
@winrt_classmethod
|
|
248
236
|
def IsCustomizationSupported(cls: win32more.Microsoft.UI.Windowing.IAppWindowTitleBarStatics) -> Boolean: ...
|
|
249
237
|
BackgroundColor = property(get_BackgroundColor, put_BackgroundColor)
|
|
@@ -263,16 +251,15 @@ class AppWindowTitleBar(ComPtr):
|
|
|
263
251
|
InactiveForegroundColor = property(get_InactiveForegroundColor, put_InactiveForegroundColor)
|
|
264
252
|
LeftInset = property(get_LeftInset, None)
|
|
265
253
|
PreferredHeightOption = property(get_PreferredHeightOption, put_PreferredHeightOption)
|
|
266
|
-
PreferredTheme = property(get_PreferredTheme, put_PreferredTheme)
|
|
267
254
|
RightInset = property(get_RightInset, None)
|
|
268
255
|
class CompactOverlayPresenter(ComPtr):
|
|
269
256
|
extends: win32more.Microsoft.UI.Windowing.AppWindowPresenter
|
|
270
257
|
default_interface: win32more.Microsoft.UI.Windowing.ICompactOverlayPresenter
|
|
271
258
|
_classid_ = 'Microsoft.UI.Windowing.CompactOverlayPresenter'
|
|
272
259
|
@winrt_mixinmethod
|
|
273
|
-
def get_InitialSize(self: win32more.Microsoft.UI.Windowing.ICompactOverlayPresenter) -> win32more.Microsoft.UI.Windowing.CompactOverlaySize: ...
|
|
274
|
-
@winrt_mixinmethod
|
|
275
260
|
def put_InitialSize(self: win32more.Microsoft.UI.Windowing.ICompactOverlayPresenter, value: win32more.Microsoft.UI.Windowing.CompactOverlaySize) -> Void: ...
|
|
261
|
+
@winrt_mixinmethod
|
|
262
|
+
def get_InitialSize(self: win32more.Microsoft.UI.Windowing.ICompactOverlayPresenter) -> win32more.Microsoft.UI.Windowing.CompactOverlaySize: ...
|
|
276
263
|
@winrt_classmethod
|
|
277
264
|
def Create(cls: win32more.Microsoft.UI.Windowing.ICompactOverlayPresenterStatics) -> win32more.Microsoft.UI.Windowing.CompactOverlayPresenter: ...
|
|
278
265
|
InitialSize = property(get_InitialSize, put_InitialSize)
|
|
@@ -287,12 +274,12 @@ class DisplayArea(ComPtr, metaclass=_DisplayArea_Meta_):
|
|
|
287
274
|
default_interface: win32more.Microsoft.UI.Windowing.IDisplayArea
|
|
288
275
|
_classid_ = 'Microsoft.UI.Windowing.DisplayArea'
|
|
289
276
|
@winrt_mixinmethod
|
|
290
|
-
def get_OuterBounds(self: win32more.Microsoft.UI.Windowing.IDisplayArea) -> win32more.Windows.Graphics.RectInt32: ...
|
|
291
|
-
@winrt_mixinmethod
|
|
292
277
|
def get_IsPrimary(self: win32more.Microsoft.UI.Windowing.IDisplayArea) -> Boolean: ...
|
|
293
278
|
@winrt_mixinmethod
|
|
294
279
|
def get_DisplayId(self: win32more.Microsoft.UI.Windowing.IDisplayArea) -> win32more.Microsoft.UI.DisplayId: ...
|
|
295
280
|
@winrt_mixinmethod
|
|
281
|
+
def get_OuterBounds(self: win32more.Microsoft.UI.Windowing.IDisplayArea) -> win32more.Windows.Graphics.RectInt32: ...
|
|
282
|
+
@winrt_mixinmethod
|
|
296
283
|
def get_WorkArea(self: win32more.Microsoft.UI.Windowing.IDisplayArea) -> win32more.Windows.Graphics.RectInt32: ...
|
|
297
284
|
@winrt_classmethod
|
|
298
285
|
def GetFromDisplayId(cls: win32more.Microsoft.UI.Windowing.IDisplayAreaStatics2, displayId: win32more.Microsoft.UI.DisplayId) -> win32more.Microsoft.UI.Windowing.DisplayArea: ...
|
|
@@ -322,16 +309,16 @@ class DisplayAreaWatcher(ComPtr):
|
|
|
322
309
|
default_interface: win32more.Microsoft.UI.Windowing.IDisplayAreaWatcher
|
|
323
310
|
_classid_ = 'Microsoft.UI.Windowing.DisplayAreaWatcher'
|
|
324
311
|
@winrt_mixinmethod
|
|
325
|
-
def
|
|
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: ...
|
|
326
313
|
@winrt_mixinmethod
|
|
327
314
|
def Start(self: win32more.Microsoft.UI.Windowing.IDisplayAreaWatcher) -> Void: ...
|
|
328
315
|
@winrt_mixinmethod
|
|
329
316
|
def Stop(self: win32more.Microsoft.UI.Windowing.IDisplayAreaWatcher) -> Void: ...
|
|
330
317
|
@winrt_mixinmethod
|
|
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: ...
|
|
332
|
-
@winrt_mixinmethod
|
|
333
318
|
def get_Status(self: win32more.Microsoft.UI.Windowing.IDisplayAreaWatcher) -> win32more.Microsoft.UI.Windowing.DisplayAreaWatcherStatus: ...
|
|
334
319
|
@winrt_mixinmethod
|
|
320
|
+
def remove_Added(self: win32more.Microsoft.UI.Windowing.IDisplayAreaWatcher, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
|
|
321
|
+
@winrt_mixinmethod
|
|
335
322
|
def add_EnumerationCompleted(self: win32more.Microsoft.UI.Windowing.IDisplayAreaWatcher, handler: win32more.Windows.Foundation.TypedEventHandler[win32more.Microsoft.UI.Windowing.DisplayAreaWatcher, IInspectable]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
|
|
336
323
|
@winrt_mixinmethod
|
|
337
324
|
def remove_EnumerationCompleted(self: win32more.Microsoft.UI.Windowing.IDisplayAreaWatcher, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
|
|
@@ -348,11 +335,11 @@ class DisplayAreaWatcher(ComPtr):
|
|
|
348
335
|
@winrt_mixinmethod
|
|
349
336
|
def remove_Updated(self: win32more.Microsoft.UI.Windowing.IDisplayAreaWatcher, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
|
|
350
337
|
Status = property(get_Status, None)
|
|
351
|
-
Added = event()
|
|
352
|
-
EnumerationCompleted = event()
|
|
353
|
-
Removed = event()
|
|
354
|
-
Stopped = event()
|
|
355
|
-
Updated = event()
|
|
338
|
+
Added = event(add_Added, remove_Added)
|
|
339
|
+
EnumerationCompleted = event(add_EnumerationCompleted, remove_EnumerationCompleted)
|
|
340
|
+
Removed = event(add_Removed, remove_Removed)
|
|
341
|
+
Stopped = event(add_Stopped, remove_Stopped)
|
|
342
|
+
Updated = event(add_Updated, remove_Updated)
|
|
356
343
|
class DisplayAreaWatcherStatus(Enum, Int32):
|
|
357
344
|
Created = 0
|
|
358
345
|
Started = 1
|
|
@@ -387,9 +374,9 @@ class IAppWindow(ComPtr):
|
|
|
387
374
|
@winrt_commethod(13)
|
|
388
375
|
def get_Size(self) -> win32more.Windows.Graphics.SizeInt32: ...
|
|
389
376
|
@winrt_commethod(14)
|
|
390
|
-
def get_Title(self) ->
|
|
377
|
+
def get_Title(self) -> hstr: ...
|
|
391
378
|
@winrt_commethod(15)
|
|
392
|
-
def put_Title(self, value:
|
|
379
|
+
def put_Title(self, value: hstr) -> Void: ...
|
|
393
380
|
@winrt_commethod(16)
|
|
394
381
|
def get_TitleBar(self) -> win32more.Microsoft.UI.Windowing.AppWindowTitleBar: ...
|
|
395
382
|
@winrt_commethod(17)
|
|
@@ -405,7 +392,7 @@ class IAppWindow(ComPtr):
|
|
|
405
392
|
@winrt_commethod(22)
|
|
406
393
|
def Resize(self, size: win32more.Windows.Graphics.SizeInt32) -> Void: ...
|
|
407
394
|
@winrt_commethod(23)
|
|
408
|
-
def SetIcon(self, iconPath:
|
|
395
|
+
def SetIcon(self, iconPath: hstr) -> Void: ...
|
|
409
396
|
@winrt_commethod(24)
|
|
410
397
|
def SetIconWithIconId(self, iconId: win32more.Microsoft.UI.IconId) -> Void: ...
|
|
411
398
|
@winrt_commethod(25)
|
|
@@ -437,9 +424,9 @@ class IAppWindow(ComPtr):
|
|
|
437
424
|
Size = property(get_Size, None)
|
|
438
425
|
Title = property(get_Title, put_Title)
|
|
439
426
|
TitleBar = property(get_TitleBar, None)
|
|
440
|
-
Changed = event()
|
|
441
|
-
Closing = event()
|
|
442
|
-
Destroying = event()
|
|
427
|
+
Changed = event(add_Changed, remove_Changed)
|
|
428
|
+
Closing = event(add_Closing, remove_Closing)
|
|
429
|
+
Destroying = event(add_Destroying, remove_Destroying)
|
|
443
430
|
class IAppWindow2(ComPtr):
|
|
444
431
|
extends: IInspectable
|
|
445
432
|
_classid_ = 'Microsoft.UI.Windowing.IAppWindow2'
|
|
@@ -466,18 +453,6 @@ class IAppWindow3(ComPtr):
|
|
|
466
453
|
@winrt_commethod(7)
|
|
467
454
|
def get_DispatcherQueue(self) -> win32more.Microsoft.UI.Dispatching.DispatcherQueue: ...
|
|
468
455
|
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: WinRT_String) -> Void: ...
|
|
475
|
-
@winrt_commethod(7)
|
|
476
|
-
def SetTaskbarIconWithIconId(self, iconId: win32more.Microsoft.UI.IconId) -> Void: ...
|
|
477
|
-
@winrt_commethod(8)
|
|
478
|
-
def SetTitleBarIcon(self, iconPath: WinRT_String) -> Void: ...
|
|
479
|
-
@winrt_commethod(9)
|
|
480
|
-
def SetTitleBarIconWithIconId(self, iconId: win32more.Microsoft.UI.IconId) -> Void: ...
|
|
481
456
|
class IAppWindowChangedEventArgs(ComPtr):
|
|
482
457
|
extends: IInspectable
|
|
483
458
|
_classid_ = 'Microsoft.UI.Windowing.IAppWindowChangedEventArgs'
|
|
@@ -644,15 +619,6 @@ class IAppWindowTitleBar2(ComPtr):
|
|
|
644
619
|
@winrt_commethod(7)
|
|
645
620
|
def put_PreferredHeightOption(self, value: win32more.Microsoft.UI.Windowing.TitleBarHeightOption) -> Void: ...
|
|
646
621
|
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)
|
|
656
622
|
class IAppWindowTitleBarStatics(ComPtr):
|
|
657
623
|
extends: IInspectable
|
|
658
624
|
_classid_ = 'Microsoft.UI.Windowing.IAppWindowTitleBarStatics'
|
|
@@ -744,11 +710,11 @@ class IDisplayAreaWatcher(ComPtr):
|
|
|
744
710
|
@winrt_commethod(18)
|
|
745
711
|
def remove_Updated(self, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
|
|
746
712
|
Status = property(get_Status, None)
|
|
747
|
-
Added = event()
|
|
748
|
-
EnumerationCompleted = event()
|
|
749
|
-
Removed = event()
|
|
750
|
-
Stopped = event()
|
|
751
|
-
Updated = event()
|
|
713
|
+
Added = event(add_Added, remove_Added)
|
|
714
|
+
EnumerationCompleted = event(add_EnumerationCompleted, remove_EnumerationCompleted)
|
|
715
|
+
Removed = event(add_Removed, remove_Removed)
|
|
716
|
+
Stopped = event(add_Stopped, remove_Stopped)
|
|
717
|
+
Updated = event(add_Updated, remove_Updated)
|
|
752
718
|
class IFullScreenPresenter(ComPtr):
|
|
753
719
|
extends: IInspectable
|
|
754
720
|
_classid_ = 'Microsoft.UI.Windowing.IFullScreenPresenter'
|
|
@@ -813,30 +779,6 @@ class IOverlappedPresenter2(ComPtr):
|
|
|
813
779
|
def MinimizeWithActivation(self, activateWindow: Boolean) -> Void: ...
|
|
814
780
|
@winrt_commethod(7)
|
|
815
781
|
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)
|
|
840
782
|
class IOverlappedPresenterStatics(ComPtr):
|
|
841
783
|
extends: IInspectable
|
|
842
784
|
_classid_ = 'Microsoft.UI.Windowing.IOverlappedPresenterStatics'
|
|
@@ -866,7 +808,7 @@ class OverlappedPresenter(ComPtr, metaclass=_OverlappedPresenter_Meta_):
|
|
|
866
808
|
default_interface: win32more.Microsoft.UI.Windowing.IOverlappedPresenter
|
|
867
809
|
_classid_ = 'Microsoft.UI.Windowing.OverlappedPresenter'
|
|
868
810
|
@winrt_mixinmethod
|
|
869
|
-
def
|
|
811
|
+
def Restore(self: win32more.Microsoft.UI.Windowing.IOverlappedPresenter) -> Void: ...
|
|
870
812
|
@winrt_mixinmethod
|
|
871
813
|
def get_HasTitleBar(self: win32more.Microsoft.UI.Windowing.IOverlappedPresenter) -> Boolean: ...
|
|
872
814
|
@winrt_mixinmethod
|
|
@@ -876,7 +818,7 @@ class OverlappedPresenter(ComPtr, metaclass=_OverlappedPresenter_Meta_):
|
|
|
876
818
|
@winrt_mixinmethod
|
|
877
819
|
def get_IsMaximizable(self: win32more.Microsoft.UI.Windowing.IOverlappedPresenter) -> Boolean: ...
|
|
878
820
|
@winrt_mixinmethod
|
|
879
|
-
def
|
|
821
|
+
def put_IsMaximizable(self: win32more.Microsoft.UI.Windowing.IOverlappedPresenter, value: Boolean) -> Void: ...
|
|
880
822
|
@winrt_mixinmethod
|
|
881
823
|
def get_IsMinimizable(self: win32more.Microsoft.UI.Windowing.IOverlappedPresenter) -> Boolean: ...
|
|
882
824
|
@winrt_mixinmethod
|
|
@@ -896,29 +838,13 @@ class OverlappedPresenter(ComPtr, metaclass=_OverlappedPresenter_Meta_):
|
|
|
896
838
|
@winrt_mixinmethod
|
|
897
839
|
def Minimize(self: win32more.Microsoft.UI.Windowing.IOverlappedPresenter) -> Void: ...
|
|
898
840
|
@winrt_mixinmethod
|
|
899
|
-
def
|
|
841
|
+
def get_HasBorder(self: win32more.Microsoft.UI.Windowing.IOverlappedPresenter) -> Boolean: ...
|
|
900
842
|
@winrt_mixinmethod
|
|
901
843
|
def SetBorderAndTitleBar(self: win32more.Microsoft.UI.Windowing.IOverlappedPresenter, hasBorder: Boolean, hasTitleBar: Boolean) -> Void: ...
|
|
902
844
|
@winrt_mixinmethod
|
|
903
845
|
def MinimizeWithActivation(self: win32more.Microsoft.UI.Windowing.IOverlappedPresenter2, activateWindow: Boolean) -> Void: ...
|
|
904
846
|
@winrt_mixinmethod
|
|
905
847
|
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: ...
|
|
922
848
|
@winrt_classmethod
|
|
923
849
|
def get_RequestedStartupState(cls: win32more.Microsoft.UI.Windowing.IOverlappedPresenterStatics2) -> win32more.Microsoft.UI.Windowing.OverlappedPresenterState: ...
|
|
924
850
|
@winrt_classmethod
|
|
@@ -936,10 +862,6 @@ class OverlappedPresenter(ComPtr, metaclass=_OverlappedPresenter_Meta_):
|
|
|
936
862
|
IsMinimizable = property(get_IsMinimizable, put_IsMinimizable)
|
|
937
863
|
IsModal = property(get_IsModal, put_IsModal)
|
|
938
864
|
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)
|
|
943
865
|
State = property(get_State, None)
|
|
944
866
|
_OverlappedPresenter_Meta_.RequestedStartupState = property(get_RequestedStartupState, None)
|
|
945
867
|
class OverlappedPresenterState(Enum, Int32):
|
|
@@ -950,11 +872,6 @@ class TitleBarHeightOption(Enum, Int32):
|
|
|
950
872
|
Standard = 0
|
|
951
873
|
Tall = 1
|
|
952
874
|
Collapsed = 2
|
|
953
|
-
class TitleBarTheme(Enum, Int32):
|
|
954
|
-
Legacy = 0
|
|
955
|
-
UseDefaultAppMode = 1
|
|
956
|
-
Light = 2
|
|
957
|
-
Dark = 3
|
|
958
875
|
|
|
959
876
|
|
|
960
877
|
make_ready(__name__)
|