diff options
author | pspjuth <peter.spjuth@gmail.com> | 2011-04-04 19:40:21 (GMT) |
---|---|---|
committer | pspjuth <peter.spjuth@gmail.com> | 2011-04-04 19:40:21 (GMT) |
commit | e36f9a40b4ead210742d7982b875a2810d998e26 (patch) | |
tree | ad6c79725ba28c2253738259a18b9de2399834c6 /generic/tkFrame.c | |
parent | e901955cded1a22b11c1824b9b38c04f63405cd2 (diff) | |
download | tk-e36f9a40b4ead210742d7982b875a2810d998e26.zip tk-e36f9a40b4ead210742d7982b875a2810d998e26.tar.gz tk-e36f9a40b4ead210742d7982b875a2810d998e26.tar.bz2 |
[Bug 2997657]: Removed -container from labelframe
documentation since it does not work as expected and does not make
sense as a container. Added note to frame about restrictions when used
as a container.
Diffstat (limited to 'generic/tkFrame.c')
-rw-r--r-- | generic/tkFrame.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/generic/tkFrame.c b/generic/tkFrame.c index ddf0b5a..da4e242 100644 --- a/generic/tkFrame.c +++ b/generic/tkFrame.c @@ -183,6 +183,10 @@ static const Tk_OptionSpec commonOptSpec[] = { {TK_OPTION_STRING, "-colormap", "colormap", "Colormap", DEF_FRAME_COLORMAP, -1, Tk_Offset(Frame, colormapName), TK_OPTION_NULL_OK, 0, 0}, + /* + * Having -container is useless in a labelframe since a container has + * no border. It should be deprecated. + */ {TK_OPTION_BOOLEAN, "-container", "container", "Container", DEF_FRAME_CONTAINER, -1, Tk_Offset(Frame, isContainer), 0, 0, 0}, {TK_OPTION_CURSOR, "-cursor", "cursor", "Cursor", |