Done !
| Server IP : 162.240.50.153 / Your IP : 216.73.216.102 Web Server : Apache System : Linux vps-880082.mktpower.cl 3.10.0-1160.119.1.el7.tuxcare.els25.x86_64 #1 SMP Wed Oct 1 17:37:27 UTC 2025 x86_64 User : wwmktp ( 1003) PHP Version : 8.3.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/lib64/python2.7/Demo/tkinter/ttk/ |
Upload File : |
�
V
�Qc @ sW d Z d d l Z d d l Z e j � Z e j d d � Z e j d d d d d d � e j d
e j d d � Z
e
j e d
<e
j d d d d d d � e j d d d d � Z
e
j d d d d d d � e j � Z e j d d d d d d � e j d d d �e j d d d �x( e d � D] Z e j d d e � q+We j � d S( sW Sample 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����Nt heighti t columni t rowt stickyt nwest commandt orientt verticalt yscrollcommandi t nst texts Status message heret anchort wt wet set weightid t ends Line %d of 100( t __doc__t Tkintert ttkt Tkt roott Listboxt lt gridt Scrollbart yviewt st sett Labelt statt Sizegript szt grid_columnconfiguret grid_rowconfiguret ranget it insertt mainloop( ( ( s: /usr/lib64/python2.7/Demo/tkinter/ttk/listbox_scrollcmd.pyt <module> s"