Trouble with options

Bryan Beutler <[email protected]> Sat, 2 Dec 2006 08:55:50 -0800 (PST)
Newsgroups gmane.comp.lang.perl.tk
Message-ID <[email protected]>
Hi,

What is the best way to set common options for
all/most instances of a particular widget in my
program? I have been trying to use an option database
but am having trouble with mega-widgets.  For example,
if I want all LabEntry widgets to have 

-labelPack=>[-side=>'left'],
-labelFont=>[-size=>9],
-background=>'white'

I have been using the following lines in my option
database file

*LabEntry*labelPack   :-side left
*LabEntry*labelFont   :-size 9
*LabEntry*background  :white

My program doesn't recognize labelPack or labelFont
and background sets both the Entry and Label
subwidgets to white.   If I hardcode the background
option it only sets the Entry subwidget to white.  

Thanks,
Bryan


 
____________________________________________________________________________________
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com
--++**==--++**==--++**==--++**==--++**==--++**==--++**==
ptk mailing list
[email protected]
https://mailman.stanford.edu/mailman/listinfo/ptk