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
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
N\¬Qc@sMdZdZdZddddddd    d
d d d dddddddddddddgZddlZddlmZmZmZejdkre    ne
Z d„Z e
d „Z e
ed!„Zd"„Ze
d#„Ze
d$„Zd%d&d'„Zd(„Ze    d)„Zd*„Zd+„Zd,„Zd-„Zd.„Zed/„Zdefd0„ƒYZd1ejfd2„ƒYZdefd3„ƒYZdefd4„ƒYZ deej!fd5„ƒYZ!de!fd6„ƒYZ"defd7„ƒYZ#defd8„ƒYZ$d    efd9„ƒYZ%e%Z&d efd:„ƒYZ'd efd;„ƒYZ(d eej)fd<„ƒYZ*e*Z)defd=„ƒYZ+defd>„ƒYZ,deej-fd?„ƒYZ-deej.fd@„ƒYZ.defdA„ƒYZ/defdB„ƒYZ0deej1ej2fdC„ƒYZ3de#efdD„ƒYZ4de'fdE„ƒYZ5dS(FsæTtk wrapper.
 
This module provides classes to allow using Tk themed widget set.
 
Ttk is based on a revised and enhanced version of
TIP #48 (http://tip.tcl.tk/48) specified style engine.
 
Its basic idea is to separate, to the extent possible, the code
implementing a widget's behavior from the code implementing its
appearance. Widget class bindings are primarily responsible for
maintaining the widget state and invoking callbacks, all aspects
of the widgets appearance lies at Themes.
s0.3.1s!Guilherme Polo <ggpolo@gmail.com>tButtont CheckbuttontComboboxtEntrytFrametLabelt
Labelframet
LabelFramet
MenubuttontNotebookt Panedwindowt PanedWindowt Progressbart RadiobuttontScalet    Scrollbart    SeparatortSizegriptStyletTreeviewt LabeledScalet
OptionMenut tclobjs_to_pyt setup_masteriÿÿÿÿN(t_flattent_joint
_stringifyg!@cCsatr]ddl}|jjdƒ}|rA|jjd|ƒn|jjdƒt|_ndS(Niÿÿÿÿt TILE_LIBRARYs(global auto_path; lappend auto_path {%s}spackage require tile(t _REQUIRE_TILEtostenvirontgetttktevaltTruet _tile_loaded(tmasterRttilelib((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyt
_load_tile"s      cCs=|rt|ƒ}n$t|ttfƒr9t|ƒ}n|S(sInternal function.(Rt
isinstancetlistttupleR(tvaluetscript((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyt_format_optvalue1s
cCsyg}xf|jƒD]X\}}| s2||kr|jd|ƒ|dk    rk|jt||ƒƒqkqqWt|ƒS(s¿Formats optdict to a tuple to pass it to tk.call.
 
    E.g. (script=False):
      {'foreground': 'blue', 'padding': [1, 2, 3, 4]} returns:
      ('-foreground', 'blue', '-padding', '1 2 3 4')s-%sN(t    iteritemstappendtNoneR,R(toptdictR+tignoretoptstoptR*((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyt_format_optdict;s  cCs”g}x‡|D]}|d }|d}|dt|ƒdkrT|dpNd}ndj|ƒ}|j|ƒ|dk    r |j|ƒq q W|S(Niÿÿÿÿiitt (tlentjoinR.R/(titemstopt_valtitemtstatetval((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyt_mapdict_valuesKs 
 
  cCsSg}x@|jƒD]2\}}|jd|tt|ƒ|ƒfƒqWt|ƒS(sÜFormats mapdict to pass it to tk.call.
 
    E.g. (script=False):
      {'expand': [('active', 'selected', 'grey'), ('focus', [1, 2, 3, 4])]}
 
      returns:
 
      ('-expand', '{active selected} grey focus {1, 2, 3, 4}')s-%s(R-textendR,R>R(tmapdictR+R2R3R*((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyt_format_mapdictds
 
 c Osd }d }|d kr¢|dkrW|d}tt|dƒƒ}d||f}n9|d \}}    tt|dƒƒ}
d||    |
f}t||ƒ}nD|dkræ|d}t|ƒdkræt|d|ƒf}qæn|rd    |}d
j|ƒ}n||fS(sAFormats args and kw according to the given element factory etype.timagetvsapiiis%s %sis%s %s %stfroms{%s}R6N((RBRC(R/RR>R4R7R,R8( tetypeR+targstkwtspecR2tinamet    imagespect
class_nametpart_idtstatemap((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyt_format_elemcreateus&  
 
 
iic
Csg}xç|D]ß}|\}}|p(i}djt|td    ƒƒ}dd|||rcd|ndf}d|krß|j|dƒ||7}t|d||ƒ\}    }|j|    ƒ||8}|jdd|ƒq |j|ƒq Wdj|ƒ|fS(
s#Formats a layout list so we can pass the result to ttk::style
    layout and ttk::style settings. Note that the layout doesn't has to
    be a list necessarily.
 
    E.g.:
      [("Menubutton.background", None),
       ("Menubutton.button", {"children":
           [("Menubutton.focus", {"children":
               [("Menubutton.padding", {"children":
                [("Menubutton.label", {"side": "left", "expand": 1})]
               })]
           })]
       }),
       ("Menubutton.indicator", {"side": "right"})
      ]
 
      returns:
 
      Menubutton.background
      Menubutton.button -children {
        Menubutton.focus -children {
          Menubutton.padding -children {
            Menubutton.label -side left -expand 1
          }
        }
      }
      Menubutton.indicator -side rightR6tchildrens%s%s%ss %sR5s  -children {s%s}s
(RO(R8R4R"R.t_format_layoutlist(
tlayouttindentt indent_sizeR+t layout_elemtelemR2tfoptstheadt    newscript((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyRPšs    ' 
 
c    CsÝg}xÇ|jƒD]¹\}}|jdƒrddjt|dtƒƒ}|jd||fƒn|jdƒr©djt|dtƒƒ}|jd||fƒnd|krø|dsÈd}nt|dƒ\}}|jd||fƒn|jd    ƒr|d    }|d
}d }x4|t|ƒkrWt    ||d ƒ rW|d 7}q$W|d |!}    |t|ƒkr‹||r‹||ni}
t
|t|    |
Ž\} }|jd ||| |fƒqqWdj|ƒS(sReturns an appropriate script, based on settings, according to
    theme_settings definition to be used by theme_settings and
    theme_create.t    configureR6sttk::style configure %s %s;tmapsttk::style map %s %s;RQtnullsttk::style layout %s {
%s
}selement createiiR-s%ttk::style element create %s %s %s %ss
( R-RR8R4R"R.RARPR7thasattrRN( tsettingsR+tnameR2tst_teoptsREtargctelemargstelemkwRH((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyt_script_from_settingsËs2 
    
 
) ,    cCsb|r dnd}i}t|ƒ}x1t||ƒD] \}}||t|ƒ|<q4Wt|ƒS(sÖBreak tuple in pairs, format it properly, then build the return
    dict. If cut_minus is True, the supposed '-' prefixing options will
    be removed.
 
    ttuple is expected to contain an even number of elements.ii(titertziptstrR(tttuplet    cut_minust    opt_starttretdicttitR3R=((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyt_dict_from_tcltupleõs  cCs«g}xp|D]h}t|ddƒ}|dkrA|j|ƒq t|ƒ}|dkrh|jƒ}n|j|ƒq Wt|ƒ}gt||ƒD]}t|ƒ^q•S(stConstruct a list from the given statespec tuple according to the
    accepted statespec accepted by _format_mapdict.ttypenamet    StateSpecN(tgetattrR/R.RhtsplitRfRgR(tstupletnvalR=RoRmRH((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyt_list_from_statespecs     cCsÒg}d}x¿|t|ƒkrÍ||}i}|j||fƒ|d7}xy|t|ƒkrÉ|||d!\}}|jdƒsPn|d}|d7}|dkr¼t|ƒ}n|||<qQWqW|S(spConstruct a list from the tuple returned by ttk::layout, this is
    somewhat the reverse of _format_layoutlist.iiit-RO(R7R.t
startswitht_list_from_layouttuple(tltupletrestindxR^R2R3R=((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyRxs"
 
 
 
 cGs:t|ƒ}|||Œ}t|ƒdr0|St|ƒS(saFormat options then call func with args and options and return
    the appropriate result.
 
    If no option is specified, a dict is returned. If a option is
    specified with the None value, the value for that option is returned.
    Otherwise, the function just sets the passed options and the caller
    shouldn't be expecting a return value anyway.i(R4R7Rn(toptionstfuncRFRz((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyt _val_or_dict0s
 cCs:t|ƒ}yt|ƒ}Wnttfk
r5nX|S(sAConverts a value to, hopefully, a more appropriate Python object.(tunicodetintt
ValueErrort    TypeError(R*((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyt_convert_stringval@s  cCs«x¤|jƒD]–\}}|r{t|dƒr{t|tƒ r{t|dddƒdkrit|ƒ}q™tt|ƒ}nt|dƒr™t|ƒ}n|||<q W|S(sOReturns adict with its values converted from Tcl objects to Python
    objects.t__len__iRoRpN(    R-R\R't
basestringRqR/RuRZRƒ(tadictR3R=((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyRJs%cCs@|dkr<tjr-tjp'tjƒ}q<tdƒ‚n|S(sIf master is not None, itself is returned. If master is None,
    the default master is returned if there is one, otherwise a new
    master is created and returned.
 
    If it is not allowed to use the default root and master is None,
    RuntimeError is raised.sINo master specified and Tkinter is configured to not support default rootN(R/tTkintert_support_default_roott _default_roottTkt RuntimeError(R$((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyR[s       cBs›eZdZdZdd„Zdd„Zdd„Zddd„Zdd„Z    d„Z
d„Z d    „Z ddd
„Z d „Zd „Zdd „ZRS(sManipulate style database.s
ttk::stylecCsGt|ƒ}t|dtƒs+t|ƒn||_|jj|_dS(NR#(RRqtFalseR&R$R (tselfR$((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyt__init__qs
      cKs8|dk    rd||<nt||jj|jd|ƒS(sÐQuery or sets the default value of the specified option(s) in
        style.
 
        Each key in kw is an option and each value is either a string or
        a sequence identifying the value for that option.RYN(R/R~R tcallt_name(Rtstylet    query_optRG((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyRY|s  cKsZ|dk    r2t|jj|jd|d|ƒƒSt|jj|jd|t|ƒŒƒS(sSQuery or sets dynamic values of the specified option(s) in
        style.
 
        Each key in kw is an option and each value should be a list or a
        tuple (usually) containing statespecs grouped in tuples, or list,
        or something else of your preference. A statespec is compound of
        one or more states and then a value.RZs-%sN(R/RuR RRRnRA(RR‘R’RG((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyRZ‡s
 #cCsA|rdj|ƒnd}|jj|jd|d|||ƒS(sReturns the value specified for option in style.
 
        If state is specified it is expected to be a sequence of one
        or more states. If the default argument is set, it is used as
        a fallback value in case no specification for option is found.R6R5tlookups-%s(R8R RR(RR‘toptionR<tdefault((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyR“—scCsVd}|rt|ƒd}n|dk    r4d}nt|jj|jd||ƒƒS(sÚDefine the widget layout for given style. If layoutspec is
        omitted, return the layout specification for given style.
 
        layoutspec is expected to be a list or an object different than
        None that evaluates to False if you want to "turn off" that style.
        If it is a list (or tuple, or something else), each item should be
        a tuple where the first item is the layout name and the second item
        should have the format described below:
 
        LAYOUTS
 
            A layout can contain the value None, if takes no options, or
            a dict of options specifying how to arrange the element.
            The layout mechanism uses a simplified version of the pack
            geometry manager: given an initial cavity, each element is
            allocated a parcel. Valid options/values are:
 
                side: whichside
                    Specifies which side of the cavity to place the
                    element; one of top, right, bottom or left. If
                    omitted, the element occupies the entire cavity.
 
                sticky: nswe
                    Specifies where the element is placed inside its
                    allocated parcel.
 
                children: [sublayout... ]
                    Specifies a list of elements to place inside the
                    element. Each element is a tuple (or other sequence)
                    where the first item is the layout name, and the other
                    is a LAYOUT.iR[RQN(R/RPRxR RR(RR‘t
layoutspectlspec((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyRQ£s      cOsDt|t||Ž\}}|jj|jdd||||ŒdS(s9Create a new element in the current theme of given etype.telementtcreateN(RNRŒR RR(Rt elementnameRERFRGRHR2((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pytelement_createÎscCs|jj|jddƒS(s:Returns the list of elements defined in the current theme.R˜tnames(R RR(R((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyt element_namesÕscCs|jj|jdd|ƒS(s)Return the list of elementname's options.R˜R|(R RR(RRš((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pytelement_optionsÚsc    Cso|rt|ƒnd}|rI|jj|jdd|d|d|ƒn"|jj|jdd|d|ƒdS(s.Creates a new theme.
 
        It is an error if themename already exists. If parent is
        specified, the new theme will inherit styles, elements and
        layouts from the specified parent theme. If settings are present,
        they are expected to have the same syntax used for theme_settings.R5tthemeR™s-parents    -settingsN(ReR RR(Rt    themenametparentR]R+((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyt theme_createßs cCs/t|ƒ}|jj|jdd||ƒdS(sTemporarily sets the current theme to themename, apply specified
        settings and then restore the previous theme.
 
        Each key in settings is a style and each value may contain the
        keys 'configure', 'map', 'layout' and 'element create' and they
        are expected to have the same format as specified by the methods
        configure, map, layout and element_create respectively.RŸR]N(ReR RR(RR R]R+((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyttheme_settingsðs cCs|jj|jddƒS(s#Returns a list of all known themes.RŸRœ(R RR(R((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyt theme_namesüscCs3|dkr|jjdƒS|jjd|ƒdS(s¨If themename is None, returns the theme in use, otherwise, set
        the current theme to themename, refreshes all widgets and emits
        a <<ThemeChanged>> event.sreturn $ttk::currentThemes ttk::setThemeN(R/R R!R(RR ((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyt    theme_uses N(t__name__t
__module__t__doc__RR/RŽRYRZR“RQR›RRžR¢R£R¤R¥(((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyRls  +                    tWidgetcBs;eZdZdd„Zd„Zdd„Zdd„ZRS(s!Base class for Tk themed widgets.cCsKt|ƒ}t|dtƒs+t|ƒntjj|||d|ƒdS(s´Constructs a Ttk Widget with the parent master.
 
        STANDARD OPTIONS
 
            class, cursor, takefocus, style
 
        SCROLLABLE WIDGET OPTIONS
 
            xscrollcommand, yscrollcommand
 
        LABEL WIDGET OPTIONS
 
            text, textvariable, underline, image, compound, width
 
        WIDGET STATES
 
            active, disabled, focus, pressed, selected, background,
            readonly, alternate, invalid
        R#RGN(RRqRŒR&R‡R©RŽ(RR$t
widgetnameRG((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyRŽs  cCs|jj|jd||ƒS(sºReturns the name of the element at position x, y, or the empty
        string if the point does not lie within any element.
 
        x and y are pixel coordinates relative to the widget.tidentify(R Rt_w(Rtxty((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyR«.scOsG|jj|jddj|ƒƒ}|r=|r=|||ŽSt|ƒS(s1Test the widget's state.
 
        If callback is not specified, returns True if the widget state
        matches statespec and False otherwise. If callback is specified,
        then it will be invoked with *args, **kw if the widget state
        matches statespec. statespec is expected to be a sequence.tinstateR6(R RR¬R8tbool(Rt    statespectcallbackRFRGtret((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyR¯6s$  cCsI|dk    rdj|ƒ}n|jjt|jj|jd|ƒƒƒS(sModify or inquire widget state.
 
        Widget state is returned if statespec is None, otherwise it is
        set according to the statespec flags and then a new state spec
        is returned indicating which flags were changed. statespec is
        expected to be a sequence.R6R<N(R/R8R t    splitlistRhRR¬(RR±((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyR<Ds N(R¦R§R¨R/RŽR«R¯R<(((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyR©s
      cBs#eZdZdd„Zd„ZRS(scTtk Button widget, displays a textual label and/or image, and
    evaluates a command when pressed.cKstj||d|ƒdS(sConstruct a Ttk Button widget with the parent master.
 
        STANDARD OPTIONS
 
            class, compound, cursor, image, state, style, takefocus,
            text, textvariable, underline, width
 
        WIDGET-SPECIFIC OPTIONS
 
            command, default, width
        s ttk::buttonN(R©RŽ(RR$RG((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyRŽUs cCs|jj|jdƒS(s/Invokes the command associated with the button.tinvoke(R RR¬(R((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyRµdsN(R¦R§R¨R/RŽRµ(((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyRQs cBs#eZdZdd„Zd„ZRS(s;Ttk Checkbutton widget which is either in on- or off-state.cKstj||d|ƒdS(s'Construct a Ttk Checkbutton widget with the parent master.
 
        STANDARD OPTIONS
 
            class, compound, cursor, image, state, style, takefocus,
            text, textvariable, underline, width
 
        WIDGET-SPECIFIC OPTIONS
 
            command, offvalue, onvalue, variable
        sttk::checkbuttonN(R©RŽ(RR$RG((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyRŽls cCs|jj|jdƒS(sWToggles between the selected and deselected states and
        invokes the associated command. If the widget is currently
        selected, sets the option variable to the offvalue option
        and deselects the widget; otherwise, sets the option variable
        to the option onvalue.
 
        Returns the result of the associated command.Rµ(R RR¬(R((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyRµ{sN(R¦R§R¨R/RŽRµ(((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyRis cBs8eZdZddd„Zd„Zd„Zd„ZRS(seTtk Entry widget displays a one-line text string and allows that
    string to be edited by the user.cKs tj|||pd|ƒdS(s…Constructs a Ttk Entry widget with the parent master.
 
        STANDARD OPTIONS
 
            class, cursor, style, takefocus, xscrollcommand
 
        WIDGET-SPECIFIC OPTIONS
 
            exportselection, invalidcommand, justify, show, state,
            textvariable, validate, validatecommand, width
 
        VALIDATION MODES
 
            none, key, focus, focusin, focusout, all
        s
ttk::entryN(R©RŽ(RR$twidgetRG((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyRŽŠscCs|jj|jd|ƒS(sqReturn a tuple of (x, y, width, height) which describes the
        bounding box of the character given by index.tbbox(R RR¬(Rtindex((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyR·scCs|jj|jd||ƒS(sxReturns the name of the element at position x, y, or the
        empty string if the coordinates are outside the window.R«(R RR¬(RR­R®((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyR«£scCst|jj|jdƒƒS(sÉForce revalidation, independent of the conditions specified
        by the validate option. Returns False if validation fails, True
        if it succeeds. Sets or clears the invalid state accordingly.tvalidate(R°R RR¬(R((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyR¹©sN(R¦R§R¨R/RŽR·R«R¹(((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyR†s
        cBs/eZdZdd„Zdd„Zd„ZRS(sMTtk Combobox widget combines a text field with a pop-down list of
    values.cKstj||d|dS(sConstruct a Ttk Combobox widget with the parent master.
 
        STANDARD OPTIONS
 
            class, cursor, style, takefocus
 
        WIDGET-SPECIFIC OPTIONS
 
            exportselection, justify, height, postcommand, state,
            textvariable, values, width
        s ttk::comboboxN(RRŽ(RR$RG((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyRŽ´s cCs|jj|jd|ƒS(sIf newindex is supplied, sets the combobox value to the
        element at position newindex in the list of values. Otherwise,
        returns the index of the current value in the list of values
        or -1 if the current value does not appear in the list.tcurrent(R RR¬(Rtnewindex((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyRºÃscCs|jj|jd|ƒdS(s(Sets the value of the combobox to value.tsetN(R RR¬(RR*((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyR¼ËsN(R¦R§R¨R/RŽRºR¼(((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyR°s  cBseZdZdd„ZRS(sJTtk Frame widget is a container, used to group other widgets
    together.cKstj||d|ƒdS(sÓConstruct a Ttk Frame with parent master.
 
        STANDARD OPTIONS
 
            class, cursor, style, takefocus
 
        WIDGET-SPECIFIC OPTIONS
 
            borderwidth, relief, padding, width, height
        s
ttk::frameN(R©RŽ(RR$RG((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyRŽÔs N(R¦R§R¨R/RŽ(((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyRÐscBseZdZdd„ZRS(s7Ttk Label widget displays a textual label and/or image.cKstj||d|ƒdS(sGConstruct a Ttk Label with parent master.
 
        STANDARD OPTIONS
 
            class, compound, cursor, image, style, takefocus, text,
            textvariable, underline, width
 
        WIDGET-SPECIFIC OPTIONS
 
            anchor, background, font, foreground, justify, padding,
            relief, text, wraplength
        s
ttk::labelN(R©RŽ(RR$RG((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyRŽås N(R¦R§R¨R/RŽ(((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyRâscBseZdZdd„ZRS(s Ttk Labelframe widget is a container used to group other widgets
    together. It has an optional label, which may be a plain text string
    or another widget.cKstj||d|ƒdS(sùConstruct a Ttk Labelframe with parent master.
 
        STANDARD OPTIONS
 
            class, cursor, style, takefocus
 
        WIDGET-SPECIFIC OPTIONS
            labelanchor, text, underline, padding, labelwidget, width,
            height
        sttk::labelframeN(R©RŽ(RR$RG((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyRŽús N(R¦R§R¨R/RŽ(((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyRõscBseZdZdd„ZRS(sbTtk Menubutton widget displays a textual label and/or image, and
    displays a menu when pressed.cKstj||d|ƒdS(sConstruct a Ttk Menubutton with parent master.
 
        STANDARD OPTIONS
 
            class, compound, cursor, image, state, style, takefocus,
            text, textvariable, underline, width
 
        WIDGET-SPECIFIC OPTIONS
 
            direction, menu
        sttk::menubuttonN(R©RŽ(RR$RG((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyRŽs N(R¦R§R¨R/RŽ(((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyR
scBszeZdZd d„Zd„Zd„Zd„Zd„Zd„Z    d„Z
d d„Z d d    „Z d
„Z d „ZRS( sÐTtk Notebook widget manages a collection of windows and displays
    a single one at a time. Each child window is associated with a tab,
    which the user may select to change the currently-displayed window.cKstj||d|ƒdS(s\Construct a Ttk Notebook with parent master.
 
        STANDARD OPTIONS
 
            class, cursor, style, takefocus
 
        WIDGET-SPECIFIC OPTIONS
 
            height, padding, width
 
        TAB OPTIONS
 
            state, sticky, padding, text, image, compound, underline
 
        TAB IDENTIFIERS (tab_id)
 
            The tab_id argument found in several methods may take any of
            the following forms:
 
                * An integer between zero and the number of tabs
                * The name of a child window
                * A positional specification of the form "@x,y", which
                  defines the tab
                * The string "current", which identifies the
                  currently-selected tab
                * The string "end", which returns the number of tabs (only
                  valid for method index)
        s ttk::notebookN(R©RŽ(RR$RG((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyRŽ"scKs&|jj|jd|t|ƒŒdS(s”Adds a new tab to the notebook.
 
        If window is currently managed by the notebook but hidden, it is
        restored to its previous position.taddN(R RR¬R4(RtchildRG((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyR½BscCs|jj|jd|ƒdS(sXRemoves the tab specified by tab_id, unmaps and unmanages the
        associated window.tforgetN(R RR¬(Rttab_id((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyR¿JscCs|jj|jd|ƒdS(sèHides the tab specified by tab_id.
 
        The tab will not be displayed, but the associated window remains
        managed by the notebook and its configuration remembered. Hidden
        tabs may be restored with the add command.thideN(R RR¬(RRÀ((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyRÁPscCs|jj|jd||ƒS(sZReturns the name of the tab element at position x, y, or the
        empty string if none.R«(R RR¬(RR­R®((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyR«YscCs|jj|jd|ƒS(s|Returns the numeric index of the tab specified by tab_id, or
        the total number of tabs if tab_id is the string "end".R¸(R RR¬(RRÀ((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyR¸_scKs)|jj|jd||t|ƒŒdS(sãInserts a pane at the specified position.
 
        pos is either the string end, an integer index, or the name of
        a managed child. If child is already managed by the notebook,
        moves it to the specified position.tinsertN(R RR¬R4(RtposR¾RG((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyRÂescCs|jj|jd|ƒS(s÷Selects the specified tab.
 
        The associated child window will be displayed, and the
        previously-selected window (if different) is unmapped. If tab_id
        is omitted, returns the widget name of the currently selected
        pane.tselect(R RR¬(RRÀ((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyRÄnscKs8|dk    rd||<nt||jj|jd|ƒS(süQuery or modify the options of the specific tab_id.
 
        If kw is not given, returns a dict of the tab option values. If option
        is specified, returns the value of that option. Otherwise, sets the
        options to the corresponding values.ttabN(R/R~R RR¬(RRÀR”RG((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyRÅxs  cCs|jj|jdƒpdS(s2Returns a list of windows managed by the notebook.ttabs((R RR¬(R((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyRƃscCs|jjd|jƒdS(söEnable keyboard traversal for a toplevel window containing
        this notebook.
 
        This will extend the bindings for the toplevel window containing
        this notebook as follows:
 
            Control-Tab: selects the tab following the currently selected
                         one
 
            Shift-Control-Tab: selects the tab preceding the currently
                               selected one
 
            Alt-K: where K is the mnemonic (underlined) character of any
                   tab, will select that tab.
 
        Multiple notebooks in a single toplevel may be enabled for
        traversal, including nested notebooks. However, notebook traversal
        only works properly if all panes are direct children of the
        notebook.sttk::notebook::enableTraversalN(R RR¬(R((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pytenable_traversalˆsN(R¦R§R¨R/RŽR½R¿RÁR«R¸RÂRÄRÅRÆRÇ(((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyR    s                                  
   cBsGeZdZdd„ZejjZd„Zdd„Z    dd„Z
RS(sfTtk Panedwindow widget displays a number of subwindows, stacked
    either vertically or horizontally.cKstj||d|ƒdS(síConstruct a Ttk Panedwindow with parent master.
 
        STANDARD OPTIONS
 
            class, cursor, style, takefocus
 
        WIDGET-SPECIFIC OPTIONS
 
            orient, width, height
 
        PANE OPTIONS
 
            weight
        sttk::panedwindowN(R©RŽ(RR$RG((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyRަscKs)|jj|jd||t|ƒŒdS(sáInserts a pane at the specified positions.
 
        pos is either the string end, and integer index, or the name
        of a child. If child is already managed by the paned window,
        moves it to the specified position.RÂN(R RR¬R4(RRÃR¾RG((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyR»scKs8|dk    rd||<nt||jj|jd|ƒS(sQQuery or modify the options of the specified pane.
 
        pane is either an integer index or the name of a managed subwindow.
        If kw is not given, returns a dict of the pane option values. If
        option is specified then the value for that option is returned.
        Otherwise, sets the options to the corresponding values.tpaneN(R/R~R RR¬(RRÈR”RG((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyRÈÄs  cCs|jj|jd||ƒS(sLIf newpos is specified, sets the position of sash number index.
 
        May adjust the positions of adjacent sashes to ensure that
        positions are monotonically increasing. Sash positions are further
        constrained to be between 0 and the total size of the widget.
 
        Returns the new position of sash number index.tsashpos(R RR¬(RR¸tnewpos((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyRÉÐsN( R¦R§R¨R/RŽR‡R R¿RÂRÈRÉ(((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyR
¢s            cBs;eZdZdd„Zdd„Zdd„Zd„ZRS(s6Ttk Progressbar widget shows the status of a long-running
    operation. They can operate in two modes: determinate mode shows the
    amount completed relative to the total amount of work to be done, and
    indeterminate mode provides an animated display to let the user know
    that something is happening.cKstj||d|ƒdS(sãConstruct a Ttk Progressbar with parent master.
 
        STANDARD OPTIONS
 
            class, cursor, style, takefocus
 
        WIDGET-SPECIFIC OPTIONS
 
            orient, length, mode, maximum, value, variable, phase
        sttk::progressbarN(R©RŽ(RR$RG((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyRŽäs cCs|jj|jd|ƒdS(sÃBegin autoincrement mode: schedules a recurring timer event
        that calls method step every interval milliseconds.
 
        interval defaults to 50 milliseconds (20 steps/second) if ommited.tstartN(R RR¬(Rtinterval((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyRËòscCs|jj|jd|ƒdS(sRIncrements the value option by amount.
 
        amount defaults to 1.0 if omitted.tstepN(R RR¬(Rtamount((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyRÍúscCs|jj|jdƒdS(sVStop autoincrement mode: cancels any recurring timer event
        initiated by start.tstopN(R RR¬(R((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyRÏsN(R¦R§R¨R/RŽRËRÍRÏ(((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyR Ýs
   cBs#eZdZdd„Zd„ZRS(seTtk Radiobutton widgets are used in groups to show or change a
    set of mutually-exclusive options.cKstj||d|ƒdS(sConstruct a Ttk Radiobutton with parent master.
 
        STANDARD OPTIONS
 
            class, compound, cursor, image, state, style, takefocus,
            text, textvariable, underline, width
 
        WIDGET-SPECIFIC OPTIONS
 
            command, value, variable
        sttk::radiobuttonN(R©RŽ(RR$RG((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyRŽ s cCs|jj|jdƒS(sÐSets the option variable to the option value, selects the
        widget, and invokes the associated command.
 
        Returns the result of the command, or an empty string if
        no command is specified.Rµ(R RR¬(R((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyRµsN(R¦R§R¨R/RŽRµ(((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyR s cBs5eZdZdd„Zdd„Zddd„ZRS(sTtk Scale widget is typically used to control the numeric value of
    a linked variable that varies uniformly over some range.cKstj||d|ƒdS(sÚConstruct a Ttk Scale with parent master.
 
        STANDARD OPTIONS
 
            class, cursor, style, takefocus
 
        WIDGET-SPECIFIC OPTIONS
 
            command, from, length, orient, to, value, variable
        s
ttk::scaleN(R©RŽ(RR$RG((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyRŽ's cKsa|r|j|ƒntj||td|kd|kd|kgƒr]|jdƒndS(s’Modify or query scale options.
 
        Setting a value for any of the "from", "from_" or "to" options
        generates a <<RangeChanged>> event.RDtfrom_ttos<<RangeChanged>>N(tupdateR©RYtanytevent_generate(RtcnfRG((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyRY5s
'cCs|jj|jd||ƒS(sÐGet the current value of the value option, or the value
        corresponding to the coordinates x, y if they are specified.
 
        x and y are pixel coordinates relative to the scale widget
        origin.R(R RR¬(RR­R®((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyRAsN(R¦R§R¨R/RŽRYR(((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyR#s  cBseZdZdd„ZRS(s;Ttk Scrollbar controls the viewport of a scrollable widget.cKstj||d|ƒdS(s»Construct a Ttk Scrollbar with parent master.
 
        STANDARD OPTIONS
 
            class, cursor, style, takefocus
 
        WIDGET-SPECIFIC OPTIONS
 
            command, orient
        sttk::scrollbarN(R©RŽ(RR$RG((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyRŽMs N(R¦R§R¨R/RŽ(((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyRJscBseZdZdd„ZRS(sITtk Separator widget displays a horizontal or vertical separator
    bar.cKstj||d|ƒdS(s²Construct a Ttk Separator with parent master.
 
        STANDARD OPTIONS
 
            class, cursor, style, takefocus
 
        WIDGET-SPECIFIC OPTIONS
 
            orient
        sttk::separatorN(R©RŽ(RR$RG((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyRŽ_s N(R¦R§R¨R/RŽ(((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyR[scBseZdZdd„ZRS(slTtk Sizegrip allows the user to resize the containing toplevel
    window by pressing and dragging the grip.cKstj||d|ƒdS(sƒConstruct a Ttk Sizegrip with parent master.
 
        STANDARD OPTIONS
 
            class, cursor, state, style, takefocus
        s ttk::sizegripN(R©RŽ(RR$RG((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyRŽqsN(R¦R§R¨R/RŽ(((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyRmscBsdeZdZd!d„Zd!d„Zd!d„Zd„Zd!d„Zd„Z    d„Z
d„Z d!d    „Z d!d
„Z d „Zd „Zd „Zd„Zd„Zd„Zd!d„Zd!d„Zd„ZeZd„Zd„Zd„Zd„Zd!d!d„Zd„Zd„Zd„Zd„Z d!d!d„Z!d!d!d„Z"d!d„Z#d!d „Z$RS("sîTtk Treeview widget displays a hierarchical collection of items.
 
    Each item has a textual label, an optional image, and an optional list
    of data values. The data values are displayed in successive columns
    after the tree label.cKstj||d|ƒdS(sšConstruct a Ttk Treeview with parent master.
 
        STANDARD OPTIONS
 
            class, cursor, style, takefocus, xscrollcommand,
            yscrollcommand
 
        WIDGET-SPECIFIC OPTIONS
 
            columns, displaycolumns, height, padding, selectmode, show
 
        ITEM OPTIONS
 
            text, image, values, open, tags
 
        TAG OPTIONS
 
            foreground, background, font, image
        s ttk::treeviewN(R©RŽ(RR$RG((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyRŽ‚scCs|jj|jd||ƒS(sTReturns the bounding box (relative to the treeview widget's
        window) of the specified item in the form x y width height.
 
        If column is specified, returns the bounding box of that cell.
        If the item is not visible (i.e., if it is a descendant of a
        closed item or is scrolled offscreen), returns an empty string.R·(R RR¬(RR;tcolumn((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyR·™scCs%|jj|jd|pdƒp$dS(shReturns a tuple of children belonging to item.
 
        If item is not specified, returns root children.ROR5((R RR¬(RR;((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyt get_children£scGs |jj|jd||ƒdS(sÉReplaces item's child with newchildren.
 
        Children present in item that are not present in newchildren
        are detached from tree. No items in newchildren may be an
        ancestor of item.RON(R RR¬(RR;t newchildren((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyt set_childrenªscKs8|dk    rd||<nt||jj|jd|ƒS(s
Query or modify the options for the specified column.
 
        If kw is not given, returns a dict of the column option values. If
        option is specified then the value for that option is returned.
        Otherwise, sets the options to the corresponding values.RÖN(R/R~R RR¬(RRÖR”RG((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyRÖ³s  cGs|jj|jd|ƒdS(s_Delete all specified items and all their descendants. The root
        item may not be deleted.tdeleteN(R RR¬(RR9((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyRÚ¾scGs|jj|jd|ƒdS(söUnlinks all of the specified items from the tree.
 
        The items and all of their descendants are still present, and may
        be reinserted at another point in the tree, but will not be
        displayed. The root item may not be detached.tdetachN(R RR¬(RR9((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyRÛÄscCst|jj|jd|ƒƒS(sSReturns True if the specified item is present in the tree,
        False otherwise.texists(R°R RR¬(RR;((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyRÜÍscCs|jj|jd|ƒS(s}If item is specified, sets the focus item to item. Otherwise,
        returns the current focus item, or '' if there is none.tfocus(R RR¬(RR;((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyRÝÓscKs||jdƒ}|rDt|tƒ rD|jj||jƒ|d<n|dk    r]d||<nt||jj    |j
d|ƒS(s_Query or modify the heading options for the specified column.
 
        If kw is not given, returns a dict of the heading option values. If
        option is specified then the value for that option is returned.
        Otherwise, sets the options to the corresponding values.
 
        Valid options/values are:
            text: text
                The text to display in the column heading
            image: image_name
                Specifies an image to display to the right of the column
                heading
            anchor: anchor
                Specifies how the heading text should be aligned. One of
                the standard Tk anchor values
            command: callback
                A callback to be invoked when the heading label is
                pressed.
 
        To configure the tree column heading, call this with column = "#0" tcommandtheadingN( RR'R…R$tregistert _substituteR/R~R RR¬(RRÖR”RGtcmd((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyRßÙs   cCs|jj|jd|||ƒS(s¨Returns a description of the specified component under the
        point given by x and y, or the empty string if no such component
        is present at that position.R«(R RR¬(Rt    componentR­R®((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyR«ùscCs|jdd|ƒS(s.Returns the item ID of the item at position y.trowi(R«(RR®((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyt identify_rowscCs|jd|dƒS(saReturns the data column identifier of the cell at position x.
 
        The tree column has ID #0.RÖi(R«(RR­((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pytidentify_columnscCs|jd||ƒS(sÃReturns one of:
 
        heading: Tree heading area.
        separator: Space between two columns headings;
        tree: The tree area.
        cell: A data cell.
 
        * Availability: Tk 8.6tregion(R«(RR­R®((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pytidentify_region s    cCs|jd||ƒS(sEReturns the element at position x, y.
 
        * Availability: Tk 8.6R˜(R«(RR­R®((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pytidentify_elementscCs|jj|jd|ƒS(sOReturns the integer index of item within its parent's list
        of children.R¸(R RR¬(RR;((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyR¸scKsat|ƒ}|r<|jj|jd||d||Œ}n!|jj|jd|||Œ}|S(s°Creates a new item and return the item identifier of the newly
        created item.
 
        parent is the item ID of the parent item, or the empty string
        to create a new top-level item. index is an integer, or the value
        end, specifying where in the list of parent's children to insert
        the new item. If index is less than or equal to zero, the new node
        is inserted at the beginning, if index is greater than or equal to
        the current number of children, it is inserted at the end. If iid
        is specified, it is used as the item identifier, iid must not
        already exist in the tree. Otherwise, a new unique identifier
        is generated.RÂs-id(R4R RR¬(RR¡R¸tiidRGR2Rz((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyRÂ%s !cKs8|dk    rd||<nt||jj|jd|ƒS(s-Query or modify the options for the specified item.
 
        If no options are given, a dict with options/values for the item
        is returned. If option is specified then the value for that option
        is returned. Otherwise, sets the options to the corresponding
        values as given by kw.R;N(R/R~R RR¬(RR;R”RG((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyR;<s  cCs#|jj|jd|||ƒdS(sRMoves item to position index in parent's list of children.
 
        It is illegal to move an item under one of its descendants. If
        index is less than or equal to zero, item is moved to the
        beginning, if greater than or equal to the number of children,
        it is moved to the end. If item was detached it is reattached.tmoveN(R RR¬(RR;R¡R¸((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyRëHscCs|jj|jd|ƒS(seReturns the identifier of item's next sibling, or '' if item
        is the last child of its parent.tnext(R RR¬(RR;((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyRìTscCs|jj|jd|ƒS(saReturns the ID of the parent of item, or '' if item is at the
        top level of the hierarchy.R¡(R RR¬(RR;((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyR¡ZscCs|jj|jd|ƒS(sjReturns the identifier of item's previous sibling, or '' if
        item is the first child of its parent.tprev(R RR¬(RR;((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyRí`scCs|jj|jd|ƒdS(sÃEnsure that item is visible.
 
        Sets all of item's ancestors open option to True, and scrolls
        the widget if necessary so that item is within the visible
        portion of the tree.tseeN(R RR¬(RR;((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyRîfscCs|jj|jd||ƒS(s2If selop is not specified, returns selected items.t    selection(R RR¬(RtselopR9((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyRïoscCs|jd|ƒdS(s items becomes the new selection.R¼N(Rï(RR9((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyt selection_settscCs|jd|ƒdS(sAdd items to the selection.R½N(Rï(RR9((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyt selection_addyscCs|jd|ƒdS(s Remove items from the selection.tremoveN(Rï(RR9((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pytselection_remove~scCs|jd|ƒdS(s1Toggle the selection state of each item in items.ttoggleN(Rï(RR9((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pytselection_toggleƒscCsN|jj|jd|||ƒ}|dkrF|dkrFt|tƒS|SdS(sWith one argument, returns a dictionary of column/value pairs
        for the specified item. With two arguments, returns the current
        value of the specified column. With three arguments, sets the
        value of given column in given item to the specified value.R¼N(R RR¬R/RnRŒ(RR;RÖR*Rz((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyR¼ˆs! cCs,|j|jdd|f||ddƒdS(s´Bind a callback for the given event sequence to the tag tagname.
        When an event is delivered to an item, the callbacks for each
        of the item's tags option are called.ttagtbindR½iN(t_bindR¬(RttagnametsequenceR²((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyttag_bind”scKs;|dk    rd||<nt||jj|jdd|ƒS(sBQuery or modify the options for the specified tagname.
 
        If kw is not given, returns a dict of the option settings for tagname.
        If option is specified, returns the value for that option for the
        specified tagname. Otherwise, sets the options to the corresponding
        values for the given tagname.R÷RYN(R/R~R RR¬(RRúR”RG((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyt tag_configure›s  cCs|jj|jdd||ƒS(sØIf item is specified, returns 1 or 0 depending on whether the
        specified item has the given tagname. Otherwise, returns a list of
        all items which have the specified tag.
 
        * Availability: Tk 8.6R÷thas(R RR¬(RRúR;((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyttag_has¨sN(%R¦R§R¨R/RŽR·R×RÙRÖRÚRÛRÜRÝRßR«RåRæRèRéR¸RÂR;RëtreattachRìR¡RíRîRïRñRòRôRöR¼RüRýRÿ(((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyR{sD 
                                                                                                  cBsVeZdZddddd„Zd„Zd„Zd„Zd„Ze    eeƒZ
RS(    sÀA Ttk Scale widget with a Ttk Label widget indicating its
    current value.
 
    The Ttk Scale can be accessed through instance.scale, and Ttk Label
    can be accessed through instance.labelii
c        Ksp|jddƒdk|_tj||||p@tj|ƒ|_|jj|ƒ||_t    |ƒ|_
t |d|jd|d|ƒ|_ |j j d|jƒ|jr·dnd}|dkrÏdnd}|j jd|d    d
ƒt    |ƒjd|ƒ}|j
jd |dkr$d nd ƒ|jjd|jƒ|_|j d|jƒ|j d|jƒdS(sˆConstruct an horizontal LabeledScale with parent master, a
        variable to be associated with the Ttk Scale widget and its range.
        If variable is not specified, a Tkinter.IntVar is created.
 
        WIDGET-SPECIFIC OPTIONS
 
            compound: 'top' or 'bottom'
                Specifies how to display the label relative to the scale.
                Defaults to 'top'.
        tcompoundttoptvariableRÐRÑs<<RangeChanged>>tbottomtsidetfillR­tanchortnR_tws <Configure>s<Map>N(tpopt
_label_topRRŽR‡tIntVart    _variableR¼t _last_validRtlabelRtscaleRøt_adjusttpacktplacettrace_variablet_LabeledScale__tracecb(    RR$RRÐRÑRGt
scale_sidet
label_sidettmp((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyRŽºs      $%cCsEy|jjd|jƒWntk
r-nX|`tj|ƒdS(s9Destroy this widget and possibly its associated variable.R    N(R t trace_vdeleteRtAttributeErrorRtdestroy(R((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyRÝs  cs¨‡fd†}ˆjdˆjd}}||krF||}}nˆjjƒ}||kol|knsˆjˆ_dS|ˆ_|ˆjd<ˆj|ƒdS(s1Adjust the label position according to the scale.cs€ˆjƒˆjjƒ\}}ˆjrGˆjjƒˆjjƒ}nˆjjƒˆjjƒ}ˆjjd|d|ƒdS(NR­R®(tupdate_idletasksRtcoordsR twinfo_yRtwinfo_reqheighttplace_configure(R­R®(R(sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyt adjust_labelës 
    RDRÑNttext(RR RRR*Rt
after_idle(RRFR!RÐRÑtnewval((RsR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyRés        cCs |jjƒS(sReturn current scale value.(R R(R((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyt
_get_valuescCs|jj|ƒdS(sSet new scale value.N(R R¼(RR=((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyt
_set_value    sN( R¦R§R¨R/RŽRRR%R&tpropertyR*(((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyR³s#                cBs8eZdZdd„Zd„Zdd„Zd„ZRS(smThemed OptionMenu, based after Tkinter's OptionMenu, which allows
    the user to select a value from a menu.cOs¹i|d6|jddƒd6|jddƒd6}tj|||tj|dtƒ|d<||_|jddƒ|_|r¥tj    d|j
ƒj ƒƒ‚n|j ||ŒdS(    s9Construct a themed OptionMenu widget with master as the parent,
        the resource textvariable set to variable, the initially selected
        value specified by the default parameter, the menu values given by
        *values and additional keywords.
 
        WIDGET-SPECIFIC OPTIONS
 
            style: stylename
                Menubutton style.
            direction: 'above', 'below', 'left', 'right', or 'flush'
                Menubutton direction.
            command: callback
                A callback that will be invoked after selecting an item.
        t textvariableR‘t    directionttearofftmenuRÞsunknown option -%sN( R
R/RRŽR‡tMenuRŒR t    _callbacktTclErrortiterkeysRìtset_menu(RR$RR•tvaluestkwargsRG((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyRŽs        cCs5|dkr%|jtj||ƒƒStj||ƒS(NR+(t nametowidgetRt __getitem__(RR;((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyR42s c    Gss|d}|jddƒx9|D]1}|jd|dtj|j||jƒƒq!W|ro|jj|ƒndS(sUBuild a new menu of radiobuttons with *values and optionally
        a default value.R+itendRRÞN(RÚtadd_radiobuttonR‡t_setitR R-R¼(RR•R1R+R=((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyR09s
  cCs|`tj|ƒdS(s0Destroy this widget and its associated variable.N(R RR(R((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyRFsN(R¦R§R¨R/RŽR4R0R(((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyRs
      (6R¨t __version__t
__author__t__all__R‡RRRt    TkVersionR"RŒRR&R,R/R4R>RARNRPReRnRuRxR~RƒRRtobjectRR©RRRRRRRRRR    R R
R R RRRRtXViewtYViewRRR(((sR/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/ttk.pyt<module> sd       
      %1    *                 
    ¤A* …8*'"ÿ9^