winrt-Windows.UI.Xaml.Data 3.2.1__cp314-cp314-win32.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.
- winrt/_winrt_windows_ui_xaml_data.cp314-win32.pyd +0 -0
- winrt/_winrt_windows_ui_xaml_data.pyi +443 -0
- winrt/windows/ui/xaml/data/__init__.py +102 -0
- winrt/windows/ui/xaml/data/py.typed +0 -0
- winrt_windows_ui_xaml_data-3.2.1.dist-info/METADATA +29 -0
- winrt_windows_ui_xaml_data-3.2.1.dist-info/RECORD +8 -0
- winrt_windows_ui_xaml_data-3.2.1.dist-info/WHEEL +5 -0
- winrt_windows_ui_xaml_data-3.2.1.dist-info/top_level.txt +1 -0
|
Binary file
|
|
@@ -0,0 +1,443 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.2.1
|
|
2
|
+
|
|
3
|
+
import datetime
|
|
4
|
+
import sys
|
|
5
|
+
import types
|
|
6
|
+
import typing
|
|
7
|
+
import uuid as _uuid
|
|
8
|
+
from builtins import property as _property
|
|
9
|
+
from abc import abstractmethod
|
|
10
|
+
|
|
11
|
+
import winrt._winrt
|
|
12
|
+
import winrt.system
|
|
13
|
+
import winrt.windows.foundation as windows_foundation
|
|
14
|
+
import winrt.windows.foundation.collections as windows_foundation_collections
|
|
15
|
+
import winrt.windows.ui.xaml as windows_ui_xaml
|
|
16
|
+
import winrt.windows.ui.xaml.interop as windows_ui_xaml_interop
|
|
17
|
+
|
|
18
|
+
from winrt.windows.ui.xaml.data import BindingMode, RelativeSourceMode, UpdateSourceTrigger
|
|
19
|
+
from winrt.windows.ui.xaml.data import CurrentChangingEventHandler, PropertyChangedEventHandler
|
|
20
|
+
|
|
21
|
+
Self = typing.TypeVar('Self')
|
|
22
|
+
|
|
23
|
+
@typing.final
|
|
24
|
+
class LoadMoreItemsResult:
|
|
25
|
+
@_property
|
|
26
|
+
def count(self) -> winrt.system.UInt32: ...
|
|
27
|
+
def __new__(cls, count: winrt.system.UInt32 = 0) -> LoadMoreItemsResult: ...
|
|
28
|
+
def __replace__(self, /, **changes: typing.Any) -> LoadMoreItemsResult: ...
|
|
29
|
+
|
|
30
|
+
class Binding_Static(BindingBase_Static):
|
|
31
|
+
pass
|
|
32
|
+
|
|
33
|
+
class Binding(BindingBase, metaclass=Binding_Static):
|
|
34
|
+
def __new__(cls: typing.Type[Self]) -> Self: ...
|
|
35
|
+
# System.Object Windows.UI.Xaml.Data.Binding::get_Source()
|
|
36
|
+
@_property
|
|
37
|
+
def source(self) -> winrt.system.Object: ...
|
|
38
|
+
# System.Void Windows.UI.Xaml.Data.Binding::put_Source(System.Object)
|
|
39
|
+
@source.setter
|
|
40
|
+
@typing.final
|
|
41
|
+
def source(self, value: winrt.system.Object) -> None: ...
|
|
42
|
+
# Windows.UI.Xaml.Data.RelativeSource Windows.UI.Xaml.Data.Binding::get_RelativeSource()
|
|
43
|
+
@_property
|
|
44
|
+
def relative_source(self) -> RelativeSource: ...
|
|
45
|
+
# System.Void Windows.UI.Xaml.Data.Binding::put_RelativeSource(Windows.UI.Xaml.Data.RelativeSource)
|
|
46
|
+
@relative_source.setter
|
|
47
|
+
@typing.final
|
|
48
|
+
def relative_source(self, value: RelativeSource) -> None: ...
|
|
49
|
+
# Windows.UI.Xaml.PropertyPath Windows.UI.Xaml.Data.Binding::get_Path()
|
|
50
|
+
@_property
|
|
51
|
+
def path(self) -> windows_ui_xaml.PropertyPath: ...
|
|
52
|
+
# System.Void Windows.UI.Xaml.Data.Binding::put_Path(Windows.UI.Xaml.PropertyPath)
|
|
53
|
+
@path.setter
|
|
54
|
+
@typing.final
|
|
55
|
+
def path(self, value: windows_ui_xaml.PropertyPath) -> None: ...
|
|
56
|
+
# Windows.UI.Xaml.Data.BindingMode Windows.UI.Xaml.Data.Binding::get_Mode()
|
|
57
|
+
@_property
|
|
58
|
+
def mode(self) -> BindingMode: ...
|
|
59
|
+
# System.Void Windows.UI.Xaml.Data.Binding::put_Mode(Windows.UI.Xaml.Data.BindingMode)
|
|
60
|
+
@mode.setter
|
|
61
|
+
@typing.final
|
|
62
|
+
def mode(self, value: BindingMode) -> None: ...
|
|
63
|
+
# System.String Windows.UI.Xaml.Data.Binding::get_ElementName()
|
|
64
|
+
@_property
|
|
65
|
+
def element_name(self) -> str: ...
|
|
66
|
+
# System.Void Windows.UI.Xaml.Data.Binding::put_ElementName(System.String)
|
|
67
|
+
@element_name.setter
|
|
68
|
+
@typing.final
|
|
69
|
+
def element_name(self, value: str) -> None: ...
|
|
70
|
+
# System.Object Windows.UI.Xaml.Data.Binding::get_ConverterParameter()
|
|
71
|
+
@_property
|
|
72
|
+
def converter_parameter(self) -> winrt.system.Object: ...
|
|
73
|
+
# System.Void Windows.UI.Xaml.Data.Binding::put_ConverterParameter(System.Object)
|
|
74
|
+
@converter_parameter.setter
|
|
75
|
+
@typing.final
|
|
76
|
+
def converter_parameter(self, value: winrt.system.Object) -> None: ...
|
|
77
|
+
# System.String Windows.UI.Xaml.Data.Binding::get_ConverterLanguage()
|
|
78
|
+
@_property
|
|
79
|
+
def converter_language(self) -> str: ...
|
|
80
|
+
# System.Void Windows.UI.Xaml.Data.Binding::put_ConverterLanguage(System.String)
|
|
81
|
+
@converter_language.setter
|
|
82
|
+
@typing.final
|
|
83
|
+
def converter_language(self, value: str) -> None: ...
|
|
84
|
+
# Windows.UI.Xaml.Data.IValueConverter Windows.UI.Xaml.Data.Binding::get_Converter()
|
|
85
|
+
@_property
|
|
86
|
+
def converter(self) -> IValueConverter: ...
|
|
87
|
+
# System.Void Windows.UI.Xaml.Data.Binding::put_Converter(Windows.UI.Xaml.Data.IValueConverter)
|
|
88
|
+
@converter.setter
|
|
89
|
+
@typing.final
|
|
90
|
+
def converter(self, value: IValueConverter) -> None: ...
|
|
91
|
+
# Windows.UI.Xaml.Data.UpdateSourceTrigger Windows.UI.Xaml.Data.Binding::get_UpdateSourceTrigger()
|
|
92
|
+
@_property
|
|
93
|
+
def update_source_trigger(self) -> UpdateSourceTrigger: ...
|
|
94
|
+
# System.Void Windows.UI.Xaml.Data.Binding::put_UpdateSourceTrigger(Windows.UI.Xaml.Data.UpdateSourceTrigger)
|
|
95
|
+
@update_source_trigger.setter
|
|
96
|
+
@typing.final
|
|
97
|
+
def update_source_trigger(self, value: UpdateSourceTrigger) -> None: ...
|
|
98
|
+
# System.Object Windows.UI.Xaml.Data.Binding::get_TargetNullValue()
|
|
99
|
+
@_property
|
|
100
|
+
def target_null_value(self) -> winrt.system.Object: ...
|
|
101
|
+
# System.Void Windows.UI.Xaml.Data.Binding::put_TargetNullValue(System.Object)
|
|
102
|
+
@target_null_value.setter
|
|
103
|
+
@typing.final
|
|
104
|
+
def target_null_value(self, value: winrt.system.Object) -> None: ...
|
|
105
|
+
# System.Object Windows.UI.Xaml.Data.Binding::get_FallbackValue()
|
|
106
|
+
@_property
|
|
107
|
+
def fallback_value(self) -> winrt.system.Object: ...
|
|
108
|
+
# System.Void Windows.UI.Xaml.Data.Binding::put_FallbackValue(System.Object)
|
|
109
|
+
@fallback_value.setter
|
|
110
|
+
@typing.final
|
|
111
|
+
def fallback_value(self, value: winrt.system.Object) -> None: ...
|
|
112
|
+
|
|
113
|
+
class BindingBase_Static(windows_ui_xaml.DependencyObject_Static):
|
|
114
|
+
pass
|
|
115
|
+
|
|
116
|
+
class BindingBase(windows_ui_xaml.DependencyObject, metaclass=BindingBase_Static):
|
|
117
|
+
def __new__(cls: typing.Type[Self]) -> Self: ...
|
|
118
|
+
|
|
119
|
+
class BindingExpression_Static(BindingExpressionBase_Static):
|
|
120
|
+
pass
|
|
121
|
+
|
|
122
|
+
class BindingExpression(BindingExpressionBase, metaclass=BindingExpression_Static):
|
|
123
|
+
@typing.final
|
|
124
|
+
# System.Void Windows.UI.Xaml.Data.BindingExpression::UpdateSource()
|
|
125
|
+
def update_source(self) -> None: ...
|
|
126
|
+
# System.Object Windows.UI.Xaml.Data.BindingExpression::get_DataItem()
|
|
127
|
+
@_property
|
|
128
|
+
@typing.final
|
|
129
|
+
def data_item(self) -> winrt.system.Object: ...
|
|
130
|
+
# Windows.UI.Xaml.Data.Binding Windows.UI.Xaml.Data.BindingExpression::get_ParentBinding()
|
|
131
|
+
@_property
|
|
132
|
+
@typing.final
|
|
133
|
+
def parent_binding(self) -> Binding: ...
|
|
134
|
+
|
|
135
|
+
class BindingExpressionBase_Static(winrt._winrt.IInspectable_Static):
|
|
136
|
+
pass
|
|
137
|
+
|
|
138
|
+
class BindingExpressionBase(winrt.system.Object, metaclass=BindingExpressionBase_Static):
|
|
139
|
+
pass
|
|
140
|
+
|
|
141
|
+
@typing.final
|
|
142
|
+
class BindingOperations_Static(winrt._winrt.IInspectable_Static):
|
|
143
|
+
# System.Void Windows.UI.Xaml.Data.BindingOperations::SetBinding(Windows.UI.Xaml.DependencyObject,Windows.UI.Xaml.DependencyProperty,Windows.UI.Xaml.Data.BindingBase)
|
|
144
|
+
def set_binding(cls, target: windows_ui_xaml.DependencyObject, dp: windows_ui_xaml.DependencyProperty, binding: BindingBase, /) -> None: ...
|
|
145
|
+
|
|
146
|
+
@typing.final
|
|
147
|
+
class BindingOperations(winrt.system.Object, metaclass=BindingOperations_Static):
|
|
148
|
+
pass
|
|
149
|
+
|
|
150
|
+
@typing.final
|
|
151
|
+
class CollectionViewSource_Static(windows_ui_xaml.DependencyObject_Static):
|
|
152
|
+
# Windows.UI.Xaml.DependencyProperty Windows.UI.Xaml.Data.CollectionViewSource::get_IsSourceGroupedProperty()
|
|
153
|
+
@_property
|
|
154
|
+
def is_source_grouped_property(cls) -> windows_ui_xaml.DependencyProperty: ...
|
|
155
|
+
# Windows.UI.Xaml.DependencyProperty Windows.UI.Xaml.Data.CollectionViewSource::get_ItemsPathProperty()
|
|
156
|
+
@_property
|
|
157
|
+
def items_path_property(cls) -> windows_ui_xaml.DependencyProperty: ...
|
|
158
|
+
# Windows.UI.Xaml.DependencyProperty Windows.UI.Xaml.Data.CollectionViewSource::get_SourceProperty()
|
|
159
|
+
@_property
|
|
160
|
+
def source_property(cls) -> windows_ui_xaml.DependencyProperty: ...
|
|
161
|
+
# Windows.UI.Xaml.DependencyProperty Windows.UI.Xaml.Data.CollectionViewSource::get_ViewProperty()
|
|
162
|
+
@_property
|
|
163
|
+
def view_property(cls) -> windows_ui_xaml.DependencyProperty: ...
|
|
164
|
+
|
|
165
|
+
@typing.final
|
|
166
|
+
class CollectionViewSource(windows_ui_xaml.DependencyObject, metaclass=CollectionViewSource_Static):
|
|
167
|
+
def __new__(cls: typing.Type[Self]) -> Self: ...
|
|
168
|
+
# System.Object Windows.UI.Xaml.Data.CollectionViewSource::get_Source()
|
|
169
|
+
@_property
|
|
170
|
+
def source(self) -> winrt.system.Object: ...
|
|
171
|
+
# System.Void Windows.UI.Xaml.Data.CollectionViewSource::put_Source(System.Object)
|
|
172
|
+
@source.setter
|
|
173
|
+
def source(self, value: winrt.system.Object) -> None: ...
|
|
174
|
+
# Windows.UI.Xaml.PropertyPath Windows.UI.Xaml.Data.CollectionViewSource::get_ItemsPath()
|
|
175
|
+
@_property
|
|
176
|
+
def items_path(self) -> windows_ui_xaml.PropertyPath: ...
|
|
177
|
+
# System.Void Windows.UI.Xaml.Data.CollectionViewSource::put_ItemsPath(Windows.UI.Xaml.PropertyPath)
|
|
178
|
+
@items_path.setter
|
|
179
|
+
def items_path(self, value: windows_ui_xaml.PropertyPath) -> None: ...
|
|
180
|
+
# System.Boolean Windows.UI.Xaml.Data.CollectionViewSource::get_IsSourceGrouped()
|
|
181
|
+
@_property
|
|
182
|
+
def is_source_grouped(self) -> bool: ...
|
|
183
|
+
# System.Void Windows.UI.Xaml.Data.CollectionViewSource::put_IsSourceGrouped(System.Boolean)
|
|
184
|
+
@is_source_grouped.setter
|
|
185
|
+
def is_source_grouped(self, value: bool) -> None: ...
|
|
186
|
+
# Windows.UI.Xaml.Data.ICollectionView Windows.UI.Xaml.Data.CollectionViewSource::get_View()
|
|
187
|
+
@_property
|
|
188
|
+
def view(self) -> ICollectionView: ...
|
|
189
|
+
|
|
190
|
+
class CurrentChangingEventArgs_Static(winrt._winrt.IInspectable_Static):
|
|
191
|
+
pass
|
|
192
|
+
|
|
193
|
+
class CurrentChangingEventArgs(winrt.system.Object, metaclass=CurrentChangingEventArgs_Static):
|
|
194
|
+
@typing.overload
|
|
195
|
+
def __new__(cls: typing.Type[Self]) -> Self: ...
|
|
196
|
+
@typing.overload
|
|
197
|
+
def __new__(cls: typing.Type[Self], is_cancelable: bool) -> Self: ...
|
|
198
|
+
# System.Boolean Windows.UI.Xaml.Data.CurrentChangingEventArgs::get_Cancel()
|
|
199
|
+
@_property
|
|
200
|
+
def cancel(self) -> bool: ...
|
|
201
|
+
# System.Void Windows.UI.Xaml.Data.CurrentChangingEventArgs::put_Cancel(System.Boolean)
|
|
202
|
+
@cancel.setter
|
|
203
|
+
@typing.final
|
|
204
|
+
def cancel(self, value: bool) -> None: ...
|
|
205
|
+
# System.Boolean Windows.UI.Xaml.Data.CurrentChangingEventArgs::get_IsCancelable()
|
|
206
|
+
@_property
|
|
207
|
+
@typing.final
|
|
208
|
+
def is_cancelable(self) -> bool: ...
|
|
209
|
+
|
|
210
|
+
class ItemIndexRange_Static(winrt._winrt.IInspectable_Static):
|
|
211
|
+
pass
|
|
212
|
+
|
|
213
|
+
class ItemIndexRange(winrt.system.Object, metaclass=ItemIndexRange_Static):
|
|
214
|
+
def __new__(cls: typing.Type[Self], first_index: winrt.system.Int32, length: winrt.system.UInt32) -> Self: ...
|
|
215
|
+
# System.Int32 Windows.UI.Xaml.Data.ItemIndexRange::get_FirstIndex()
|
|
216
|
+
@_property
|
|
217
|
+
@typing.final
|
|
218
|
+
def first_index(self) -> winrt.system.Int32: ...
|
|
219
|
+
# System.Int32 Windows.UI.Xaml.Data.ItemIndexRange::get_LastIndex()
|
|
220
|
+
@_property
|
|
221
|
+
@typing.final
|
|
222
|
+
def last_index(self) -> winrt.system.Int32: ...
|
|
223
|
+
# System.UInt32 Windows.UI.Xaml.Data.ItemIndexRange::get_Length()
|
|
224
|
+
@_property
|
|
225
|
+
@typing.final
|
|
226
|
+
def length(self) -> winrt.system.UInt32: ...
|
|
227
|
+
|
|
228
|
+
class PropertyChangedEventArgs_Static(winrt._winrt.IInspectable_Static):
|
|
229
|
+
pass
|
|
230
|
+
|
|
231
|
+
class PropertyChangedEventArgs(winrt.system.Object, metaclass=PropertyChangedEventArgs_Static):
|
|
232
|
+
def __new__(cls: typing.Type[Self], name: str) -> Self: ...
|
|
233
|
+
# System.String Windows.UI.Xaml.Data.PropertyChangedEventArgs::get_PropertyName()
|
|
234
|
+
@_property
|
|
235
|
+
@typing.final
|
|
236
|
+
def property_name(self) -> str: ...
|
|
237
|
+
|
|
238
|
+
class RelativeSource_Static(windows_ui_xaml.DependencyObject_Static):
|
|
239
|
+
pass
|
|
240
|
+
|
|
241
|
+
class RelativeSource(windows_ui_xaml.DependencyObject, metaclass=RelativeSource_Static):
|
|
242
|
+
def __new__(cls: typing.Type[Self]) -> Self: ...
|
|
243
|
+
# Windows.UI.Xaml.Data.RelativeSourceMode Windows.UI.Xaml.Data.RelativeSource::get_Mode()
|
|
244
|
+
@_property
|
|
245
|
+
def mode(self) -> RelativeSourceMode: ...
|
|
246
|
+
# System.Void Windows.UI.Xaml.Data.RelativeSource::put_Mode(Windows.UI.Xaml.Data.RelativeSourceMode)
|
|
247
|
+
@mode.setter
|
|
248
|
+
@typing.final
|
|
249
|
+
def mode(self, value: RelativeSourceMode) -> None: ...
|
|
250
|
+
|
|
251
|
+
@typing.final
|
|
252
|
+
class _ICollectionView: ...
|
|
253
|
+
|
|
254
|
+
class ICollectionView(windows_foundation_collections.IObservableVector[winrt.system.Object], windows_foundation_collections.IVector[winrt.system.Object], windows_foundation_collections.IIterable[winrt.system.Object], winrt._winrt.IInspectable):
|
|
255
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.UI.Xaml.Data.LoadMoreItemsResult> Windows.UI.Xaml.Data.ICollectionView::LoadMoreItemsAsync(System.UInt32)
|
|
256
|
+
@abstractmethod
|
|
257
|
+
def load_more_items_async(self, count: winrt.system.UInt32, /) -> windows_foundation.IAsyncOperation[LoadMoreItemsResult]: ...
|
|
258
|
+
# System.Boolean Windows.UI.Xaml.Data.ICollectionView::MoveCurrentTo(System.Object)
|
|
259
|
+
@abstractmethod
|
|
260
|
+
def move_current_to(self, item: winrt.system.Object, /) -> bool: ...
|
|
261
|
+
# System.Boolean Windows.UI.Xaml.Data.ICollectionView::MoveCurrentToFirst()
|
|
262
|
+
@abstractmethod
|
|
263
|
+
def move_current_to_first(self) -> bool: ...
|
|
264
|
+
# System.Boolean Windows.UI.Xaml.Data.ICollectionView::MoveCurrentToLast()
|
|
265
|
+
@abstractmethod
|
|
266
|
+
def move_current_to_last(self) -> bool: ...
|
|
267
|
+
# System.Boolean Windows.UI.Xaml.Data.ICollectionView::MoveCurrentToNext()
|
|
268
|
+
@abstractmethod
|
|
269
|
+
def move_current_to_next(self) -> bool: ...
|
|
270
|
+
# System.Boolean Windows.UI.Xaml.Data.ICollectionView::MoveCurrentToPosition(System.Int32)
|
|
271
|
+
@abstractmethod
|
|
272
|
+
def move_current_to_position(self, index: winrt.system.Int32, /) -> bool: ...
|
|
273
|
+
# System.Boolean Windows.UI.Xaml.Data.ICollectionView::MoveCurrentToPrevious()
|
|
274
|
+
@abstractmethod
|
|
275
|
+
def move_current_to_previous(self) -> bool: ...
|
|
276
|
+
# Windows.Foundation.EventRegistrationToken Windows.UI.Xaml.Data.ICollectionView::add_CurrentChanged(Windows.Foundation.EventHandler`1<System.Object>)
|
|
277
|
+
@abstractmethod
|
|
278
|
+
def add_current_changed(self, handler: windows_foundation.EventHandler[winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
|
|
279
|
+
# System.Void Windows.UI.Xaml.Data.ICollectionView::remove_CurrentChanged(Windows.Foundation.EventRegistrationToken)
|
|
280
|
+
@abstractmethod
|
|
281
|
+
def remove_current_changed(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
282
|
+
# Windows.Foundation.EventRegistrationToken Windows.UI.Xaml.Data.ICollectionView::add_CurrentChanging(Windows.UI.Xaml.Data.CurrentChangingEventHandler)
|
|
283
|
+
@abstractmethod
|
|
284
|
+
def add_current_changing(self, handler: CurrentChangingEventHandler, /) -> windows_foundation.EventRegistrationToken: ...
|
|
285
|
+
# System.Void Windows.UI.Xaml.Data.ICollectionView::remove_CurrentChanging(Windows.Foundation.EventRegistrationToken)
|
|
286
|
+
@abstractmethod
|
|
287
|
+
def remove_current_changing(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
288
|
+
# Windows.Foundation.Collections.IObservableVector`1<System.Object> Windows.UI.Xaml.Data.ICollectionView::get_CollectionGroups()
|
|
289
|
+
@_property
|
|
290
|
+
@abstractmethod
|
|
291
|
+
def collection_groups(self) -> windows_foundation_collections.IObservableVector[winrt.system.Object]: ...
|
|
292
|
+
# System.Object Windows.UI.Xaml.Data.ICollectionView::get_CurrentItem()
|
|
293
|
+
@_property
|
|
294
|
+
@abstractmethod
|
|
295
|
+
def current_item(self) -> winrt.system.Object: ...
|
|
296
|
+
# System.Int32 Windows.UI.Xaml.Data.ICollectionView::get_CurrentPosition()
|
|
297
|
+
@_property
|
|
298
|
+
@abstractmethod
|
|
299
|
+
def current_position(self) -> winrt.system.Int32: ...
|
|
300
|
+
# System.Boolean Windows.UI.Xaml.Data.ICollectionView::get_HasMoreItems()
|
|
301
|
+
@_property
|
|
302
|
+
@abstractmethod
|
|
303
|
+
def has_more_items(self) -> bool: ...
|
|
304
|
+
# System.Boolean Windows.UI.Xaml.Data.ICollectionView::get_IsCurrentAfterLast()
|
|
305
|
+
@_property
|
|
306
|
+
@abstractmethod
|
|
307
|
+
def is_current_after_last(self) -> bool: ...
|
|
308
|
+
# System.Boolean Windows.UI.Xaml.Data.ICollectionView::get_IsCurrentBeforeFirst()
|
|
309
|
+
@_property
|
|
310
|
+
@abstractmethod
|
|
311
|
+
def is_current_before_first(self) -> bool: ...
|
|
312
|
+
|
|
313
|
+
@typing.final
|
|
314
|
+
class _ICollectionViewFactory: ...
|
|
315
|
+
|
|
316
|
+
class ICollectionViewFactory(winrt._winrt.IInspectable):
|
|
317
|
+
# Windows.UI.Xaml.Data.ICollectionView Windows.UI.Xaml.Data.ICollectionViewFactory::CreateView()
|
|
318
|
+
@abstractmethod
|
|
319
|
+
def create_view(self) -> ICollectionView: ...
|
|
320
|
+
|
|
321
|
+
@typing.final
|
|
322
|
+
class _ICollectionViewGroup: ...
|
|
323
|
+
|
|
324
|
+
class ICollectionViewGroup(winrt._winrt.IInspectable):
|
|
325
|
+
# System.Object Windows.UI.Xaml.Data.ICollectionViewGroup::get_Group()
|
|
326
|
+
@_property
|
|
327
|
+
@abstractmethod
|
|
328
|
+
def group(self) -> winrt.system.Object: ...
|
|
329
|
+
# Windows.Foundation.Collections.IObservableVector`1<System.Object> Windows.UI.Xaml.Data.ICollectionViewGroup::get_GroupItems()
|
|
330
|
+
@_property
|
|
331
|
+
@abstractmethod
|
|
332
|
+
def group_items(self) -> windows_foundation_collections.IObservableVector[winrt.system.Object]: ...
|
|
333
|
+
|
|
334
|
+
@typing.final
|
|
335
|
+
class _ICustomProperty: ...
|
|
336
|
+
|
|
337
|
+
class ICustomProperty(winrt._winrt.IInspectable):
|
|
338
|
+
# System.Object Windows.UI.Xaml.Data.ICustomProperty::GetIndexedValue(System.Object,System.Object)
|
|
339
|
+
@abstractmethod
|
|
340
|
+
def get_indexed_value(self, target: winrt.system.Object, index: winrt.system.Object, /) -> winrt.system.Object: ...
|
|
341
|
+
# System.Object Windows.UI.Xaml.Data.ICustomProperty::GetValue(System.Object)
|
|
342
|
+
@abstractmethod
|
|
343
|
+
def get_value(self, target: winrt.system.Object, /) -> winrt.system.Object: ...
|
|
344
|
+
# System.Void Windows.UI.Xaml.Data.ICustomProperty::SetIndexedValue(System.Object,System.Object,System.Object)
|
|
345
|
+
@abstractmethod
|
|
346
|
+
def set_indexed_value(self, target: winrt.system.Object, value: winrt.system.Object, index: winrt.system.Object, /) -> None: ...
|
|
347
|
+
# System.Void Windows.UI.Xaml.Data.ICustomProperty::SetValue(System.Object,System.Object)
|
|
348
|
+
@abstractmethod
|
|
349
|
+
def set_value(self, target: winrt.system.Object, value: winrt.system.Object, /) -> None: ...
|
|
350
|
+
# System.Boolean Windows.UI.Xaml.Data.ICustomProperty::get_CanRead()
|
|
351
|
+
@_property
|
|
352
|
+
@abstractmethod
|
|
353
|
+
def can_read(self) -> bool: ...
|
|
354
|
+
# System.Boolean Windows.UI.Xaml.Data.ICustomProperty::get_CanWrite()
|
|
355
|
+
@_property
|
|
356
|
+
@abstractmethod
|
|
357
|
+
def can_write(self) -> bool: ...
|
|
358
|
+
# System.String Windows.UI.Xaml.Data.ICustomProperty::get_Name()
|
|
359
|
+
@_property
|
|
360
|
+
@abstractmethod
|
|
361
|
+
def name(self) -> str: ...
|
|
362
|
+
# Windows.UI.Xaml.Interop.TypeName Windows.UI.Xaml.Data.ICustomProperty::get_Type()
|
|
363
|
+
@_property
|
|
364
|
+
@abstractmethod
|
|
365
|
+
def type(self) -> windows_ui_xaml_interop.TypeName: ...
|
|
366
|
+
|
|
367
|
+
@typing.final
|
|
368
|
+
class _ICustomPropertyProvider: ...
|
|
369
|
+
|
|
370
|
+
class ICustomPropertyProvider(winrt._winrt.IInspectable):
|
|
371
|
+
# Windows.UI.Xaml.Data.ICustomProperty Windows.UI.Xaml.Data.ICustomPropertyProvider::GetCustomProperty(System.String)
|
|
372
|
+
@abstractmethod
|
|
373
|
+
def get_custom_property(self, name: str, /) -> ICustomProperty: ...
|
|
374
|
+
# Windows.UI.Xaml.Data.ICustomProperty Windows.UI.Xaml.Data.ICustomPropertyProvider::GetIndexedProperty(System.String,Windows.UI.Xaml.Interop.TypeName)
|
|
375
|
+
@abstractmethod
|
|
376
|
+
def get_indexed_property(self, name: str, type: typing.Union[windows_ui_xaml_interop.TypeName, typing.Tuple[str, windows_ui_xaml_interop.TypeKind]], /) -> ICustomProperty: ...
|
|
377
|
+
# System.String Windows.UI.Xaml.Data.ICustomPropertyProvider::GetStringRepresentation()
|
|
378
|
+
@abstractmethod
|
|
379
|
+
def get_string_representation(self) -> str: ...
|
|
380
|
+
# Windows.UI.Xaml.Interop.TypeName Windows.UI.Xaml.Data.ICustomPropertyProvider::get_Type()
|
|
381
|
+
@_property
|
|
382
|
+
@abstractmethod
|
|
383
|
+
def type(self) -> windows_ui_xaml_interop.TypeName: ...
|
|
384
|
+
|
|
385
|
+
@typing.final
|
|
386
|
+
class _IItemsRangeInfo: ...
|
|
387
|
+
|
|
388
|
+
class IItemsRangeInfo(windows_foundation.IClosable, winrt._winrt.IInspectable):
|
|
389
|
+
# System.Void Windows.UI.Xaml.Data.IItemsRangeInfo::RangesChanged(Windows.UI.Xaml.Data.ItemIndexRange,Windows.Foundation.Collections.IVectorView`1<Windows.UI.Xaml.Data.ItemIndexRange>)
|
|
390
|
+
@abstractmethod
|
|
391
|
+
def ranges_changed(self, visible_range: ItemIndexRange, tracked_items: typing.Sequence[ItemIndexRange], /) -> None: ...
|
|
392
|
+
|
|
393
|
+
@typing.final
|
|
394
|
+
class _INotifyPropertyChanged: ...
|
|
395
|
+
|
|
396
|
+
class INotifyPropertyChanged(winrt._winrt.IInspectable):
|
|
397
|
+
# Windows.Foundation.EventRegistrationToken Windows.UI.Xaml.Data.INotifyPropertyChanged::add_PropertyChanged(Windows.UI.Xaml.Data.PropertyChangedEventHandler)
|
|
398
|
+
@abstractmethod
|
|
399
|
+
def add_property_changed(self, handler: PropertyChangedEventHandler, /) -> windows_foundation.EventRegistrationToken: ...
|
|
400
|
+
# System.Void Windows.UI.Xaml.Data.INotifyPropertyChanged::remove_PropertyChanged(Windows.Foundation.EventRegistrationToken)
|
|
401
|
+
@abstractmethod
|
|
402
|
+
def remove_property_changed(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
403
|
+
|
|
404
|
+
@typing.final
|
|
405
|
+
class _ISelectionInfo: ...
|
|
406
|
+
|
|
407
|
+
class ISelectionInfo(winrt._winrt.IInspectable):
|
|
408
|
+
# System.Void Windows.UI.Xaml.Data.ISelectionInfo::DeselectRange(Windows.UI.Xaml.Data.ItemIndexRange)
|
|
409
|
+
@abstractmethod
|
|
410
|
+
def deselect_range(self, item_index_range: ItemIndexRange, /) -> None: ...
|
|
411
|
+
# Windows.Foundation.Collections.IVectorView`1<Windows.UI.Xaml.Data.ItemIndexRange> Windows.UI.Xaml.Data.ISelectionInfo::GetSelectedRanges()
|
|
412
|
+
@abstractmethod
|
|
413
|
+
def get_selected_ranges(self) -> typing.Sequence[ItemIndexRange]: ...
|
|
414
|
+
# System.Boolean Windows.UI.Xaml.Data.ISelectionInfo::IsSelected(System.Int32)
|
|
415
|
+
@abstractmethod
|
|
416
|
+
def is_selected(self, index: winrt.system.Int32, /) -> bool: ...
|
|
417
|
+
# System.Void Windows.UI.Xaml.Data.ISelectionInfo::SelectRange(Windows.UI.Xaml.Data.ItemIndexRange)
|
|
418
|
+
@abstractmethod
|
|
419
|
+
def select_range(self, item_index_range: ItemIndexRange, /) -> None: ...
|
|
420
|
+
|
|
421
|
+
@typing.final
|
|
422
|
+
class _ISupportIncrementalLoading: ...
|
|
423
|
+
|
|
424
|
+
class ISupportIncrementalLoading(winrt._winrt.IInspectable):
|
|
425
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.UI.Xaml.Data.LoadMoreItemsResult> Windows.UI.Xaml.Data.ISupportIncrementalLoading::LoadMoreItemsAsync(System.UInt32)
|
|
426
|
+
@abstractmethod
|
|
427
|
+
def load_more_items_async(self, count: winrt.system.UInt32, /) -> windows_foundation.IAsyncOperation[LoadMoreItemsResult]: ...
|
|
428
|
+
# System.Boolean Windows.UI.Xaml.Data.ISupportIncrementalLoading::get_HasMoreItems()
|
|
429
|
+
@_property
|
|
430
|
+
@abstractmethod
|
|
431
|
+
def has_more_items(self) -> bool: ...
|
|
432
|
+
|
|
433
|
+
@typing.final
|
|
434
|
+
class _IValueConverter: ...
|
|
435
|
+
|
|
436
|
+
class IValueConverter(winrt._winrt.IInspectable):
|
|
437
|
+
# System.Object Windows.UI.Xaml.Data.IValueConverter::Convert(System.Object,Windows.UI.Xaml.Interop.TypeName,System.Object,System.String)
|
|
438
|
+
@abstractmethod
|
|
439
|
+
def convert(self, value: winrt.system.Object, target_type: typing.Union[windows_ui_xaml_interop.TypeName, typing.Tuple[str, windows_ui_xaml_interop.TypeKind]], parameter: winrt.system.Object, language: str, /) -> winrt.system.Object: ...
|
|
440
|
+
# System.Object Windows.UI.Xaml.Data.IValueConverter::ConvertBack(System.Object,Windows.UI.Xaml.Interop.TypeName,System.Object,System.String)
|
|
441
|
+
@abstractmethod
|
|
442
|
+
def convert_back(self, value: winrt.system.Object, target_type: typing.Union[windows_ui_xaml_interop.TypeName, typing.Tuple[str, windows_ui_xaml_interop.TypeKind]], parameter: winrt.system.Object, language: str, /) -> winrt.system.Object: ...
|
|
443
|
+
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.2.1
|
|
2
|
+
|
|
3
|
+
import enum
|
|
4
|
+
import typing
|
|
5
|
+
import uuid as _uuid
|
|
6
|
+
|
|
7
|
+
import winrt.runtime._internals
|
|
8
|
+
import winrt.system
|
|
9
|
+
from winrt._winrt_windows_ui_xaml_data import (
|
|
10
|
+
LoadMoreItemsResult,
|
|
11
|
+
Binding,
|
|
12
|
+
BindingBase,
|
|
13
|
+
BindingExpression,
|
|
14
|
+
BindingExpressionBase,
|
|
15
|
+
BindingOperations,
|
|
16
|
+
CollectionViewSource,
|
|
17
|
+
CurrentChangingEventArgs,
|
|
18
|
+
ItemIndexRange,
|
|
19
|
+
PropertyChangedEventArgs,
|
|
20
|
+
RelativeSource,
|
|
21
|
+
_ICollectionView,
|
|
22
|
+
ICollectionView,
|
|
23
|
+
_ICollectionViewFactory,
|
|
24
|
+
ICollectionViewFactory,
|
|
25
|
+
_ICollectionViewGroup,
|
|
26
|
+
ICollectionViewGroup,
|
|
27
|
+
_ICustomProperty,
|
|
28
|
+
ICustomProperty,
|
|
29
|
+
_ICustomPropertyProvider,
|
|
30
|
+
ICustomPropertyProvider,
|
|
31
|
+
_IItemsRangeInfo,
|
|
32
|
+
IItemsRangeInfo,
|
|
33
|
+
_INotifyPropertyChanged,
|
|
34
|
+
INotifyPropertyChanged,
|
|
35
|
+
_ISelectionInfo,
|
|
36
|
+
ISelectionInfo,
|
|
37
|
+
_ISupportIncrementalLoading,
|
|
38
|
+
ISupportIncrementalLoading,
|
|
39
|
+
_IValueConverter,
|
|
40
|
+
IValueConverter,
|
|
41
|
+
)
|
|
42
|
+
from typing import TYPE_CHECKING
|
|
43
|
+
if TYPE_CHECKING:
|
|
44
|
+
from winrt._winrt_windows_ui_xaml_data import (
|
|
45
|
+
Binding_Static,
|
|
46
|
+
BindingBase_Static,
|
|
47
|
+
BindingExpression_Static,
|
|
48
|
+
BindingExpressionBase_Static,
|
|
49
|
+
CurrentChangingEventArgs_Static,
|
|
50
|
+
ItemIndexRange_Static,
|
|
51
|
+
PropertyChangedEventArgs_Static,
|
|
52
|
+
RelativeSource_Static,
|
|
53
|
+
)
|
|
54
|
+
|
|
55
|
+
__all__ = [
|
|
56
|
+
"BindingMode",
|
|
57
|
+
"RelativeSourceMode",
|
|
58
|
+
"UpdateSourceTrigger",
|
|
59
|
+
"LoadMoreItemsResult",
|
|
60
|
+
"Binding",
|
|
61
|
+
"BindingBase",
|
|
62
|
+
"BindingExpression",
|
|
63
|
+
"BindingExpressionBase",
|
|
64
|
+
"BindingOperations",
|
|
65
|
+
"CollectionViewSource",
|
|
66
|
+
"CurrentChangingEventArgs",
|
|
67
|
+
"ItemIndexRange",
|
|
68
|
+
"PropertyChangedEventArgs",
|
|
69
|
+
"RelativeSource",
|
|
70
|
+
"ICollectionView",
|
|
71
|
+
"ICollectionViewFactory",
|
|
72
|
+
"ICollectionViewGroup",
|
|
73
|
+
"ICustomProperty",
|
|
74
|
+
"ICustomPropertyProvider",
|
|
75
|
+
"IItemsRangeInfo",
|
|
76
|
+
"INotifyPropertyChanged",
|
|
77
|
+
"ISelectionInfo",
|
|
78
|
+
"ISupportIncrementalLoading",
|
|
79
|
+
"IValueConverter",
|
|
80
|
+
"CurrentChangingEventHandler",
|
|
81
|
+
"PropertyChangedEventHandler",
|
|
82
|
+
]
|
|
83
|
+
|
|
84
|
+
class BindingMode(enum.IntEnum):
|
|
85
|
+
ONE_WAY = 1
|
|
86
|
+
ONE_TIME = 2
|
|
87
|
+
TWO_WAY = 3
|
|
88
|
+
|
|
89
|
+
class RelativeSourceMode(enum.IntEnum):
|
|
90
|
+
NONE = 0
|
|
91
|
+
TEMPLATED_PARENT = 1
|
|
92
|
+
SELF = 2
|
|
93
|
+
|
|
94
|
+
class UpdateSourceTrigger(enum.IntEnum):
|
|
95
|
+
DEFAULT = 0
|
|
96
|
+
PROPERTY_CHANGED = 1
|
|
97
|
+
EXPLICIT = 2
|
|
98
|
+
LOST_FOCUS = 3
|
|
99
|
+
|
|
100
|
+
winrt.runtime._internals.mixin_mutable_sequence(_ICollectionView)
|
|
101
|
+
CurrentChangingEventHandler = typing.Callable[[winrt.system.Object, CurrentChangingEventArgs], None]
|
|
102
|
+
PropertyChangedEventHandler = typing.Callable[[winrt.system.Object, PropertyChangedEventArgs], None]
|
|
File without changes
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: winrt-Windows.UI.Xaml.Data
|
|
3
|
+
Version: 3.2.1
|
|
4
|
+
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
|
+
License-Expression: MIT
|
|
6
|
+
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
7
|
+
Project-URL: Repository, https://github.com/pywinrt/pywinrt
|
|
8
|
+
Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
|
|
9
|
+
Classifier: Operating System :: Microsoft :: Windows
|
|
10
|
+
Classifier: Programming Language :: Python :: 3
|
|
11
|
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
12
|
+
Classifier: Intended Audience :: Developers
|
|
13
|
+
Requires-Python: >=3.9
|
|
14
|
+
Description-Content-Type: text/markdown
|
|
15
|
+
Requires-Dist: winrt-runtime~=3.2.1.0
|
|
16
|
+
Requires-Dist: winrt-Windows.UI.Xaml~=3.2.1.0
|
|
17
|
+
Provides-Extra: all
|
|
18
|
+
Requires-Dist: winrt-Windows.Foundation[all]~=3.2.1.0; extra == "all"
|
|
19
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all]~=3.2.1.0; extra == "all"
|
|
20
|
+
Requires-Dist: winrt-Windows.UI.Xaml[all]~=3.2.1.0; extra == "all"
|
|
21
|
+
Requires-Dist: winrt-Windows.UI.Xaml.Interop[all]~=3.2.1.0; extra == "all"
|
|
22
|
+
|
|
23
|
+
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
24
|
+
|
|
25
|
+
# winrt-Windows.UI.Xaml.Data
|
|
26
|
+
|
|
27
|
+
Windows Runtime (WinRT) APIs for for the `Windows.UI.Xaml.Data` namespace.
|
|
28
|
+
|
|
29
|
+
This package provides the `winrt.windows.ui.xaml.data` module.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
winrt/_winrt_windows_ui_xaml_data.cp314-win32.pyd,sha256=lRKyJQ7pRNYPahhoY1AWyl1qvwBuZ84FTXJYzh0tNGw,395264
|
|
2
|
+
winrt/_winrt_windows_ui_xaml_data.pyi,sha256=IqgKX3K-VJhFcu2bKnYb3ZfuiIIxovlmCbW1qRw06Fo,22158
|
|
3
|
+
winrt/windows/ui/xaml/data/__init__.py,sha256=N5RB0LlNd7tANLSd9pFwUEsliT0Ka1Z_PGCDHOlkr-E,2629
|
|
4
|
+
winrt/windows/ui/xaml/data/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
|
+
winrt_windows_ui_xaml_data-3.2.1.dist-info/METADATA,sha256=j6ODM-cQZPMwQfmHBJf9bc9XPyV1Wosugg_BtCmUBXk,1311
|
|
6
|
+
winrt_windows_ui_xaml_data-3.2.1.dist-info/WHEEL,sha256=avp3B09fSRXVHn4cshTNKc58MtFVN-cVe0NyrqeYT2s,97
|
|
7
|
+
winrt_windows_ui_xaml_data-3.2.1.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
|
|
8
|
+
winrt_windows_ui_xaml_data-3.2.1.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
winrt
|