diff options
author | jenglish <jenglish@flightlab.com> | 2011-09-22 18:10:30 (GMT) |
---|---|---|
committer | jenglish <jenglish@flightlab.com> | 2011-09-22 18:10:30 (GMT) |
commit | 3d7771a4c563657f852eddc6b6e5a1e5223cd568 (patch) | |
tree | 1f3d74c51d27e678018aae35bf2e4f667359e082 /generic/ttk/ttkEntry.c | |
parent | aef5d3cf9a433ab18b10d9d5770943f1cd703bd7 (diff) | |
download | tk-3d7771a4c563657f852eddc6b6e5a1e5223cd568.zip tk-3d7771a4c563657f852eddc6b6e5a1e5223cd568.tar.gz tk-3d7771a4c563657f852eddc6b6e5a1e5223cd568.tar.bz2 |
Move -takefocus option out of ttkCoreOptionSpecs,
explicitly specify it on individual widgets.
[Bug 3404541], [Bug 1204186].
Diffstat (limited to 'generic/ttk/ttkEntry.c')
-rw-r--r-- | generic/ttk/ttkEntry.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/generic/ttk/ttkEntry.c b/generic/ttk/ttkEntry.c index f4750e1..c4b1b6a 100644 --- a/generic/ttk/ttkEntry.c +++ b/generic/ttk/ttkEntry.c @@ -155,8 +155,6 @@ typedef struct { #define DEF_LIST_HEIGHT "10" static Tk_OptionSpec EntryOptionSpecs[] = { - WIDGET_TAKES_FOCUS, - {TK_OPTION_BOOLEAN, "-exportselection", "exportSelection", "ExportSelection", "1", -1, Tk_Offset(Entry, entry.exportSelection), 0,0,0 }, @@ -200,6 +198,7 @@ static Tk_OptionSpec EntryOptionSpecs[] = { NULL, Tk_Offset(Entry, entry.styleData.backgroundObj), -1, TK_OPTION_NULL_OK,0,0}, + WIDGET_TAKEFOCUS_TRUE, WIDGET_INHERIT_OPTIONS(ttkCoreOptionSpecs) }; |