tzh
2024-08-22 c7d0944258c7d0943aa7b2211498fd612971ce27
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
N\¬Qc
@s­ddlZddlZddlZddlmZmZddlZddlZddlm    Z    m
Z
edƒdej fd„ƒYZ dej fd„ƒYZ d    ej fd
„ƒYZd ej fd „ƒYZd ej fd„ƒYZdej fd„ƒYZdej fd„ƒYZdej fd„ƒYZdej fd„ƒYZdej fd„ƒYZe e eeeeeeeef
Zedkr©eeŒndS(iÿÿÿÿN(trequirest run_unittest(t
MockTclObjt MockStateSpectguit
WidgetTestcBs2eZdZd„Zd„Zd„Zd„ZRS(s,Tests methods available in every ttk widget.cCsCtjƒtjddddƒ|_|jjƒ|jjƒdS(NtwidthittexttText(tsupporttroot_deiconifytttktButtontwidgettpacktwait_visibility(tself((si/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/test/test_ttk/test_widgets.pytsetUps
 cCs|jjƒtjƒdS(N(R tdestroyR    t root_withdraw(R((si/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/test/test_ttk/test_widgets.pyttearDowns cCsÒ|jjƒ|j|jjt|jjƒdƒt|jjƒdƒƒdƒ|j|jjddƒdƒ|jtj    |jjddƒ|jtj    |jjddƒ|jtj    |jjddƒdS(Nitlabeliÿÿÿÿti( R tupdate_idletaskst assertEqualtidentifytintt winfo_widtht winfo_heightt assertRaisestTkintertTclErrortNone(R((si/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/test/test_ttk/test_widgets.pyt test_identifys cCs½|j|jjƒd
ƒ|j|jjdgƒtƒ|j|jjdgƒd ƒ|j|jjdgƒd ƒ|j|jjddgƒd ƒ|j|jjddgƒdƒ|j|jjddgƒdƒd„}|j|jjdg|didd6didd6fƒ|jjƒ}|jtj|jjd    gƒ|jtj|jjdd    gƒ|j||jjƒƒ|jjddgƒ|j|jjƒdƒdS(Ns    !disabledtdisabledtactives!activec[s
||fS(N((targ1tkw((si/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/test/test_ttk/test_widgets.pyttest_cb7sthittheretmsgtbadstate((s    !disabled((s!activeR"(((R#(RR tstatetinstatetTrueRRR(RR&t    currstate((si/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/test/test_ttk/test_widgets.pyttest_widget_state's(""    
 (t__name__t
__module__t__doc__RRR!R/(((si/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/test/test_ttk/test_widgets.pyR s
             t
ButtonTestcBseZd„ZRS(cs<g‰tjd‡fd†ƒ}|jƒ|jˆƒdS(Ntcommandcs ˆjdƒS(Ni(tappend((tsuccess(si/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/test/test_ttk/test_widgets.pyt<lambda>Os(R R tinvoket
assertTrue(Rtbtn((R6si/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/test/test_ttk/test_widgets.pyt test_invokeMs
(R0R1R;(((si/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/test/test_ttk/test_widgets.pyR3KstCheckbuttonTestcBseZd„ZRS(csg‰‡fd†}tjd|ƒ}|j|jƒd
ƒ|jtj|jj|dƒ|j    ƒ}|j|dƒ|j|d|jj|dƒƒ|j
ˆƒd|d<|j    ƒ}|j|dƒ|j t ˆƒdkƒ|j|d    |jj|dƒƒdS( NcsˆjdƒdS(Niscb test called(R5((R6(si/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/test/test_ttk/test_widgets.pytcb_testXs R4t    alternatetvariablescb test calledtonvalueRitoffvalue(R>( R t CheckbuttonRR+RRRttkt globalgetvarR8R9t assertFalsetlen(RR=tcbtntres((R6si/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/test/test_ttk/test_widgets.pyR;Vs"    
  (R0R1R;(((si/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/test/test_ttk/test_widgets.pyR<Tst ComboboxTestcBs>eZd„Zd„Zd„Zd„Zd„Zd„ZRS(cCstjƒtjƒ|_dS(N(R    R
R tComboboxtcombo(R((si/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/test/test_ttk/test_widgets.pyRss
cCs|jjƒtjƒdS(N(RKRR    R(R((si/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/test/test_ttk/test_widgets.pyRws cCs`|jjƒ}|jjdd|dddƒ|jjdd|dddƒ|jjƒdS(Ns<ButtonPress-1>txitys<ButtonRelease-1>(RKRtevent_generateR(RR((si/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/test/test_ttk/test_widgets.pyt_show_drop_down_listbox{s  cs g‰dg|jd<|jjd‡fd†ƒ|jjƒ|jjƒ|jjƒ}|jƒ|jjƒ|jjdƒ|jjƒ|jˆƒdS(Nitvaluess<<ComboboxSelected>>cs ˆjtƒS(N(R5R-(tevt(R6(si/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/test/test_ttk/test_widgets.pyR7‡ss<Return>(    RKtbindRRRROtupdateRNR9(Rtheight((R6si/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/test/test_ttk/test_widgets.pyttest_virtual_event‚s   
  cs~g‰‡fd†|jd<|jjƒ|jjƒ|jƒ|jˆƒd|jd<|jƒ|jtˆƒdƒdS(Ncs ˆjtƒS(N(R5R-((R6(si/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/test/test_ttk/test_widgets.pyR7—st postcommandRi(RKRRROR9RRF(R((R6si/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/test/test_ttk/test_widgets.pyttest_postcommand”s  
 
cs‡fd†}|ddƒdddgˆjd<ˆjjdƒ|ddƒˆjjd    ƒ|dd    ƒˆjjd
ƒ|d
dƒˆjjdƒdˆjd<|ddƒˆjjddddgƒˆjˆjddƒdddgˆjd<ˆjˆjddƒdddgˆjd<ˆjˆjddƒˆjtjˆjjtˆjdƒƒˆjtjˆjjdƒt    j
ddddgƒ}ˆj|ddƒ|j ƒdS(Ncs6ˆjˆjjƒ|ƒˆjˆjjƒ|ƒdS(N(RRKtgettcurrent(tgetvaltcurrval(R(si/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/test/test_ttk/test_widgets.pytcheck_get_current¥sRiÿÿÿÿtaitcRPiitdit1t2sa bsa    bsa
bsa\tbs"a"s} {(iiRi(R`RRa(sa bsa    bsa
b(sa\tbs"a"s} {(R`RaR( RKtsetRYt    configureRRRRRFR RJR(RR\tcombo2((Rsi/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/test/test_ttk/test_widgets.pyt test_values¤s0      (R0R1RRRORURWRe(((si/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/test/test_ttk/test_widgets.pyRIqs                     t    EntryTestcBsGeZd„Zd„Zd„Zd„Zd„Zd„Zd„ZRS(cCstjƒtjƒ|_dS(N(R    R
R tEntrytentry(R((si/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/test/test_ttk/test_widgets.pyRÕs
cCs|jjƒtjƒdS(N(RhRR    R(R((si/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/test/test_ttk/test_widgets.pyRÙs cCs‘|jt|jjdƒƒdƒx0|jjdƒD]}|jt|tƒƒq5W|jtj    |jjdƒ|jtj    |jjdƒdS(Niitnoindex( RRFRhtbboxR9t
isinstanceRRRRR (Rtitem((si/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/test/test_ttk/test_widgets.pyt    test_bboxÞs
"cCsÆ|jjƒ|jjƒ|jjƒ|j|jjddƒdƒ|j|jjddƒdƒ|jtj|jjddƒ|jtj|jjddƒ|jtj|jjddƒdS(NittextareaiÿÿÿÿR(
RhRRRRRRRRR (R((si/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/test/test_ttk/test_widgets.pyR!çs   cs#g‰‡fd†}d|jd<d„|jd<||jd<|jjƒ|jˆƒd|jd<|jjƒ|jtˆƒdƒ||jd<d    „|jd<|jjƒ|jtˆƒdƒd|jd<|jjƒ|jtˆƒdƒt|jd<|jtj|jjƒdS(
Ncs ˆjtƒS(N(R5R-((R6(si/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/test/test_ttk/test_widgets.pyR7östnonetvalidatecSstS(N(tFalse(((si/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/test/test_ttk/test_widgets.pyR7ùstvalidatecommandtinvalidcommandRicSstS(N(R-(((si/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/test/test_ttk/test_widgets.pyR7s(    RhRpR9RRFR-RRR(Rt test_invalid((R6si/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/test/test_ttk/test_widgets.pyttest_validation_optionsôs&           csšg‰‡fd†}d|jd<|jj|ƒdf|jd<|jjddƒ|jjddƒ|jˆttgƒ|j|jjƒdƒdS(    NcsDd|jƒkodkns3ˆjtƒtSˆjtƒtS(NR]tz(tlowerR5RqR-(t    to_insert(t
validation(si/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/test/test_ttk/test_widgets.pyRps
"  tkeyRps%SRrtendiR](RhtregistertinsertRRqR-RX(RRp((Rysi/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/test/test_ttk/test_widgets.pyttest_validations cCs$d„}|jj|ƒdf|jd<|jjddƒ|j|jjƒtƒ|j|jjƒd ƒ|jjddƒ|j|jjƒdƒ|jjddƒ|j|jjƒt    ƒ|j|jjƒd ƒ|jjd
ƒ|j|jjƒtƒ|j|jjƒd ƒdS(NcSs;x4|D],}d|jƒko*dknstSqWtS(NR]Rv(RwRqR-(tcontenttletter((si/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/test/test_ttk/test_widgets.pyRp#s "s%PRrR{tavocadoiRta1btinvalidi((Rƒ((
RhR|R}RRpR-R+tdeleteRXRq(RRp((si/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/test/test_ttk/test_widgets.pyttest_revalidation"s    (    R0R1RRRmR!RuR~R…(((si/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/test/test_ttk/test_widgets.pyRfÓs                            tPanedwindowTestcBsGeZd„Zd„Zd„Zd„Zd„Zd„Zd„ZRS(cCstjƒtjƒ|_dS(N(R    R
R t Panedwindowtpaned(R((si/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/test/test_ttk/test_widgets.pyR=s
cCs|jjƒtjƒdS(N(RˆRR    R(R((si/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/test/test_ttk/test_widgets.pyRAs cCsntj|jƒ}tj|ƒ}|jtj|jj|ƒ|jƒ|jƒtjƒ}tj|ƒ}|jtj|jj|ƒ|jƒ|jƒtjƒ}|jj|ƒ|jtj|jj|ƒtj|jƒ}|jj|ƒ|j|jj    dƒ|jj    dƒƒ|jtj|jj    dƒ|jƒ|jƒ|jtj|jj    dƒdS(Niii(
R tLabelRˆRRRtaddRRtpane(RRtchildt
good_childt other_child((si/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/test/test_ttk/test_widgets.pyttest_addFs(
 
 
 
 (
 
cCs~|jtj|jjdƒ|jtj|jjdƒ|jjtjƒƒ|jjdƒ|jtj|jjdƒdS(Ni(    RRRRˆtforgetR RŠR R‰(R((si/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/test/test_ttk/test_widgets.pyt test_forgetbs
cCsü|jtj|jjddƒ|jtj|jjddƒ|jtj|jjddƒtjƒ}tjƒ}tjƒ}|jtj|jjd|ƒ|jjd|ƒ|jjd|ƒ|j|jj    ƒt
|ƒt
|ƒfƒ|jjd|ƒ|j|jj    ƒt
|ƒt
|ƒfƒ|jjd|ƒ|j|jj    ƒt
|ƒt
|ƒt
|ƒfƒ|jj    ƒ}|jjd|ƒ|j||jj    ƒƒ|jj||ƒ|j|jj    ƒt
|ƒt
|ƒt
|ƒfƒdS(NiR{( RRRRˆR}R R R‰Rtpaneststr(RRŒtchild2tchild3R’((si/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/test/test_ttk/test_widgets.pyt test_insertks*   ++"cCsï|jtj|jjdƒtjƒ}|jj|ƒ|jt    |jjdƒt
ƒƒ|j |jjdddƒdƒ|j |jjddƒdƒ|j |jjdƒ|jjt |ƒƒƒ|jtj|jjdddƒdS(Nitweightt    badoptiont    somevalue(RRRRˆR‹R R‰RŠR9RktdictRR R“(RRŒ((si/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/test/test_ttk/test_widgets.pyt    test_paneŽs "".cCsr|jtj|jjdƒ|jtj|jjdƒ|jtj|jjdƒtj|jddƒ}|jj|ddƒ|jtj|jjdƒtj|jddƒ}|jj|ƒ|jtj|jjdƒ|jj    dt
d    d
ƒ|jj ƒ|jjdƒ}|jjdd ƒ|j ||jjdƒkƒ|j t |jjdƒtƒƒdS( NRiRR]R—itbtexpandtfilltbothiè(RRRRˆtsashposR R R‰RŠRR-RR9RkR(RRŒR”tcurr_pos((si/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/test/test_ttk/test_widgets.pyt test_sashposs (    R0R1RRRR‘R–R›R¢(((si/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/test/test_ttk/test_widgets.pyR†;s                        #    tRadiobuttonTestcBseZd„ZRS(csmg‰‡fd†}tjƒ}tjd|d|ddƒ}tjd|d|ddƒ}|jƒ}|j|dƒ|j|d|jƒƒ|j|jƒ|jj|dƒƒ|j    ˆƒd|d<|jƒ}|j|dƒ|j
t ˆƒdkƒ|j|d|jƒƒ|j|jƒ|jj|dƒƒ|jt |dƒt |dƒƒdS(    NcsˆjdƒdS(Niscb test called(R5((R6(si/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/test/test_ttk/test_widgets.pyR=¶s R4R?tvalueiiscb test calledR( RtIntVarR t RadiobuttonR8RRXRCRDR9RERFR“(RR=tmyvarRGtcbtn2RH((R6si/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/test/test_ttk/test_widgets.pyR;´s&   
 (R0R1R;(((si/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/test/test_ttk/test_widgets.pyR£²st    ScaleTestcBs5eZd„Zd„Zd„Zd„Zd„ZRS(cCs7tjƒtjƒ|_|jjƒ|jjƒdS(N(R    R
R tScaletscaleRRS(R((si/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/test/test_ttk/test_widgets.pyRÓs
 cCs|jjƒtjƒdS(N(R«RR    R(R((si/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/test/test_ttk/test_widgets.pyRÙs csÆdddg‰|jjd‡fd†ƒ}d|jd<d|jd<d|jd<|jˆƒdddg‰|jjdd    dd
ƒ|jjdd dd ƒ|jjddƒ|jˆƒdS( Nis<<RangeChanged>>cs
ˆjƒS(N(tpop(RQ(tfailure(si/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/test/test_ttk/test_widgets.pyR7ási
tfromtfrom_ittoiiiiþÿÿÿ(R«RRRERc(Rtfuncid((R­si/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/test/test_ttk/test_widgets.pyttest_custom_eventÞs    cCsê|jjƒ}|j|jj|dƒ|jdƒ|j|jjddƒ|jdƒ|j|jjƒ|jdƒd|jd<|j|jjƒ|jdƒ|jtj|jjddƒ|jtj|jjddƒdS(NiR°R®R¤iR(R«RRRXRRR(Rt scale_width((si/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/test/test_ttk/test_widgets.pyttest_getñs&&   cCs˜|jd}|d}|jj|ƒ|j|jjƒ|ƒ|jd}|jj|dƒ|j|jjƒ|ƒtjƒ}||jd<|j|dƒ|j|jjƒ|jƒƒ|j|jjƒ|dƒ~|d|jd<|j|jjƒ|dƒ|j|jjƒ|jdƒ|j|jjddƒ|ƒ|j|jj|jjƒdƒ|ƒ|jtj|jjdƒdS(    NR°i
R®iR?iR¤i(
R«RbRRXRt    DoubleVarRRRR (Rtmaxtnew_maxtmintvar((si/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/test/test_ttk/test_widgets.pyttest_setþs& 
    ((R0R1RRR²R´Rº(((si/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/test/test_ttk/test_widgets.pyR©Ñs
                 t NotebookTestcBskeZd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Z    d„Z
d    „Z d
„Z RS( cCsstjƒtjddƒ|_tjƒ|_tjƒ|_|jj|jddƒ|jj|jddƒdS(NtpaddingiRR]Rœ(    R    R
R tNotebooktnbR‰tchild1R”RŠ(R((si/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/test/test_ttk/test_widgets.pyRs 
cCs5|jjƒ|jjƒ|jjƒtjƒdS(N(R¿RR”R¾R    R(R((si/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/test/test_ttk/test_widgets.pyR's   cCs¡|jjdƒ|jj|jƒ|jtj|jj|jƒ|j    |jj
dƒdƒ|jj |jƒ|j    |jj
dƒdƒ|jj |jƒ|j |jjdƒƒ|jj |jddƒ|jjƒ|jjƒtjdkrd}nd    }|j    |jj|ƒ|jjdƒƒxhtd
d d
ƒD]G}y*|jjd |ddƒdkrtPnWqEtjk
r‹qEXqEW|jd ƒdS(NiR{iRYRR]tdarwins@20,5s@5,5iids@%d, 5sTab with text 'a' not found(R¾RthideR”RRRttabR¿RtindexRŠtselectR9RRtsystplatformtrangeR tfail(Rttb_idxti((si/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/test/test_ttk/test_widgets.pyttest_tab_identifiers.s,      ("cCsé|jtj|jjdƒ|jtj|jjdƒ|jtj|jjdƒ|jtj|jjdƒ|jtj|jjtjƒddƒ|jj    ƒ}|jj|j
ƒ|jj|j
ƒ|j |jj    ƒ|ƒtjƒ}|jj|ddƒ|jj    ƒ}|jj dƒ}|jj |j ƒ}|jj|j ƒ|jj|j ƒ|j |jj    ƒ|ƒ|j |jj |j ƒ|ƒ|jt|j ƒ|jj    ƒ|kƒ|j |jj dƒ|dƒdS(    NiÿÿÿÿR'tunknowntoptionRR^RYi(RRRR¾RÁR RŠR R‰ttabsR¿RRÃR”R9R“(RRÎRŒtcurrt child2_index((si/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/test/test_ttk/test_widgets.pyttest_add_and_hiddenMs*! )cCs1|jtj|jjdƒ|jtj|jjdƒ|jtj|jjdƒ|jjƒ}|jj|jƒ}|jj|jƒ|j    t
|jƒ|jjƒkƒ|j t |ƒdt |jjƒƒƒ|jj |jƒ|j |jj|jƒdƒ|j    ||jj|jƒkƒdS(NiÿÿÿÿR'i(RRRR¾RR RÎRÃR¿RER“RRFRŠ(RRÎt child1_index((si/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/test/test_ttk/test_widgets.pyR‘js%)cCs¸|jtj|jjdƒ|jtj|jjdƒ|jt|jjdƒtƒƒ|j    |jj|j
ƒdƒ|j    |jj|j ƒdƒ|j    |jjdƒdƒdS(NiÿÿÿÿR{iii( RRRR¾RÃR R9RkRRR¿R”(R((si/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/test/test_ttk/test_widgets.pyt
test_indexzs "cCs‘|jjƒ}|jjd|dƒ|j|jjƒ|d|dfƒ|jj|j|jƒ|j|jjƒ|ƒ|jjd|jƒ|j|jjƒ|d|dfƒ|jjddƒ|j|jjƒ|ƒ|jtj|jjd|dƒ|jtj|jjd|dƒt    j
ƒ}|jjd|ƒ|j|jjƒ|dt |ƒ|dfƒ|jj |ƒ|j|jjƒ|ƒ|jj|j|ƒ|j|jjƒt |ƒf|ƒ|jj |ƒ|jtj|jjd|ƒ|jtj|jjd|ƒ|jtj|jjddƒ|jtj|jjddƒ|jtj|jjddƒdS(NiiR{iiÿÿÿÿ(R¾RÎR}RR¿R”RRRR R‰R“RR (RRÎR•((si/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/test/test_ttk/test_widgets.pyR–„s0''## 0&csà|jjƒ|jjƒg‰g‰|jjd‡fd†ƒ|jjd‡fd†ƒ|j|jjƒt|jƒƒ|jj|jƒ|j    ˆƒ|j|jjƒt|jƒƒ|jj
ƒ|j    ˆƒdS(Ns<Unmap>cs ˆjtƒS(N(R5R-(RQ(R6(si/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/test/test_ttk/test_widgets.pyR7¬ss<<NotebookTabChanged>>cs ˆjtƒS(N(R5R-(RQ(t tab_changed(si/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/test/test_ttk/test_widgets.pyR7®s( R¾RRR¿RRRRÄR“R”R9RS(R((R6RÔsi/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/test/test_ttk/test_widgets.pyt test_select¥s   " " cCs$|jtj|jjdƒ|jtj|jjdƒ|jtj|jjdƒ|jt|jj|jƒt    ƒƒ|j
|jj|jddƒdƒ|j
|jj|jdƒdƒ|jj|jddƒ|j
|jj|jddƒdƒ|j
|jj|jdƒdƒdS(NiÿÿÿÿtnotabRR]tabc( RRRR¾RÂR R9RkR¿RšR(R((si/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/test/test_ttk/test_widgets.pyttest_tab¹s%%"%cCsb|jt|jjƒƒdƒ|jj|jƒ|jj|jƒ|j|jjƒdƒdS(Ni((RRFR¾RÎRR¿R”(R((si/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/test/test_ttk/test_widgets.pyt    test_tabsÇscCs¤|jjƒ|jjƒ|jjdƒtj|jddƒ|jjƒ|jjdƒ|j|jjƒt    |j
ƒƒ|jjƒ|jjdƒ|j|jjƒt    |j ƒƒ|jjƒ|jjdƒ|j|jjƒt    |j
ƒƒ|jj |j ddddƒ|jj ƒ|jjƒtj|jddƒtjdkrn|jjd    ƒn|jjd
ƒ|j|jjƒt    |j ƒƒdS( Niis <Control-Tab>s<Shift-Control-Tab>RR]t    underlineRÀs
<Option-a>s<Alt-a>(R¾RRRÄR    tsimulate_mouse_clickt focus_forceRNRR“R”R¿RÂtenable_traversalRÅRÆ(R((si/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/test/test_ttk/test_widgets.pyttest_traversalÐs*   " " "  ( R0R1RRRËRÑR‘RÓR–RÕRØRÙRÞ(((si/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/test/test_ttk/test_widgets.pyR»s                        
   !                t TreeviewTestcBs§eZd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Z    d„Z
d    „Z e j d
ƒd „ƒZd „Zd „Zd„Zd„Zd„ZRS(cCs#tjƒtjddƒ|_dS(NR¼i(R    R
R tTreeviewttv(R((si/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/test/test_ttk/test_widgets.pyRîs
cCs|jjƒtjƒdS(N(RáRR    R(R((si/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/test/test_ttk/test_widgets.pyRòs cCs“|jjƒ|j|jjdƒdƒ|jjƒ|jjƒ|jjddƒ}|jjƒ}|j|ƒ|jj|dƒ}|jt    |ƒdƒ|jt
|t ƒƒx2|D]*}t
|t ƒs½|j d|ƒPq½q½Wdg|jd<|jjddd    ƒ|jj|ddƒ}|jjd
ddƒ}|j|d|d|ƒ|jj|dƒ}|j|jj|ƒdƒdS( NRR{iisInvalid bounding box: %sttesttcolumnsRi2s#0(RáRRRjRRSR}t get_childrenR9RFRkttupleRRÈtcolumnR (Rtitem_idtchildrenRjRlt bbox_column0t
root_widthR¿((si/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/test/test_ttk/test_widgets.pyRm÷s*     cCsD|j|jjƒdƒ|jjddƒ}|jt|jjƒtƒƒ|j|jjƒd|ƒ|jjddƒ}|jjddƒ}|jj|||ƒ|j|jj|ƒ||fƒ|jt    j
|jj||ƒ|jj|ƒ|j|jj|ƒdƒ|jjdƒ|j|jjƒdƒdS(NRR{i(((( RRáRäR}R9RkRåt set_childrenRRR(RRçR”R•((si/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/test/test_ttk/test_widgets.pyt test_childrens" cCsK|jt|jjdƒtƒƒ|jt|jjdddƒtƒƒ|jjdddƒ|j|jjddƒdƒ|j|jjdddƒdƒ|jt    j
|jjdddƒ|jt    j
|jjdƒidd6id    d
6id    d 6id    d6id    d 6g}x-|D]%}|jt    j
|jjd|qWdS( Ns#0Ri
tidtXRƒs
some valuetunknown_optiontwrongtstretchtanchortminwidth( R9RkRáRæRšR RRRRR(Rt invalid_kwsR%((si/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/test/test_ttk/test_widgets.pyt test_column1s"(""$ cCs?|jtj|jjdƒ|jjddƒ}|jj|dƒ}|j|jjƒ|fƒ|j|jj|ƒ|fƒ|jj|ƒ|j|jjƒƒ|jtj|jj    |ddƒ|jjddƒ}|jjddƒ}|j|jjƒ||fƒ|jj||ƒ|j|jjƒƒdS(Ns#0RR{(
RRRRáR„R}RRäREtreattach(RRçtitem2titem1((si/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/test/test_ttk/test_widgets.pyt test_deleteHs cCs0|jjddƒ}|jj|dƒ}|jjƒ}|jjƒ|j||jjƒƒ|j|jjƒ|fƒ|j|jj|ƒ|fƒ|jj|ƒ|j|jjƒƒ|jj|ddƒ|j|jjƒ|fƒ|j|jj|ƒ|fƒ|jj|ddƒ|j|jjƒ||fƒ|j|jj|ƒdƒ|jt    j
|jjdddƒ|jt    j
|jjdƒ|jt    j
|jj|ddƒ|jt    j
|jj|ddƒ|jj||ƒ|j|jjƒdƒ|j|jj|ƒdƒdS(    NRR{t nonexistentt otherparentRƒ(((( RáR}RätdetachRRERötmoveRRR(RRçR÷tprev((si/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/test/test_ttk/test_widgets.pyttest_detach_reattach`s4     cCst|j|jjdƒtƒ|j|jjdƒtƒ|j|jjiƒtƒ|jtj|jjdƒdS(Nt    somethingR(    RRátexistsRqR-RRRR (R((si/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/test/test_ttk/test_widgets.pyt test_existsŠscCs |j|jjƒdƒ|jjddƒ}|jj|ƒ|j|jjƒ|ƒ|jj|ƒ|j|jjƒdƒ|jtj|jjdƒdS(NRR{R'(RRátfocusR}R„RRR(RRø((si/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/test/test_ttk/test_widgets.pyt
test_focus•scCsÁ|jt|jjdƒtƒƒ|jjdddƒ|j|jjddƒdƒ|j|jjdddƒdƒ|jtj    |jjdddƒ|jtj    |jjdddƒdS(Ns#0RR't
backgroundRòi(
R9RkRátheadingRšRR RRR(R((si/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/test/test_ttk/test_widgets.pyt test_heading¤s""s+skipping pending resolution of Issue #10734cs‡fd†}g‰ˆjjƒˆjjƒˆjjdd‡fd†ƒˆjjdddƒˆjjƒ|ddƒˆs”ˆjdƒng‰ˆjjj}ˆjjddt    ˆjjdddƒƒƒˆj |ˆjjjƒ|ddƒˆsˆjdƒndS(    Ncs'tjˆj||ƒˆjjƒdS(N(R    RÛRáR(RLRM(R(si/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/test/test_ttk/test_widgets.pytsimulate_heading_click·ss#0R4cs ˆjtƒS(N(R5R-((R6(si/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/test/test_ttk/test_widgets.pyR7¿sRidis>The command associated to the treeview heading wasn't invoked.( RáRRRRæRSRÈtmastert _tclCommandsR“R R(RRtcommands((RR6si/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/test/test_ttk/test_widgets.pyttest_heading_callbackµs"    . cCsÒ|jtj|jjdƒ|j|jjdƒdƒ|jjddƒ}|jjddƒ}|jj|dƒ}|jj|dƒ}|j|jj|ƒdƒ|j|jj|ƒdƒ|j|jj|ƒdƒ|j|jj|ƒdƒ|jj|ddƒ|j|jj|ƒdƒ|j|jj|ƒdƒ|jj|ƒ|j|jj|ƒdƒ|jj|ƒ|j|jj|ƒdƒ|jj    |ƒ|jtj|jj|ƒdS(NtwhatRiR{i(
RRRRáRÃRR}RýRüR„(RRøR÷tc1tc2((si/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/test/test_ttk/test_widgets.pyRÓØs&cCsö|jtj|jjddƒ|jtj|jjddddƒ|jtj|jjddddƒ|j|jj|jjdddtƒƒƒ|j|jj|jjdddtƒƒƒ|jtj|jjddƒ|jjdddƒ}|j    |dƒ|jtj|jjdddƒ|jtj|jjddt
dƒƒd}|jjddd    |fƒ}|j    |jj |d    ƒ|fƒ|j    |jj |d    dƒ|fƒ|jj |d    t |jj |d    dƒƒƒ|j    |jj |d    dƒ|fƒ|jt|jj |ƒtƒƒ|jj |d    dƒ|j|jj |d    dƒƒ|jjddd
d d |gƒ}|j    |jj |d
dƒd d|fƒ|jj |d
gƒ|j|jj |d
dƒƒ|jj |d
dƒ|j    |jj |d
dƒdƒ|jjddd    dd||ffƒ}|j    |jj |d    dƒdd||ffƒ|j    |jj |jjddddƒddƒdƒ|j    |jj |jjddd|ƒddƒ|ƒdS(NRoR{Rtopentpleasetmiddles
first-itemuábaRPttagsiiR`Rasa b cs%s %sRs
Label here(ii(R`Ra(RRRRáR}RER„R-RqRRRlR tlistR9RkRš(RtitemidR¤Rl((si/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/test/test_ttk/test_widgets.pyttest_insert_item÷sN.. "%.%"$+"!!cCsþddg|jd<|jjdddddgƒ}|j|jj|ƒidd6dd6ƒ|jj|ddƒ|j|jj|ddƒd ƒdg|jd<|j|jj|ƒidd6ƒ|jj|ddƒ|j|jj|d    dƒdƒ|j|jj|ddƒd ƒ|jj|dd
ƒ|j|jj|dƒd
ƒ|j|jj|ddƒdƒ|j|jj|ƒid
d6ƒ|jtj|jj|dƒ|jtj|jj|ddƒ|jtj|jjd ƒdS(NtAtBRãRR{RPR]RœRæi{tnotme(R]R](RœR](i{R](    RáR}RRbRlR RRR(RRl((si/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/test/test_ttk/test_widgets.pyRº4s"!*"#"""#"c    sÈg‰|jjddddgƒ}|jjddddgƒ}|jjdd‡fd†ƒ|jjdd‡fd†ƒ|jjƒ|jjƒ|jjƒtƒ}tƒ}xqtd    d
d ƒD]]}t|ƒd krèPn|jj    |ƒ}|rÌ||krÌ|j
|ƒ|j
|ƒqÌqÌW|j t|ƒd ƒx$|D]}t j |jd    |ƒqJW|j tˆƒd ƒxAtˆddd …ˆddd …ƒD]}|j |dƒqªWdS(NRR{Rtcalls<ButtonPress-1>cs ˆjdƒS(Ni(R5(RQ(tevents(si/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/test/test_ttk/test_widgets.pyR7Uss<ButtonRelease-1>cs ˆjdƒS(Ni(R5(RQ(R(si/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/test/test_ttk/test_widgets.pyR7Wsiidi
iii(ii(RáR}ttag_bindRRRSRbRÇRFt identify_rowRŠRR    RÛtzip(    RRøR÷tpos_ytfoundRÊRçRMRQ((Rsi/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/test/test_ttk/test_widgets.pyt test_tag_bindPs2             0cCsÁ|jt|jjƒ|jtj|jjdddƒ|jjdddƒ|jt|jjddƒƒdƒ|jt|jjdddƒƒdƒ|j    t
|jjdƒt ƒƒdS(NRâtskytbluet
foreground( Rt    TypeErrorRát tag_configureRRRR“R R9RkRš(R((si/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/test/test_ttk/test_widgets.pyttest_tag_configurers !(R0R1RRRmRìRõRùRÿRRRtunittesttskipR RÓRRºR!R'(((si/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/test/test_ttk/test_widgets.pyRßìs                             *            #        =        "t__main__(R(RR ttest.test_supportRRRÅR    ttest_functionsRRtTestCaseRR3R<RIRfR†R£R©R»Rßt    tests_guiR0(((si/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/test/test_ttk/test_widgets.pyt<module>s.     
?    bhwLÏÿ•