summaryrefslogtreecommitdiffstats
path: root/generic/tkFrame.c
diff options
context:
space:
mode:
authorpspjuth <peter.spjuth@gmail.com>2011-04-04 19:40:21 (GMT)
committerpspjuth <peter.spjuth@gmail.com>2011-04-04 19:40:21 (GMT)
commite36f9a40b4ead210742d7982b875a2810d998e26 (patch)
treead6c79725ba28c2253738259a18b9de2399834c6 /generic/tkFrame.c
parente901955cded1a22b11c1824b9b38c04f63405cd2 (diff)
downloadtk-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.c4
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",