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
ptk@xxxxxxxxxxxxxxxxxx
https://mailman.stanford.edu/mailman/listinfo/ptk
|