Posted By

stevennathaniel on 03/23/11


Tagged

Hull


Versions (?)

Counter6.py


 / Published in: Python
 

URL: http://stevennathaniel.blogspot.com/

cara menerapkan hull pada komponen megawidgets

  1. import Tkinter
  2. root = Tkinter.Tk()
  3. import Pmw
  4. Pmw.initialise(root)
  5.  
  6. counter6 = Pmw.Counter(hull_relief = 'sunken', hull_borderwidth = 5, orient = 'vertical', datatype = 'time', increment = 60)
  7. counter6.setentry('00:00:00')
  8. counter6.pack(padx = 10, pady = 10)
  9. counter6.configure(downarrow_background = 'blue', uparrow_background = 'yellow')
  10.  
  11. root.mainloop()
  12.  
  13.  
  14. # http://twitter.com/bpptwiter
  15. # http://stevennathaniel.blogspot.com/

Report this snippet  

You need to login to post a comment.