summaryrefslogtreecommitdiff
path: root/external/plyer/facades/filechooser.pyc
blob: 70c0f61a36826b50b8644dde5d77330b17005e2a (plain)
ofshex dumpascii
0000 03 f3 0d 0a c8 6e 6e 57 63 00 00 00 00 00 00 00 00 03 00 00 00 40 00 00 00 73 1a 00 00 00 64 00 .....nnWc............@...s....d.
0020 00 65 00 00 66 01 00 64 01 00 84 00 00 83 00 00 59 5a 01 00 64 02 00 53 28 03 00 00 00 74 0b 00 .e..f..d........YZ..d..S(....t..
0040 00 00 46 69 6c 65 43 68 6f 6f 73 65 72 63 00 00 00 00 00 00 00 00 01 00 00 00 42 00 00 00 73 32 ..FileChooserc............B...s2
0060 00 00 00 65 00 00 5a 01 00 64 00 00 5a 02 00 64 01 00 84 00 00 5a 03 00 64 02 00 84 00 00 5a 04 ...e..Z..d..Z..d.....Z..d.....Z.
0080 00 64 03 00 84 00 00 5a 05 00 64 04 00 84 00 00 5a 06 00 52 53 28 05 00 00 00 73 10 06 00 00 4e .d.....Z..d.....Z..RS(....s....N
00a0 61 74 69 76 65 20 66 69 6c 65 63 68 6f 6f 73 65 72 20 64 69 61 6c 6f 67 20 66 61 63 61 64 65 2e ative.filechooser.dialog.facade.
00c0 0a 0a 20 20 20 20 6f 70 65 6e 5f 66 69 6c 65 2c 20 73 61 76 65 5f 66 69 6c 65 20 61 6e 64 20 63 ......open_file,.save_file.and.c
00e0 68 6f 6f 73 65 5f 64 69 72 20 61 63 63 65 70 74 20 61 20 6e 75 6d 62 65 72 20 6f 66 20 61 72 67 hoose_dir.accept.a.number.of.arg
0100 75 6d 65 6e 74 73 0a 20 20 20 20 6c 69 73 74 65 64 20 62 65 6c 6f 77 2e 20 54 68 65 79 20 72 65 uments.....listed.below..They.re
0120 74 75 72 6e 20 65 69 74 68 65 72 20 61 20 6c 69 73 74 20 6f 66 20 70 61 74 68 73 20 28 6e 6f 72 turn.either.a.list.of.paths.(nor
0140 6d 61 6c 6c 79 0a 20 20 20 20 61 62 73 6f 6c 75 74 65 29 2c 20 6f 72 20 4e 6f 6e 65 20 69 66 20 mally.....absolute),.or.None.if.
0160 6e 6f 20 66 69 6c 65 20 77 61 73 20 73 65 6c 65 63 74 65 64 20 6f 72 20 74 68 65 20 6f 70 65 72 no.file.was.selected.or.the.oper
0180 61 74 69 6f 6e 20 77 61 73 0a 20 20 20 20 63 61 6e 63 65 6c 65 64 20 61 6e 64 20 6e 6f 20 72 65 ation.was.....canceled.and.no.re
01a0 73 75 6c 74 20 69 73 20 61 76 61 69 6c 61 62 6c 65 2e 0a 0a 20 20 20 20 41 72 67 75 6d 65 6e 74 sult.is.available.......Argument
01c0 73 3a 0a 20 20 20 20 20 20 20 20 2a 20 2a 2a 70 61 74 68 2a 2a 20 2a 28 73 74 72 69 6e 67 20 6f s:.........*.**path**.*(string.o
01e0 72 20 4e 6f 6e 65 29 2a 3a 20 61 20 70 61 74 68 20 74 68 61 74 20 77 69 6c 6c 20 62 65 20 73 65 r.None)*:.a.path.that.will.be.se
0200 6c 65 63 74 65 64 0a 20 20 20 20 20 20 20 20 20 20 20 20 62 79 20 64 65 66 61 75 6c 74 2c 20 6f lected.............by.default,.o
0220 72 20 4e 6f 6e 65 0a 20 20 20 20 20 20 20 20 2a 20 2a 2a 6d 75 6c 74 69 70 6c 65 2a 2a 20 2a 28 r.None.........*.**multiple**.*(
0240 62 6f 6f 6c 29 2a 3a 20 54 72 75 65 20 69 66 20 79 6f 75 20 77 61 6e 74 20 74 68 65 20 64 69 61 bool)*:.True.if.you.want.the.dia
0260 6c 6f 67 20 74 6f 0a 20 20 20 20 20 20 20 20 20 20 20 20 61 6c 6c 6f 77 20 6d 75 6c 74 69 70 6c log.to.............allow.multipl
0280 65 20 66 69 6c 65 20 73 65 6c 65 63 74 69 6f 6e 2e 20 28 4e 6f 74 65 3a 20 57 69 6e 64 6f 77 73 e.file.selection..(Note:.Windows
02a0 20 64 6f 65 73 6e 27 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 73 75 70 70 6f 72 74 20 6d 75 6c .doesn't.............support.mul
02c0 74 69 70 6c 65 20 64 69 72 65 63 74 6f 72 79 20 73 65 6c 65 63 74 69 6f 6e 29 0a 20 20 20 20 20 tiple.directory.selection)......
02e0 20 20 20 2a 20 2a 2a 66 69 6c 74 65 72 73 2a 2a 20 2a 28 69 74 65 72 61 62 6c 65 29 2a 3a 20 65 ...*.**filters**.*(iterable)*:.e
0300 69 74 68 65 72 20 61 20 6c 69 73 74 20 6f 66 20 77 69 6c 64 63 61 72 64 20 70 61 74 74 65 72 6e ither.a.list.of.wildcard.pattern
0320 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 6f 72 20 6f 66 20 73 65 71 75 65 6e 63 65 73 20 74 68 s.............or.of.sequences.th
0340 61 74 20 63 6f 6e 74 61 69 6e 20 74 68 65 20 6e 61 6d 65 20 6f 66 20 74 68 65 20 66 69 6c 74 65 at.contain.the.name.of.the.filte
0360 72 20 61 6e 64 20 61 6e 79 0a 20 20 20 20 20 20 20 20 20 20 20 20 6e 75 6d 62 65 72 20 6f 66 20 r.and.any.............number.of.
0380 77 69 6c 64 63 61 72 64 73 20 74 68 61 74 20 77 69 6c 6c 20 62 65 20 67 72 6f 75 70 65 64 20 75 wildcards.that.will.be.grouped.u
03a0 6e 64 65 72 20 74 68 61 74 20 6e 61 6d 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 28 65 2e 67 2e nder.that.name.............(e.g.
03c0 20 5b 5b 22 4d 75 73 69 63 22 2c 20 22 2a 6d 70 33 22 2c 20 22 2a 6f 67 67 22 2c 20 22 2a 61 61 .[["Music",."*mp3",."*ogg",."*aa
03e0 63 22 5d 2c 20 22 2a 6a 70 67 22 2c 20 22 2a 70 79 22 5d 29 0a 20 20 20 20 20 20 20 20 2a 20 2a c"],."*jpg",."*py"]).........*.*
0400 2a 70 72 65 76 69 65 77 2a 2a 20 2a 28 62 6f 6f 6c 29 2a 3a 20 54 72 75 65 20 69 66 20 79 6f 75 *preview**.*(bool)*:.True.if.you
0420 20 77 61 6e 74 20 74 68 65 20 66 69 6c 65 20 63 68 6f 6f 73 65 72 20 74 6f 0a 20 20 20 20 20 20 .want.the.file.chooser.to.......
0440 20 20 20 20 20 20 73 68 6f 77 20 61 20 70 72 65 76 69 65 77 20 6f 66 20 74 68 65 20 73 65 6c 65 ......show.a.preview.of.the.sele
0460 63 74 65 64 20 66 69 6c 65 2c 20 69 66 20 73 75 70 70 6f 72 74 65 64 20 62 79 20 74 68 65 0a 20 cted.file,.if.supported.by.the..
0480 20 20 20 20 20 20 20 20 20 20 20 62 61 63 6b 2d 65 6e 64 2e 0a 20 20 20 20 20 20 20 20 2a 20 2a ...........back-end..........*.*
04a0 2a 74 69 74 6c 65 2a 2a 20 2a 28 73 74 72 69 6e 67 20 6f 72 20 4e 6f 6e 65 29 2a 3a 20 54 68 65 *title**.*(string.or.None)*:.The
04c0 20 74 69 74 6c 65 20 6f 66 20 74 68 65 20 66 69 6c 65 20 63 68 6f 6f 73 65 72 0a 20 20 20 20 20 .title.of.the.file.chooser......
04e0 20 20 20 20 20 20 20 77 69 6e 64 6f 77 2c 20 6f 72 20 4e 6f 6e 65 20 66 6f 72 20 74 68 65 20 64 .......window,.or.None.for.the.d
0500 65 66 61 75 6c 74 20 74 69 74 6c 65 2e 0a 20 20 20 20 20 20 20 20 2a 20 2a 2a 69 63 6f 6e 2a 2a efault.title..........*.**icon**
0520 20 2a 28 73 74 72 69 6e 67 20 6f 72 20 4e 6f 6e 65 29 2a 3a 20 50 61 74 68 20 74 6f 20 74 68 65 .*(string.or.None)*:.Path.to.the
0540 20 69 63 6f 6e 20 6f 66 20 74 68 65 20 66 69 6c 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 63 68 .icon.of.the.file.............ch
0560 6f 6f 73 65 72 20 77 69 6e 64 6f 77 20 28 77 68 65 72 65 20 73 75 70 70 6f 72 74 65 64 29 2c 20 ooser.window.(where.supported),.
0580 6f 72 20 4e 6f 6e 65 20 66 6f 72 20 74 68 65 20 62 61 63 6b 2d 65 6e 64 27 73 0a 20 20 20 20 20 or.None.for.the.back-end's......
05a0 20 20 20 20 20 20 20 64 65 66 61 75 6c 74 2e 0a 20 20 20 20 20 20 20 20 2a 20 2a 2a 73 68 6f 77 .......default..........*.**show
05c0 5f 68 69 64 64 65 6e 2a 2a 20 2a 28 62 6f 6f 6c 29 2a 3a 20 46 6f 72 63 65 20 73 68 6f 77 69 6e _hidden**.*(bool)*:.Force.showin
05e0 67 20 68 69 64 64 65 6e 20 66 69 6c 65 73 20 28 63 75 72 72 65 6e 74 6c 79 0a 20 20 20 20 20 20 g.hidden.files.(currently.......
0600 20 20 20 20 20 20 73 75 70 70 6f 72 74 65 64 20 6f 6e 6c 79 20 6f 6e 20 57 69 6e 64 6f 77 73 29 ......supported.only.on.Windows)
0620 0a 0a 20 20 20 20 49 6d 70 6f 72 74 61 6e 74 3a 20 74 68 65 73 65 20 6d 65 74 68 6f 64 73 20 77 ......Important:.these.methods.w
0640 69 6c 6c 20 72 65 74 75 72 6e 20 6f 6e 6c 79 20 61 66 74 65 72 20 75 73 65 72 20 69 6e 74 65 72 ill.return.only.after.user.inter
0660 61 63 74 69 6f 6e 2e 0a 20 20 20 20 55 73 65 20 74 68 72 65 61 64 73 20 6f 72 20 79 6f 75 20 77 action......Use.threads.or.you.w
0680 69 6c 6c 20 73 74 6f 70 20 74 68 65 20 6d 61 69 6e 6c 6f 6f 70 20 69 66 20 79 6f 75 72 20 61 70 ill.stop.the.mainloop.if.your.ap
06a0 70 20 68 61 73 20 6f 6e 65 2e 0a 20 20 20 20 63 01 00 00 00 02 00 00 00 01 00 00 00 4b 00 00 00 p.has.one......c............K...
06c0 73 0d 00 00 00 74 00 00 83 00 00 82 01 00 64 00 00 53 28 01 00 00 00 4e 28 01 00 00 00 74 13 00 s....t........d..S(....N(....t..
06e0 00 00 4e 6f 74 49 6d 70 6c 65 6d 65 6e 74 65 64 45 72 72 6f 72 28 02 00 00 00 74 04 00 00 00 73 ..NotImplementedError(....t....s
0700 65 6c 66 74 06 00 00 00 6b 77 61 72 67 73 28 00 00 00 00 28 00 00 00 00 73 59 00 00 00 2f 68 6f elft....kwargs(....(....sY.../ho
0720 6d 65 2f 6c 69 76 69 6f 2f 6d 61 6e 61 63 68 61 74 2f 72 75 6d 6c 79 31 31 31 2d 6d 61 6e 61 63 me/livio/manachat/rumly111-manac
0740 68 61 74 2d 30 63 31 66 33 36 63 63 61 38 66 38 2f 65 78 74 65 72 6e 61 6c 2f 70 6c 79 65 72 2f hat-0c1f36cca8f8/external/plyer/
0760 66 61 63 61 64 65 73 2f 66 69 6c 65 63 68 6f 6f 73 65 72 2e 70 79 74 16 00 00 00 5f 66 69 6c 65 facades/filechooser.pyt...._file
0780 5f 73 65 6c 65 63 74 69 6f 6e 5f 64 69 61 6c 6f 67 22 00 00 00 73 02 00 00 00 00 01 63 01 00 00 _selection_dialog"...s......c...
07a0 00 03 00 00 00 05 00 00 00 4f 00 00 00 73 16 00 00 00 7c 00 00 6a 00 00 64 01 00 64 02 00 7c 01 .........O...s....|..j..d..d..|.
07c0 00 7c 02 00 8e 00 01 53 28 03 00 00 00 73 2e 00 00 00 4f 70 65 6e 20 74 68 65 20 66 69 6c 65 20 .|.....S(....s....Open.the.file.
07e0 63 68 6f 6f 73 65 72 20 69 6e 20 22 6f 70 65 6e 22 20 6d 6f 64 65 2e 0a 20 20 20 20 20 20 20 20 chooser.in."open".mode..........
0800 74 04 00 00 00 6d 6f 64 65 74 04 00 00 00 6f 70 65 6e 28 01 00 00 00 52 04 00 00 00 28 03 00 00 t....modet....open(....R....(...
0820 00 52 02 00 00 00 74 04 00 00 00 61 72 67 73 52 03 00 00 00 28 00 00 00 00 28 00 00 00 00 73 59 .R....t....argsR....(....(....sY
0840 00 00 00 2f 68 6f 6d 65 2f 6c 69 76 69 6f 2f 6d 61 6e 61 63 68 61 74 2f 72 75 6d 6c 79 31 31 31 .../home/livio/manachat/rumly111
0860 2d 6d 61 6e 61 63 68 61 74 2d 30 63 31 66 33 36 63 63 61 38 66 38 2f 65 78 74 65 72 6e 61 6c 2f -manachat-0c1f36cca8f8/external/
0880 70 6c 79 65 72 2f 66 61 63 61 64 65 73 2f 66 69 6c 65 63 68 6f 6f 73 65 72 2e 70 79 74 09 00 00 plyer/facades/filechooser.pyt...
08a0 00 6f 70 65 6e 5f 66 69 6c 65 25 00 00 00 73 02 00 00 00 00 03 63 01 00 00 00 03 00 00 00 05 00 .open_file%...s......c..........
08c0 00 00 4f 00 00 00 73 16 00 00 00 7c 00 00 6a 00 00 64 01 00 64 02 00 7c 01 00 7c 02 00 8e 00 01 ..O...s....|..j..d..d..|..|.....
08e0 53 28 03 00 00 00 73 80 00 00 00 4f 70 65 6e 20 74 68 65 20 66 69 6c 65 20 63 68 6f 6f 73 65 72 S(....s....Open.the.file.chooser
0900 20 69 6e 20 22 73 61 76 65 22 20 6d 6f 64 65 2e 20 43 6f 6e 66 69 72 6d 61 74 69 6f 6e 20 77 69 .in."save".mode..Confirmation.wi
0920 6c 6c 20 62 65 20 61 73 6b 65 64 0a 20 20 20 20 20 20 20 20 77 68 65 6e 20 61 20 66 69 6c 65 20 ll.be.asked.........when.a.file.
0940 77 69 74 68 20 74 68 65 20 73 61 6d 65 20 6e 61 6d 65 20 61 6c 72 65 61 64 79 20 65 78 69 73 74 with.the.same.name.already.exist
0960 73 2e 0a 20 20 20 20 20 20 20 20 52 05 00 00 00 74 04 00 00 00 73 61 76 65 28 01 00 00 00 52 04 s..........R....t....save(....R.
0980 00 00 00 28 03 00 00 00 52 02 00 00 00 52 07 00 00 00 52 03 00 00 00 28 00 00 00 00 28 00 00 00 ...(....R....R....R....(....(...
09a0 00 73 59 00 00 00 2f 68 6f 6d 65 2f 6c 69 76 69 6f 2f 6d 61 6e 61 63 68 61 74 2f 72 75 6d 6c 79 .sY.../home/livio/manachat/rumly
09c0 31 31 31 2d 6d 61 6e 61 63 68 61 74 2d 30 63 31 66 33 36 63 63 61 38 66 38 2f 65 78 74 65 72 6e 111-manachat-0c1f36cca8f8/extern
09e0 61 6c 2f 70 6c 79 65 72 2f 66 61 63 61 64 65 73 2f 66 69 6c 65 63 68 6f 6f 73 65 72 2e 70 79 74 al/plyer/facades/filechooser.pyt
0a00 09 00 00 00 73 61 76 65 5f 66 69 6c 65 2a 00 00 00 73 02 00 00 00 00 04 63 01 00 00 00 03 00 00 ....save_file*...s......c.......
0a20 00 05 00 00 00 4f 00 00 00 73 16 00 00 00 7c 00 00 6a 00 00 64 01 00 64 02 00 7c 01 00 7c 02 00 .....O...s....|..j..d..d..|..|..
0a40 8e 00 01 53 28 03 00 00 00 73 cd 00 00 00 4f 70 65 6e 20 74 68 65 20 64 69 72 65 63 74 6f 72 79 ...S(....s....Open.the.directory
0a60 20 63 68 6f 6f 73 65 72 2e 20 4e 6f 74 65 20 74 68 61 74 20 6f 6e 20 57 69 6e 64 6f 77 73 20 74 .chooser..Note.that.on.Windows.t
0a80 68 69 73 20 69 73 20 76 65 72 79 0a 20 20 20 20 20 20 20 20 6c 69 6d 69 74 65 64 2e 20 43 6f 6e his.is.very.........limited..Con
0aa0 73 69 64 65 72 20 77 72 69 74 69 6e 67 20 79 6f 75 72 20 6f 77 6e 20 63 68 6f 6f 73 65 72 20 69 sider.writing.your.own.chooser.i
0ac0 66 20 79 6f 75 20 74 61 72 67 65 74 20 74 68 61 74 0a 20 20 20 20 20 20 20 20 70 6c 61 74 66 6f f.you.target.that.........platfo
0ae0 72 6d 20 61 6e 64 20 61 72 65 20 70 6c 61 6e 6e 69 6e 67 20 6f 6e 20 75 73 69 6e 67 20 75 6e 73 rm.and.are.planning.on.using.uns
0b00 75 70 70 6f 72 74 65 64 20 66 65 61 74 75 72 65 73 2e 0a 20 20 20 20 20 20 20 20 52 05 00 00 00 upported.features..........R....
0b20 74 03 00 00 00 64 69 72 28 01 00 00 00 52 04 00 00 00 28 03 00 00 00 52 02 00 00 00 52 07 00 00 t....dir(....R....(....R....R...
0b40 00 52 03 00 00 00 28 00 00 00 00 28 00 00 00 00 73 59 00 00 00 2f 68 6f 6d 65 2f 6c 69 76 69 6f .R....(....(....sY.../home/livio
0b60 2f 6d 61 6e 61 63 68 61 74 2f 72 75 6d 6c 79 31 31 31 2d 6d 61 6e 61 63 68 61 74 2d 30 63 31 66 /manachat/rumly111-manachat-0c1f
0b80 33 36 63 63 61 38 66 38 2f 65 78 74 65 72 6e 61 6c 2f 70 6c 79 65 72 2f 66 61 63 61 64 65 73 2f 36cca8f8/external/plyer/facades/
0ba0 66 69 6c 65 63 68 6f 6f 73 65 72 2e 70 79 74 0a 00 00 00 63 68 6f 6f 73 65 5f 64 69 72 30 00 00 filechooser.pyt....choose_dir0..
0bc0 00 73 02 00 00 00 00 05 28 07 00 00 00 74 08 00 00 00 5f 5f 6e 61 6d 65 5f 5f 74 0a 00 00 00 5f .s......(....t....__name__t...._
0be0 5f 6d 6f 64 75 6c 65 5f 5f 74 07 00 00 00 5f 5f 64 6f 63 5f 5f 52 04 00 00 00 52 08 00 00 00 52 _module__t....__doc__R....R....R
0c00 0a 00 00 00 52 0c 00 00 00 28 00 00 00 00 28 00 00 00 00 28 00 00 00 00 73 59 00 00 00 2f 68 6f ....R....(....(....(....sY.../ho
0c20 6d 65 2f 6c 69 76 69 6f 2f 6d 61 6e 61 63 68 61 74 2f 72 75 6d 6c 79 31 31 31 2d 6d 61 6e 61 63 me/livio/manachat/rumly111-manac
0c40 68 61 74 2d 30 63 31 66 33 36 63 63 61 38 66 38 2f 65 78 74 65 72 6e 61 6c 2f 70 6c 79 65 72 2f hat-0c1f36cca8f8/external/plyer/
0c60 66 61 63 61 64 65 73 2f 66 69 6c 65 63 68 6f 6f 73 65 72 2e 70 79 52 00 00 00 00 01 00 00 00 73 facades/filechooser.pyR........s
0c80 0a 00 00 00 06 1f 06 02 09 03 09 05 09 06 4e 28 02 00 00 00 74 06 00 00 00 6f 62 6a 65 63 74 52 ..............N(....t....objectR
0ca0 00 00 00 00 28 00 00 00 00 28 00 00 00 00 28 00 00 00 00 73 59 00 00 00 2f 68 6f 6d 65 2f 6c 69 ....(....(....(....sY.../home/li
0cc0 76 69 6f 2f 6d 61 6e 61 63 68 61 74 2f 72 75 6d 6c 79 31 31 31 2d 6d 61 6e 61 63 68 61 74 2d 30 vio/manachat/rumly111-manachat-0
0ce0 63 31 66 33 36 63 63 61 38 66 38 2f 65 78 74 65 72 6e 61 6c 2f 70 6c 79 65 72 2f 66 61 63 61 64 c1f36cca8f8/external/plyer/facad
0d00 65 73 2f 66 69 6c 65 63 68 6f 6f 73 65 72 2e 70 79 74 08 00 00 00 3c 6d 6f 64 75 6c 65 3e 01 00 es/filechooser.pyt....<module>..
0d20 00 00 74 00 00 00 00 ..t....