Your IP : 3.147.79.94


Current Path : /lib64/python2.7/Demo/tkinter/ttk/
Upload File :
Current File : //lib64/python2.7/Demo/tkinter/ttk/listbox_scrollcmd.pyo

�
V
�Qc@sWdZddlZddlZej�Zejdd�Zejdddddd	�ejd
ej	dd�Z
e
jed
<e
jdddddd�ejdddd�Z
e
jdddddd�ej�Zejdddddd�ejddd�ejddd�x(ed�D]Zejdde�q+Wej�dS(sWSample taken from: http://www.tkdocs.com/tutorial/morewidgets.html and
converted to Python, mainly to demonstrate xscrollcommand option.

grid [tk::listbox .l -yscrollcommand ".s set" -height 5] -column 0 -row 0 -sticky nwes
grid [ttk::scrollbar .s -command ".l yview" -orient vertical] -column 1 -row 0 -sticky ns
grid [ttk::label .stat -text "Status message here" -anchor w] -column 0 -row 1 -sticky we
grid [ttk::sizegrip .sz] -column 1 -row 1 -sticky se
grid columnconfigure . 0 -weight 1; grid rowconfigure . 0 -weight 1
for {set i 0} {$i<100} {incr i} {
   .l insert end "Line $i of 100"
   }
i����NtheightitcolumnitrowtstickytnwestcommandtorienttverticaltyscrollcommanditnsttextsStatus message heretanchortwtwetsetweightidtendsLine %d of 100(t__doc__tTkintertttktTktroottListboxtltgridt	ScrollbartyviewtstsettLabeltstattSizegriptsztgrid_columnconfiguretgrid_rowconfiguretrangetitinserttmainloop(((s:/usr/lib64/python2.7/Demo/tkinter/ttk/listbox_scrollcmd.pyt<module>s"