winrt-Windows.Graphics.Printing.OptionDetails 2.2.0__cp313-cp313-win_arm64.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.
@@ -0,0 +1,667 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
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
+
10
+ import winrt._winrt
11
+ import winrt.system
12
+ import winrt.windows.foundation as windows_foundation
13
+ import winrt.windows.foundation.collections as windows_foundation_collections
14
+ import winrt.windows.graphics.printing as windows_graphics_printing
15
+ import winrt.windows.storage.streams as windows_storage_streams
16
+
17
+ from winrt.windows.graphics.printing.optiondetails import PrintOptionStates, PrintOptionType
18
+
19
+ Self = typing.TypeVar('Self')
20
+
21
+ @typing.final
22
+ class PrintBindingOptionDetails(winrt.system.Object):
23
+ @staticmethod
24
+ def _from(obj: winrt.system.Object, /) -> PrintBindingOptionDetails: ...
25
+ def try_set_value(self, value: typing.Optional[winrt.system.Object], /) -> bool: ...
26
+ @_property
27
+ def warning_text(self) -> str: ...
28
+ @warning_text.setter
29
+ def warning_text(self, value: str) -> None: ...
30
+ @_property
31
+ def description(self) -> str: ...
32
+ @description.setter
33
+ def description(self, value: str) -> None: ...
34
+ @_property
35
+ def items(self) -> typing.Optional[windows_foundation_collections.IVectorView[winrt.system.Object]]: ...
36
+ @_property
37
+ def state(self) -> PrintOptionStates: ...
38
+ @state.setter
39
+ def state(self, value: PrintOptionStates) -> None: ...
40
+ @_property
41
+ def error_text(self) -> str: ...
42
+ @error_text.setter
43
+ def error_text(self, value: str) -> None: ...
44
+ @_property
45
+ def option_id(self) -> str: ...
46
+ @_property
47
+ def option_type(self) -> PrintOptionType: ...
48
+ @_property
49
+ def value(self) -> typing.Optional[winrt.system.Object]: ...
50
+
51
+ @typing.final
52
+ class PrintBorderingOptionDetails(winrt.system.Object):
53
+ @staticmethod
54
+ def _from(obj: winrt.system.Object, /) -> PrintBorderingOptionDetails: ...
55
+ def try_set_value(self, value: typing.Optional[winrt.system.Object], /) -> bool: ...
56
+ @_property
57
+ def warning_text(self) -> str: ...
58
+ @warning_text.setter
59
+ def warning_text(self, value: str) -> None: ...
60
+ @_property
61
+ def description(self) -> str: ...
62
+ @description.setter
63
+ def description(self, value: str) -> None: ...
64
+ @_property
65
+ def items(self) -> typing.Optional[windows_foundation_collections.IVectorView[winrt.system.Object]]: ...
66
+ @_property
67
+ def state(self) -> PrintOptionStates: ...
68
+ @state.setter
69
+ def state(self, value: PrintOptionStates) -> None: ...
70
+ @_property
71
+ def error_text(self) -> str: ...
72
+ @error_text.setter
73
+ def error_text(self, value: str) -> None: ...
74
+ @_property
75
+ def option_id(self) -> str: ...
76
+ @_property
77
+ def option_type(self) -> PrintOptionType: ...
78
+ @_property
79
+ def value(self) -> typing.Optional[winrt.system.Object]: ...
80
+
81
+ @typing.final
82
+ class PrintCollationOptionDetails(winrt.system.Object):
83
+ @staticmethod
84
+ def _from(obj: winrt.system.Object, /) -> PrintCollationOptionDetails: ...
85
+ def try_set_value(self, value: typing.Optional[winrt.system.Object], /) -> bool: ...
86
+ @_property
87
+ def warning_text(self) -> str: ...
88
+ @warning_text.setter
89
+ def warning_text(self, value: str) -> None: ...
90
+ @_property
91
+ def description(self) -> str: ...
92
+ @description.setter
93
+ def description(self, value: str) -> None: ...
94
+ @_property
95
+ def items(self) -> typing.Optional[windows_foundation_collections.IVectorView[winrt.system.Object]]: ...
96
+ @_property
97
+ def state(self) -> PrintOptionStates: ...
98
+ @state.setter
99
+ def state(self, value: PrintOptionStates) -> None: ...
100
+ @_property
101
+ def error_text(self) -> str: ...
102
+ @error_text.setter
103
+ def error_text(self, value: str) -> None: ...
104
+ @_property
105
+ def option_id(self) -> str: ...
106
+ @_property
107
+ def option_type(self) -> PrintOptionType: ...
108
+ @_property
109
+ def value(self) -> typing.Optional[winrt.system.Object]: ...
110
+
111
+ @typing.final
112
+ class PrintColorModeOptionDetails(winrt.system.Object):
113
+ @staticmethod
114
+ def _from(obj: winrt.system.Object, /) -> PrintColorModeOptionDetails: ...
115
+ def try_set_value(self, value: typing.Optional[winrt.system.Object], /) -> bool: ...
116
+ @_property
117
+ def warning_text(self) -> str: ...
118
+ @warning_text.setter
119
+ def warning_text(self, value: str) -> None: ...
120
+ @_property
121
+ def description(self) -> str: ...
122
+ @description.setter
123
+ def description(self, value: str) -> None: ...
124
+ @_property
125
+ def items(self) -> typing.Optional[windows_foundation_collections.IVectorView[winrt.system.Object]]: ...
126
+ @_property
127
+ def state(self) -> PrintOptionStates: ...
128
+ @state.setter
129
+ def state(self, value: PrintOptionStates) -> None: ...
130
+ @_property
131
+ def error_text(self) -> str: ...
132
+ @error_text.setter
133
+ def error_text(self, value: str) -> None: ...
134
+ @_property
135
+ def option_id(self) -> str: ...
136
+ @_property
137
+ def option_type(self) -> PrintOptionType: ...
138
+ @_property
139
+ def value(self) -> typing.Optional[winrt.system.Object]: ...
140
+
141
+ @typing.final
142
+ class PrintCopiesOptionDetails(winrt.system.Object):
143
+ @staticmethod
144
+ def _from(obj: winrt.system.Object, /) -> PrintCopiesOptionDetails: ...
145
+ def try_set_value(self, value: typing.Optional[winrt.system.Object], /) -> bool: ...
146
+ @_property
147
+ def warning_text(self) -> str: ...
148
+ @warning_text.setter
149
+ def warning_text(self, value: str) -> None: ...
150
+ @_property
151
+ def description(self) -> str: ...
152
+ @description.setter
153
+ def description(self, value: str) -> None: ...
154
+ @_property
155
+ def max_value(self) -> winrt.system.UInt32: ...
156
+ @_property
157
+ def min_value(self) -> winrt.system.UInt32: ...
158
+ @_property
159
+ def state(self) -> PrintOptionStates: ...
160
+ @state.setter
161
+ def state(self, value: PrintOptionStates) -> None: ...
162
+ @_property
163
+ def error_text(self) -> str: ...
164
+ @error_text.setter
165
+ def error_text(self, value: str) -> None: ...
166
+ @_property
167
+ def option_id(self) -> str: ...
168
+ @_property
169
+ def option_type(self) -> PrintOptionType: ...
170
+ @_property
171
+ def value(self) -> typing.Optional[winrt.system.Object]: ...
172
+
173
+ @typing.final
174
+ class PrintCustomItemDetails(winrt.system.Object):
175
+ @staticmethod
176
+ def _from(obj: winrt.system.Object, /) -> PrintCustomItemDetails: ...
177
+ @_property
178
+ def item_display_name(self) -> str: ...
179
+ @item_display_name.setter
180
+ def item_display_name(self, value: str) -> None: ...
181
+ @_property
182
+ def item_id(self) -> str: ...
183
+
184
+ @typing.final
185
+ class PrintCustomItemListOptionDetails(winrt.system.Object):
186
+ @staticmethod
187
+ def _from(obj: winrt.system.Object, /) -> PrintCustomItemListOptionDetails: ...
188
+ @typing.overload
189
+ def add_item(self, item_id: str, display_name: str, /) -> None: ...
190
+ @typing.overload
191
+ def add_item(self, item_id: str, display_name: str, description: str, icon: typing.Optional[windows_storage_streams.IRandomAccessStreamWithContentType], /) -> None: ...
192
+ def try_set_value(self, value: typing.Optional[winrt.system.Object], /) -> bool: ...
193
+ @_property
194
+ def warning_text(self) -> str: ...
195
+ @warning_text.setter
196
+ def warning_text(self, value: str) -> None: ...
197
+ @_property
198
+ def description(self) -> str: ...
199
+ @description.setter
200
+ def description(self, value: str) -> None: ...
201
+ @_property
202
+ def display_name(self) -> str: ...
203
+ @display_name.setter
204
+ def display_name(self, value: str) -> None: ...
205
+ @_property
206
+ def items(self) -> typing.Optional[windows_foundation_collections.IVectorView[winrt.system.Object]]: ...
207
+ @_property
208
+ def state(self) -> PrintOptionStates: ...
209
+ @state.setter
210
+ def state(self, value: PrintOptionStates) -> None: ...
211
+ @_property
212
+ def error_text(self) -> str: ...
213
+ @error_text.setter
214
+ def error_text(self, value: str) -> None: ...
215
+ @_property
216
+ def option_id(self) -> str: ...
217
+ @_property
218
+ def option_type(self) -> PrintOptionType: ...
219
+ @_property
220
+ def value(self) -> typing.Optional[winrt.system.Object]: ...
221
+
222
+ @typing.final
223
+ class PrintCustomTextOptionDetails(winrt.system.Object):
224
+ @staticmethod
225
+ def _from(obj: winrt.system.Object, /) -> PrintCustomTextOptionDetails: ...
226
+ def try_set_value(self, value: typing.Optional[winrt.system.Object], /) -> bool: ...
227
+ @_property
228
+ def display_name(self) -> str: ...
229
+ @display_name.setter
230
+ def display_name(self, value: str) -> None: ...
231
+ @_property
232
+ def max_characters(self) -> winrt.system.UInt32: ...
233
+ @max_characters.setter
234
+ def max_characters(self, value: winrt.system.UInt32) -> None: ...
235
+ @_property
236
+ def warning_text(self) -> str: ...
237
+ @warning_text.setter
238
+ def warning_text(self, value: str) -> None: ...
239
+ @_property
240
+ def description(self) -> str: ...
241
+ @description.setter
242
+ def description(self, value: str) -> None: ...
243
+ @_property
244
+ def state(self) -> PrintOptionStates: ...
245
+ @state.setter
246
+ def state(self, value: PrintOptionStates) -> None: ...
247
+ @_property
248
+ def error_text(self) -> str: ...
249
+ @error_text.setter
250
+ def error_text(self, value: str) -> None: ...
251
+ @_property
252
+ def option_id(self) -> str: ...
253
+ @_property
254
+ def option_type(self) -> PrintOptionType: ...
255
+ @_property
256
+ def value(self) -> typing.Optional[winrt.system.Object]: ...
257
+
258
+ @typing.final
259
+ class PrintCustomToggleOptionDetails(winrt.system.Object):
260
+ @staticmethod
261
+ def _from(obj: winrt.system.Object, /) -> PrintCustomToggleOptionDetails: ...
262
+ def try_set_value(self, value: typing.Optional[winrt.system.Object], /) -> bool: ...
263
+ @_property
264
+ def display_name(self) -> str: ...
265
+ @display_name.setter
266
+ def display_name(self, value: str) -> None: ...
267
+ @_property
268
+ def warning_text(self) -> str: ...
269
+ @warning_text.setter
270
+ def warning_text(self, value: str) -> None: ...
271
+ @_property
272
+ def description(self) -> str: ...
273
+ @description.setter
274
+ def description(self, value: str) -> None: ...
275
+ @_property
276
+ def state(self) -> PrintOptionStates: ...
277
+ @state.setter
278
+ def state(self, value: PrintOptionStates) -> None: ...
279
+ @_property
280
+ def error_text(self) -> str: ...
281
+ @error_text.setter
282
+ def error_text(self, value: str) -> None: ...
283
+ @_property
284
+ def option_id(self) -> str: ...
285
+ @_property
286
+ def option_type(self) -> PrintOptionType: ...
287
+ @_property
288
+ def value(self) -> typing.Optional[winrt.system.Object]: ...
289
+
290
+ @typing.final
291
+ class PrintDuplexOptionDetails(winrt.system.Object):
292
+ @staticmethod
293
+ def _from(obj: winrt.system.Object, /) -> PrintDuplexOptionDetails: ...
294
+ def try_set_value(self, value: typing.Optional[winrt.system.Object], /) -> bool: ...
295
+ @_property
296
+ def warning_text(self) -> str: ...
297
+ @warning_text.setter
298
+ def warning_text(self, value: str) -> None: ...
299
+ @_property
300
+ def description(self) -> str: ...
301
+ @description.setter
302
+ def description(self, value: str) -> None: ...
303
+ @_property
304
+ def items(self) -> typing.Optional[windows_foundation_collections.IVectorView[winrt.system.Object]]: ...
305
+ @_property
306
+ def state(self) -> PrintOptionStates: ...
307
+ @state.setter
308
+ def state(self, value: PrintOptionStates) -> None: ...
309
+ @_property
310
+ def error_text(self) -> str: ...
311
+ @error_text.setter
312
+ def error_text(self, value: str) -> None: ...
313
+ @_property
314
+ def option_id(self) -> str: ...
315
+ @_property
316
+ def option_type(self) -> PrintOptionType: ...
317
+ @_property
318
+ def value(self) -> typing.Optional[winrt.system.Object]: ...
319
+
320
+ @typing.final
321
+ class PrintHolePunchOptionDetails(winrt.system.Object):
322
+ @staticmethod
323
+ def _from(obj: winrt.system.Object, /) -> PrintHolePunchOptionDetails: ...
324
+ def try_set_value(self, value: typing.Optional[winrt.system.Object], /) -> bool: ...
325
+ @_property
326
+ def warning_text(self) -> str: ...
327
+ @warning_text.setter
328
+ def warning_text(self, value: str) -> None: ...
329
+ @_property
330
+ def description(self) -> str: ...
331
+ @description.setter
332
+ def description(self, value: str) -> None: ...
333
+ @_property
334
+ def items(self) -> typing.Optional[windows_foundation_collections.IVectorView[winrt.system.Object]]: ...
335
+ @_property
336
+ def state(self) -> PrintOptionStates: ...
337
+ @state.setter
338
+ def state(self, value: PrintOptionStates) -> None: ...
339
+ @_property
340
+ def error_text(self) -> str: ...
341
+ @error_text.setter
342
+ def error_text(self, value: str) -> None: ...
343
+ @_property
344
+ def option_id(self) -> str: ...
345
+ @_property
346
+ def option_type(self) -> PrintOptionType: ...
347
+ @_property
348
+ def value(self) -> typing.Optional[winrt.system.Object]: ...
349
+
350
+ @typing.final
351
+ class PrintMediaSizeOptionDetails(winrt.system.Object):
352
+ @staticmethod
353
+ def _from(obj: winrt.system.Object, /) -> PrintMediaSizeOptionDetails: ...
354
+ def try_set_value(self, value: typing.Optional[winrt.system.Object], /) -> bool: ...
355
+ @_property
356
+ def items(self) -> typing.Optional[windows_foundation_collections.IVectorView[winrt.system.Object]]: ...
357
+ @_property
358
+ def warning_text(self) -> str: ...
359
+ @warning_text.setter
360
+ def warning_text(self, value: str) -> None: ...
361
+ @_property
362
+ def description(self) -> str: ...
363
+ @description.setter
364
+ def description(self, value: str) -> None: ...
365
+ @_property
366
+ def state(self) -> PrintOptionStates: ...
367
+ @state.setter
368
+ def state(self, value: PrintOptionStates) -> None: ...
369
+ @_property
370
+ def error_text(self) -> str: ...
371
+ @error_text.setter
372
+ def error_text(self, value: str) -> None: ...
373
+ @_property
374
+ def option_id(self) -> str: ...
375
+ @_property
376
+ def option_type(self) -> PrintOptionType: ...
377
+ @_property
378
+ def value(self) -> typing.Optional[winrt.system.Object]: ...
379
+
380
+ @typing.final
381
+ class PrintMediaTypeOptionDetails(winrt.system.Object):
382
+ @staticmethod
383
+ def _from(obj: winrt.system.Object, /) -> PrintMediaTypeOptionDetails: ...
384
+ def try_set_value(self, value: typing.Optional[winrt.system.Object], /) -> bool: ...
385
+ @_property
386
+ def items(self) -> typing.Optional[windows_foundation_collections.IVectorView[winrt.system.Object]]: ...
387
+ @_property
388
+ def warning_text(self) -> str: ...
389
+ @warning_text.setter
390
+ def warning_text(self, value: str) -> None: ...
391
+ @_property
392
+ def description(self) -> str: ...
393
+ @description.setter
394
+ def description(self, value: str) -> None: ...
395
+ @_property
396
+ def state(self) -> PrintOptionStates: ...
397
+ @state.setter
398
+ def state(self, value: PrintOptionStates) -> None: ...
399
+ @_property
400
+ def error_text(self) -> str: ...
401
+ @error_text.setter
402
+ def error_text(self, value: str) -> None: ...
403
+ @_property
404
+ def option_id(self) -> str: ...
405
+ @_property
406
+ def option_type(self) -> PrintOptionType: ...
407
+ @_property
408
+ def value(self) -> typing.Optional[winrt.system.Object]: ...
409
+
410
+ @typing.final
411
+ class PrintOrientationOptionDetails(winrt.system.Object):
412
+ @staticmethod
413
+ def _from(obj: winrt.system.Object, /) -> PrintOrientationOptionDetails: ...
414
+ def try_set_value(self, value: typing.Optional[winrt.system.Object], /) -> bool: ...
415
+ @_property
416
+ def items(self) -> typing.Optional[windows_foundation_collections.IVectorView[winrt.system.Object]]: ...
417
+ @_property
418
+ def state(self) -> PrintOptionStates: ...
419
+ @state.setter
420
+ def state(self, value: PrintOptionStates) -> None: ...
421
+ @_property
422
+ def error_text(self) -> str: ...
423
+ @error_text.setter
424
+ def error_text(self, value: str) -> None: ...
425
+ @_property
426
+ def option_id(self) -> str: ...
427
+ @_property
428
+ def option_type(self) -> PrintOptionType: ...
429
+ @_property
430
+ def value(self) -> typing.Optional[winrt.system.Object]: ...
431
+ @_property
432
+ def warning_text(self) -> str: ...
433
+ @warning_text.setter
434
+ def warning_text(self, value: str) -> None: ...
435
+ @_property
436
+ def description(self) -> str: ...
437
+ @description.setter
438
+ def description(self, value: str) -> None: ...
439
+
440
+ @typing.final
441
+ class PrintPageRangeOptionDetails(winrt.system.Object):
442
+ @staticmethod
443
+ def _from(obj: winrt.system.Object, /) -> PrintPageRangeOptionDetails: ...
444
+ def try_set_value(self, value: typing.Optional[winrt.system.Object], /) -> bool: ...
445
+ @_property
446
+ def state(self) -> PrintOptionStates: ...
447
+ @state.setter
448
+ def state(self, value: PrintOptionStates) -> None: ...
449
+ @_property
450
+ def error_text(self) -> str: ...
451
+ @error_text.setter
452
+ def error_text(self, value: str) -> None: ...
453
+ @_property
454
+ def option_id(self) -> str: ...
455
+ @_property
456
+ def option_type(self) -> PrintOptionType: ...
457
+ @_property
458
+ def value(self) -> typing.Optional[winrt.system.Object]: ...
459
+ @_property
460
+ def warning_text(self) -> str: ...
461
+ @warning_text.setter
462
+ def warning_text(self, value: str) -> None: ...
463
+ @_property
464
+ def description(self) -> str: ...
465
+ @description.setter
466
+ def description(self, value: str) -> None: ...
467
+
468
+ @typing.final
469
+ class PrintQualityOptionDetails(winrt.system.Object):
470
+ @staticmethod
471
+ def _from(obj: winrt.system.Object, /) -> PrintQualityOptionDetails: ...
472
+ def try_set_value(self, value: typing.Optional[winrt.system.Object], /) -> bool: ...
473
+ @_property
474
+ def items(self) -> typing.Optional[windows_foundation_collections.IVectorView[winrt.system.Object]]: ...
475
+ @_property
476
+ def state(self) -> PrintOptionStates: ...
477
+ @state.setter
478
+ def state(self, value: PrintOptionStates) -> None: ...
479
+ @_property
480
+ def error_text(self) -> str: ...
481
+ @error_text.setter
482
+ def error_text(self, value: str) -> None: ...
483
+ @_property
484
+ def option_id(self) -> str: ...
485
+ @_property
486
+ def option_type(self) -> PrintOptionType: ...
487
+ @_property
488
+ def value(self) -> typing.Optional[winrt.system.Object]: ...
489
+ @_property
490
+ def warning_text(self) -> str: ...
491
+ @warning_text.setter
492
+ def warning_text(self, value: str) -> None: ...
493
+ @_property
494
+ def description(self) -> str: ...
495
+ @description.setter
496
+ def description(self, value: str) -> None: ...
497
+
498
+ @typing.final
499
+ class PrintStapleOptionDetails(winrt.system.Object):
500
+ @staticmethod
501
+ def _from(obj: winrt.system.Object, /) -> PrintStapleOptionDetails: ...
502
+ def try_set_value(self, value: typing.Optional[winrt.system.Object], /) -> bool: ...
503
+ @_property
504
+ def items(self) -> typing.Optional[windows_foundation_collections.IVectorView[winrt.system.Object]]: ...
505
+ @_property
506
+ def state(self) -> PrintOptionStates: ...
507
+ @state.setter
508
+ def state(self, value: PrintOptionStates) -> None: ...
509
+ @_property
510
+ def error_text(self) -> str: ...
511
+ @error_text.setter
512
+ def error_text(self, value: str) -> None: ...
513
+ @_property
514
+ def option_id(self) -> str: ...
515
+ @_property
516
+ def option_type(self) -> PrintOptionType: ...
517
+ @_property
518
+ def value(self) -> typing.Optional[winrt.system.Object]: ...
519
+ @_property
520
+ def warning_text(self) -> str: ...
521
+ @warning_text.setter
522
+ def warning_text(self, value: str) -> None: ...
523
+ @_property
524
+ def description(self) -> str: ...
525
+ @description.setter
526
+ def description(self, value: str) -> None: ...
527
+
528
+ @typing.final
529
+ class PrintTaskOptionChangedEventArgs(winrt.system.Object):
530
+ @staticmethod
531
+ def _from(obj: winrt.system.Object, /) -> PrintTaskOptionChangedEventArgs: ...
532
+ @_property
533
+ def option_id(self) -> typing.Optional[winrt.system.Object]: ...
534
+
535
+ @typing.final
536
+ class PrintTaskOptionDetails_Static(type):
537
+ def get_from_print_task_options(cls, print_task_options: typing.Optional[windows_graphics_printing.PrintTaskOptions], /) -> typing.Optional[PrintTaskOptionDetails]: ...
538
+
539
+ @typing.final
540
+ class PrintTaskOptionDetails(winrt.system.Object, metaclass=PrintTaskOptionDetails_Static):
541
+ @staticmethod
542
+ def _from(obj: winrt.system.Object, /) -> PrintTaskOptionDetails: ...
543
+ def create_item_list_option(self, option_id: str, display_name: str, /) -> typing.Optional[PrintCustomItemListOptionDetails]: ...
544
+ def create_text_option(self, option_id: str, display_name: str, /) -> typing.Optional[PrintCustomTextOptionDetails]: ...
545
+ def create_toggle_option(self, option_id: str, display_name: str, /) -> typing.Optional[PrintCustomToggleOptionDetails]: ...
546
+ def get_page_description(self, job_page_number: winrt.system.UInt32, /) -> windows_graphics_printing.PrintPageDescription: ...
547
+ def add_begin_validation(self, event_handler: windows_foundation.TypedEventHandler[PrintTaskOptionDetails, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
548
+ def remove_begin_validation(self, event_cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
549
+ def add_option_changed(self, event_handler: windows_foundation.TypedEventHandler[PrintTaskOptionDetails, PrintTaskOptionChangedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
550
+ def remove_option_changed(self, event_cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
551
+ @_property
552
+ def displayed_options(self) -> typing.Optional[windows_foundation_collections.IVector[str]]: ...
553
+ @_property
554
+ def options(self) -> typing.Optional[windows_foundation_collections.IMapView[str, IPrintOptionDetails]]: ...
555
+
556
+ @typing.final
557
+ class IPrintCustomOptionDetails(winrt.system.Object):
558
+ @staticmethod
559
+ def _from(obj: winrt.system.Object, /) -> IPrintCustomOptionDetails: ...
560
+ def try_set_value(self, value: typing.Optional[winrt.system.Object], /) -> bool: ...
561
+ @_property
562
+ def display_name(self) -> str: ...
563
+ @display_name.setter
564
+ def display_name(self, value: str) -> None: ...
565
+ @_property
566
+ def error_text(self) -> str: ...
567
+ @error_text.setter
568
+ def error_text(self, value: str) -> None: ...
569
+ @_property
570
+ def option_id(self) -> str: ...
571
+ @_property
572
+ def option_type(self) -> PrintOptionType: ...
573
+ @_property
574
+ def state(self) -> PrintOptionStates: ...
575
+ @state.setter
576
+ def state(self, value: PrintOptionStates) -> None: ...
577
+ @_property
578
+ def value(self) -> typing.Optional[winrt.system.Object]: ...
579
+
580
+ @typing.final
581
+ class IPrintItemListOptionDetails(winrt.system.Object):
582
+ @staticmethod
583
+ def _from(obj: winrt.system.Object, /) -> IPrintItemListOptionDetails: ...
584
+ def try_set_value(self, value: typing.Optional[winrt.system.Object], /) -> bool: ...
585
+ @_property
586
+ def items(self) -> typing.Optional[windows_foundation_collections.IVectorView[winrt.system.Object]]: ...
587
+ @_property
588
+ def error_text(self) -> str: ...
589
+ @error_text.setter
590
+ def error_text(self, value: str) -> None: ...
591
+ @_property
592
+ def option_id(self) -> str: ...
593
+ @_property
594
+ def option_type(self) -> PrintOptionType: ...
595
+ @_property
596
+ def state(self) -> PrintOptionStates: ...
597
+ @state.setter
598
+ def state(self, value: PrintOptionStates) -> None: ...
599
+ @_property
600
+ def value(self) -> typing.Optional[winrt.system.Object]: ...
601
+
602
+ @typing.final
603
+ class IPrintNumberOptionDetails(winrt.system.Object):
604
+ @staticmethod
605
+ def _from(obj: winrt.system.Object, /) -> IPrintNumberOptionDetails: ...
606
+ def try_set_value(self, value: typing.Optional[winrt.system.Object], /) -> bool: ...
607
+ @_property
608
+ def max_value(self) -> winrt.system.UInt32: ...
609
+ @_property
610
+ def min_value(self) -> winrt.system.UInt32: ...
611
+ @_property
612
+ def error_text(self) -> str: ...
613
+ @error_text.setter
614
+ def error_text(self, value: str) -> None: ...
615
+ @_property
616
+ def option_id(self) -> str: ...
617
+ @_property
618
+ def option_type(self) -> PrintOptionType: ...
619
+ @_property
620
+ def state(self) -> PrintOptionStates: ...
621
+ @state.setter
622
+ def state(self, value: PrintOptionStates) -> None: ...
623
+ @_property
624
+ def value(self) -> typing.Optional[winrt.system.Object]: ...
625
+
626
+ @typing.final
627
+ class IPrintOptionDetails(winrt.system.Object):
628
+ @staticmethod
629
+ def _from(obj: winrt.system.Object, /) -> IPrintOptionDetails: ...
630
+ def try_set_value(self, value: typing.Optional[winrt.system.Object], /) -> bool: ...
631
+ @_property
632
+ def error_text(self) -> str: ...
633
+ @error_text.setter
634
+ def error_text(self, value: str) -> None: ...
635
+ @_property
636
+ def option_id(self) -> str: ...
637
+ @_property
638
+ def option_type(self) -> PrintOptionType: ...
639
+ @_property
640
+ def state(self) -> PrintOptionStates: ...
641
+ @state.setter
642
+ def state(self, value: PrintOptionStates) -> None: ...
643
+ @_property
644
+ def value(self) -> typing.Optional[winrt.system.Object]: ...
645
+
646
+ @typing.final
647
+ class IPrintTextOptionDetails(winrt.system.Object):
648
+ @staticmethod
649
+ def _from(obj: winrt.system.Object, /) -> IPrintTextOptionDetails: ...
650
+ def try_set_value(self, value: typing.Optional[winrt.system.Object], /) -> bool: ...
651
+ @_property
652
+ def max_characters(self) -> winrt.system.UInt32: ...
653
+ @_property
654
+ def error_text(self) -> str: ...
655
+ @error_text.setter
656
+ def error_text(self, value: str) -> None: ...
657
+ @_property
658
+ def option_id(self) -> str: ...
659
+ @_property
660
+ def option_type(self) -> PrintOptionType: ...
661
+ @_property
662
+ def state(self) -> PrintOptionStates: ...
663
+ @state.setter
664
+ def state(self, value: PrintOptionStates) -> None: ...
665
+ @_property
666
+ def value(self) -> typing.Optional[winrt.system.Object]: ...
667
+
@@ -0,0 +1,72 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
2
+
3
+ import enum
4
+
5
+ import winrt.system
6
+ from winrt import _winrt_windows_graphics_printing_optiondetails
7
+
8
+ __all__ = [
9
+ "PrintOptionStates",
10
+ "PrintOptionType",
11
+ "PrintBindingOptionDetails",
12
+ "PrintBorderingOptionDetails",
13
+ "PrintCollationOptionDetails",
14
+ "PrintColorModeOptionDetails",
15
+ "PrintCopiesOptionDetails",
16
+ "PrintCustomItemDetails",
17
+ "PrintCustomItemListOptionDetails",
18
+ "PrintCustomTextOptionDetails",
19
+ "PrintCustomToggleOptionDetails",
20
+ "PrintDuplexOptionDetails",
21
+ "PrintHolePunchOptionDetails",
22
+ "PrintMediaSizeOptionDetails",
23
+ "PrintMediaTypeOptionDetails",
24
+ "PrintOrientationOptionDetails",
25
+ "PrintPageRangeOptionDetails",
26
+ "PrintQualityOptionDetails",
27
+ "PrintStapleOptionDetails",
28
+ "PrintTaskOptionChangedEventArgs",
29
+ "PrintTaskOptionDetails",
30
+ "IPrintCustomOptionDetails",
31
+ "IPrintItemListOptionDetails",
32
+ "IPrintNumberOptionDetails",
33
+ "IPrintOptionDetails",
34
+ "IPrintTextOptionDetails",
35
+ ]
36
+
37
+ class PrintOptionStates(enum.IntFlag):
38
+ NONE = 0x0
39
+ ENABLED = 0x1
40
+ CONSTRAINED = 0x2
41
+
42
+ class PrintOptionType(enum.IntEnum):
43
+ UNKNOWN = 0
44
+ NUMBER = 1
45
+ TEXT = 2
46
+ ITEM_LIST = 3
47
+ TOGGLE = 4
48
+
49
+ PrintBindingOptionDetails = _winrt_windows_graphics_printing_optiondetails.PrintBindingOptionDetails
50
+ PrintBorderingOptionDetails = _winrt_windows_graphics_printing_optiondetails.PrintBorderingOptionDetails
51
+ PrintCollationOptionDetails = _winrt_windows_graphics_printing_optiondetails.PrintCollationOptionDetails
52
+ PrintColorModeOptionDetails = _winrt_windows_graphics_printing_optiondetails.PrintColorModeOptionDetails
53
+ PrintCopiesOptionDetails = _winrt_windows_graphics_printing_optiondetails.PrintCopiesOptionDetails
54
+ PrintCustomItemDetails = _winrt_windows_graphics_printing_optiondetails.PrintCustomItemDetails
55
+ PrintCustomItemListOptionDetails = _winrt_windows_graphics_printing_optiondetails.PrintCustomItemListOptionDetails
56
+ PrintCustomTextOptionDetails = _winrt_windows_graphics_printing_optiondetails.PrintCustomTextOptionDetails
57
+ PrintCustomToggleOptionDetails = _winrt_windows_graphics_printing_optiondetails.PrintCustomToggleOptionDetails
58
+ PrintDuplexOptionDetails = _winrt_windows_graphics_printing_optiondetails.PrintDuplexOptionDetails
59
+ PrintHolePunchOptionDetails = _winrt_windows_graphics_printing_optiondetails.PrintHolePunchOptionDetails
60
+ PrintMediaSizeOptionDetails = _winrt_windows_graphics_printing_optiondetails.PrintMediaSizeOptionDetails
61
+ PrintMediaTypeOptionDetails = _winrt_windows_graphics_printing_optiondetails.PrintMediaTypeOptionDetails
62
+ PrintOrientationOptionDetails = _winrt_windows_graphics_printing_optiondetails.PrintOrientationOptionDetails
63
+ PrintPageRangeOptionDetails = _winrt_windows_graphics_printing_optiondetails.PrintPageRangeOptionDetails
64
+ PrintQualityOptionDetails = _winrt_windows_graphics_printing_optiondetails.PrintQualityOptionDetails
65
+ PrintStapleOptionDetails = _winrt_windows_graphics_printing_optiondetails.PrintStapleOptionDetails
66
+ PrintTaskOptionChangedEventArgs = _winrt_windows_graphics_printing_optiondetails.PrintTaskOptionChangedEventArgs
67
+ PrintTaskOptionDetails = _winrt_windows_graphics_printing_optiondetails.PrintTaskOptionDetails
68
+ IPrintCustomOptionDetails = _winrt_windows_graphics_printing_optiondetails.IPrintCustomOptionDetails
69
+ IPrintItemListOptionDetails = _winrt_windows_graphics_printing_optiondetails.IPrintItemListOptionDetails
70
+ IPrintNumberOptionDetails = _winrt_windows_graphics_printing_optiondetails.IPrintNumberOptionDetails
71
+ IPrintOptionDetails = _winrt_windows_graphics_printing_optiondetails.IPrintOptionDetails
72
+ IPrintTextOptionDetails = _winrt_windows_graphics_printing_optiondetails.IPrintTextOptionDetails
File without changes
@@ -0,0 +1,28 @@
1
+ Metadata-Version: 2.1
2
+ Name: winrt-Windows.Graphics.Printing.OptionDetails
3
+ Version: 2.2.0
4
+ Summary: Python projection of Windows Runtime (WinRT) APIs
5
+ License: 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.14,>=3.9
14
+ Description-Content-Type: text/markdown
15
+ Requires-Dist: winrt-runtime ==2.2.0
16
+ Provides-Extra: all
17
+ Requires-Dist: winrt-Windows.Foundation[all] ==2.2.0 ; extra == 'all'
18
+ Requires-Dist: winrt-Windows.Foundation.Collections[all] ==2.2.0 ; extra == 'all'
19
+ Requires-Dist: winrt-Windows.Graphics.Printing[all] ==2.2.0 ; extra == 'all'
20
+ Requires-Dist: winrt-Windows.Storage.Streams[all] ==2.2.0 ; extra == 'all'
21
+
22
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
23
+
24
+ # winrt-Windows.Graphics.Printing.OptionDetails
25
+
26
+ Windows Runtime (WinRT) APIs for for the `Windows.Graphics.Printing.OptionDetails` namespace.
27
+
28
+ This package provides the `winrt.windows.graphics.printing.optiondetails` module.
@@ -0,0 +1,8 @@
1
+ winrt/_winrt_windows_graphics_printing_optiondetails.cp313-win_arm64.pyd,sha256=rL1WwLlBzW09TNRyVFIVRf-PSWnb7f4FD8fH5-Wj9nw,458240
2
+ winrt/_winrt_windows_graphics_printing_optiondetails.pyi,sha256=hLfQWkNB4Y6w40vMDCuxy0JlAbafNPgCwYEQtJdR4fs,25114
3
+ winrt/windows/graphics/printing/optiondetails/__init__.py,sha256=NHvOXEqAXRNHx7P5nSxVNpillg5_aw-S2e_ktrrh-3o,3741
4
+ winrt/windows/graphics/printing/optiondetails/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
+ winrt_Windows.Graphics.Printing.OptionDetails-2.2.0.dist-info/METADATA,sha256=d33ozSH-_D84zaaOlXACApC98mG3lDmVi2uErBacg7Q,1344
6
+ winrt_Windows.Graphics.Printing.OptionDetails-2.2.0.dist-info/WHEEL,sha256=Bc3zGnBzvnkuBaMd-KCqScACPFmA-93PSEDjeXqCzu8,101
7
+ winrt_Windows.Graphics.Printing.OptionDetails-2.2.0.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
8
+ winrt_Windows.Graphics.Printing.OptionDetails-2.2.0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (73.0.0)
3
+ Root-Is-Purelib: false
4
+ Tag: cp313-cp313-win_arm64
5
+