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 /mac/tkMacDefault.h | |
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 'mac/tkMacDefault.h')
-rw-r--r-- | mac/tkMacDefault.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mac/tkMacDefault.h b/mac/tkMacDefault.h index e1ca127..5358a0f 100644 --- a/mac/tkMacDefault.h +++ b/mac/tkMacDefault.h @@ -10,7 +10,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkMacDefault.h,v 1.8 2000/05/17 22:23:26 ericm Exp $ + * RCS: @(#) $Id: tkMacDefault.h,v 1.9 2000/07/28 16:34:55 ericm Exp $ */ #ifndef _TKMACDEFAULT @@ -204,6 +204,7 @@ #define DEF_LISTBOX_BG_MONO WHITE #define DEF_LISTBOX_BORDER_WIDTH "1" #define DEF_LISTBOX_CURSOR "" +#define DEF_LISTBOX_DISABLED_FG DISABLED #define DEF_LISTBOX_EXPORT_SELECTION "1" #define DEF_LISTBOX_FONT "application" #define DEF_LISTBOX_FG BLACK @@ -221,6 +222,7 @@ #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" |