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 /unix | |
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 'unix')
-rw-r--r-- | unix/tkUnixDefault.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/unix/tkUnixDefault.h b/unix/tkUnixDefault.h index eb81ff8..4cc48a4 100644 --- a/unix/tkUnixDefault.h +++ b/unix/tkUnixDefault.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: tkUnixDefault.h,v 1.8 2000/05/17 22:23:26 ericm Exp $ + * RCS: @(#) $Id: tkUnixDefault.h,v 1.9 2000/07/28 16:34:55 ericm Exp $ */ #ifndef _TKUNIXDEFAULT @@ -199,6 +199,7 @@ #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 "Helvetica -12 bold" #define DEF_LISTBOX_FG BLACK @@ -216,6 +217,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" |