/ Published in: Python
URL: http://stevennathaniel.blogspot.com/
cara mengubah warna tanda panah di counter.
Expand |
Embed | Plain Text
import Tkinter root = Tkinter.Tk() import Pmw Pmw.initialise(root) counter5 = Pmw.Counter(increment=2) counter5.pack(padx = 10, pady = 10) counter5.setentry(50) counter5.configure(downarrow_background = 'green', uparrow_background = 'red') # Berguna untuk mengubah warna anak panah ke atas menjadi warna merah, anak panah ke bawah menjadi warna hijau) root.mainloop() # http://twitter.com/bpptwiter # http://stevennathaniel.blogspot.com/
You need to login to post a comment.
