Faqts : Computers : Programming : Shopping For You : Python : Tkinter

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

7 of 7 people (100%) answered Yes
Recently 5 of 5 people (100%) answered Yes

Entry

What is the best way of setting default options of widgets?

Dec 3rd, 2009 01:26
tie nrie, jsieoa gide, Scott Mandarich, unknown unknown, Cameron Laird


You can use an option database. If you create a file called optionDB 
with for example the following kind of entries:

*font:                   Times New Roman
*Button*foreground       blue
*foreground              black

You can then apply these via

root.option_readfile('optionDB')

For more on this, see

http://www.regularexpressions.com/#options

-----------------------------------------------------------------------

http://helseernaeringomsorg.blogspot.com/
http://asistentamedicalanutritie.blogspot.com/
http://nutrionblo.blogspot.com/
http://zdravotnejstarostlivostivyziva.blogspot.com/
http://atencionnutricionalsalud.blogspot.com/
http://healthnutritionsjukvard.blogspot.com/



-----------------------------------------------------------------------



http://nyeargaver.blogogi.com/
http://novyrokdarky.blogogi.com/
http://novagodinapokloni.blogogi.com/
http://nuyrbg.blogogi.com/
http://julklapparide.blogogi.com/
http://regalosdenavidad.blogogi.com/
http://christmasru.blogogi.com/










http://65.182.191.43/d/motorcycle.html