/ Published in: Python
URL: http://stevennathaniel.blogspot.com/
cara membuat orientasi counter menjadi Vertical
Expand |
Embed | Plain Text
import Tkinter root = Tkinter.Tk() import Pmw Pmw.initialise(root) counter3 = Pmw.Counter(orient = 'vertical', increment = 2) # orient berguna untuk menentukan format tanda panah, apakah vertical atau horizontal counter3.pack(padx = 10, pady = 10) counter3.setentry(50) print counter3.configure('increment') print counter3.configure('orient') root.mainloop() # http://stevennathaniel.blogspot.com/ # http://twitter.com/bpptwiter
You need to login to post a comment.
