summaryrefslogtreecommitdiffstats
path: root/generic/ttk/ttkScrollbar.c
diff options
context:
space:
mode:
authorjenglish <jenglish@flightlab.com>2011-09-22 18:34:53 (GMT)
committerjenglish <jenglish@flightlab.com>2011-09-22 18:34:53 (GMT)
commit6f0061cc623242e99306b0dc9e5642b84be8cef5 (patch)
tree9da9e1432ea629149cd1208dee9f5957888d3b25 /generic/ttk/ttkScrollbar.c
parent6d71bc534ef26440835770cb3b305fb91074f724 (diff)
parent3d7771a4c563657f852eddc6b6e5a1e5223cd568 (diff)
downloadtk-6f0061cc623242e99306b0dc9e5642b84be8cef5.zip
tk-6f0061cc623242e99306b0dc9e5642b84be8cef5.tar.gz
tk-6f0061cc623242e99306b0dc9e5642b84be8cef5.tar.bz2
Move -takefocus option out of ttkCoreOptionSpecs,
explicitly specify it on individual widgets. [Bug 3404541], [Bug 1204186].
Diffstat (limited to 'generic/ttk/ttkScrollbar.c')
-rw-r--r--generic/ttk/ttkScrollbar.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/generic/ttk/ttkScrollbar.c b/generic/ttk/ttkScrollbar.c
index 641b0dc..5b0c212 100644
--- a/generic/ttk/ttkScrollbar.c
+++ b/generic/ttk/ttkScrollbar.c
@@ -42,6 +42,7 @@ static Tk_OptionSpec ScrollbarOptionSpecs[] =
Tk_Offset(Scrollbar,scrollbar.orient),
0,(ClientData)ttkOrientStrings,STYLE_CHANGED },
+ WIDGET_TAKEFOCUS_FALSE,
WIDGET_INHERIT_OPTIONS(ttkCoreOptionSpecs)
};