diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2024-01-18 14:24:33 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2024-01-18 14:24:33 (GMT) |
commit | d957bf874f381f7e1efb65dd69990381045f0d13 (patch) | |
tree | 47569752f2967cc193e2b1c59c406cd95c7d8a59 /generic/tkEntry.c | |
parent | d1dc1eefb391a677a0b07bcee8c496806b0d014f (diff) | |
download | tk-d957bf874f381f7e1efb65dd69990381045f0d13.zip tk-d957bf874f381f7e1efb65dd69990381045f0d13.tar.gz tk-d957bf874f381f7e1efb65dd69990381045f0d13.tar.bz2 |
Add TK_OPTION_ENUM_VAR to config tables, where enum's are involved.
Diffstat (limited to 'generic/tkEntry.c')
-rw-r--r-- | generic/tkEntry.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkEntry.c b/generic/tkEntry.c index 6601d65..04162e3 100644 --- a/generic/tkEntry.c +++ b/generic/tkEntry.c @@ -121,7 +121,7 @@ static const Tk_OptionSpec entryOptSpec[] = { {TK_OPTION_SYNONYM, "-invcmd", NULL, NULL, NULL, 0, TCL_INDEX_NONE, 0, "-invalidcommand", 0}, {TK_OPTION_JUSTIFY, "-justify", "justify", "Justify", - DEF_ENTRY_JUSTIFY, TCL_INDEX_NONE, offsetof(Entry, justify), 0, 0, 0}, + DEF_ENTRY_JUSTIFY, TCL_INDEX_NONE, offsetof(Entry, justify), TK_OPTION_ENUM_VAR, 0, 0}, {TK_OPTION_STRING, "-placeholder", "placeHolder", "PlaceHolder", DEF_ENTRY_PLACEHOLDER, TCL_INDEX_NONE, offsetof(Entry, placeholderString), TK_OPTION_NULL_OK, 0, 0}, @@ -267,7 +267,7 @@ static const Tk_OptionSpec sbOptSpec[] = { {TK_OPTION_SYNONYM, "-invcmd", NULL, NULL, NULL, 0, TCL_INDEX_NONE, 0, "-invalidcommand", 0}, {TK_OPTION_JUSTIFY, "-justify", "justify", "Justify", - DEF_ENTRY_JUSTIFY, TCL_INDEX_NONE, offsetof(Entry, justify), 0, 0, 0}, + DEF_ENTRY_JUSTIFY, TCL_INDEX_NONE, offsetof(Entry, justify), TK_OPTION_ENUM_VAR, 0, 0}, {TK_OPTION_STRING, "-placeholder", "placeHolder", "PlaceHolder", DEF_ENTRY_PLACEHOLDER, TCL_INDEX_NONE, offsetof(Entry, placeholderString), TK_OPTION_NULL_OK, 0, 0}, |