diff options
author | ericm <ericm> | 2000-07-28 16:34:54 (GMT) |
---|---|---|
committer | ericm <ericm> | 2000-07-28 16:34:54 (GMT) |
commit | a5179966d79dc5e42d4da2132e363da240f49319 (patch) | |
tree | 346b81e19cb335ba4707e6962ccb3082139cf3aa /win | |
parent | 7808cd1f6b397be03639f6b58b08fe75b0e3539a (diff) | |
download | tk-a5179966d79dc5e42d4da2132e363da240f49319.zip tk-a5179966d79dc5e42d4da2132e363da240f49319.tar.gz tk-a5179966d79dc5e42d4da2132e363da240f49319.tar.bz2 |
* mac/tkMacDefault.h:
* unix/tkUnixDefault.h: Added default values for listbox
disabledforeground and state.
* win/tkWinDefault.h: Changed default listbox background color to
white and listbox selection borderwidth to 0, in keeping with the
"Microsoft Windows User Experience"; added default values for
listbox disabledforeground and listbox state.
* doc/listbox.n: Added documentation for -state option.
* generic/tkListbox.c: Added support for -state to listbox. [RFE:
6052].
* tests/listbox.test: Tests for listbox disabled state.
Diffstat (limited to 'win')
-rw-r--r-- | win/tkWinDefault.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/win/tkWinDefault.h b/win/tkWinDefault.h index c7cf285..2e6d903 100644 --- a/win/tkWinDefault.h +++ b/win/tkWinDefault.h @@ -9,7 +9,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkWinDefault.h,v 1.8 2000/05/17 22:23:26 ericm Exp $ + * RCS: @(#) $Id: tkWinDefault.h,v 1.9 2000/07/28 16:34:56 ericm Exp $ */ #ifndef _TKWINDEFAULT @@ -200,10 +200,11 @@ * Defaults for listboxes: */ -#define DEF_LISTBOX_BG_COLOR NORMAL_BG +#define DEF_LISTBOX_BG_COLOR "SystemWindow" #define DEF_LISTBOX_BG_MONO WHITE #define DEF_LISTBOX_BORDER_WIDTH "2" #define DEF_LISTBOX_CURSOR "" +#define DEF_LISTBOX_DISABLED_FG DISABLED #define DEF_LISTBOX_EXPORT_SELECTION "1" #define DEF_LISTBOX_FONT CTL_FONT #define DEF_LISTBOX_FG NORMAL_FG @@ -216,11 +217,12 @@ #define DEF_LISTBOX_LIST_VARIABLE "" #define DEF_LISTBOX_SELECT_COLOR SELECT_BG #define DEF_LISTBOX_SELECT_MONO BLACK -#define DEF_LISTBOX_SELECT_BD "1" +#define DEF_LISTBOX_SELECT_BD "0" #define DEF_LISTBOX_SELECT_FG_COLOR SELECT_FG #define DEF_LISTBOX_SELECT_FG_MONO WHITE #define DEF_LISTBOX_SELECT_MODE "browse" #define DEF_LISTBOX_SET_GRID "0" +#define DEF_LISTBOX_STATE "normal" #define DEF_LISTBOX_TAKE_FOCUS (char *) NULL #define DEF_LISTBOX_WIDTH "20" |