summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorpspjuth <peter.spjuth@gmail.com>2011-04-04 19:45:37 (GMT)
committerpspjuth <peter.spjuth@gmail.com>2011-04-04 19:45:37 (GMT)
commit32a8b8ab8d7299a282aba46fa3780e757df423ec (patch)
tree17aa2493c2c3c193e0cb5bbd6209077cefda9c5d /generic
parent890d36fd2065fa3e1fd8cadcfac6013dbc1e7b62 (diff)
parent257f68b64daa01121d80bf4bdf9bfdadd30f997d (diff)
downloadtk-32a8b8ab8d7299a282aba46fa3780e757df423ec.zip
tk-32a8b8ab8d7299a282aba46fa3780e757df423ec.tar.gz
tk-32a8b8ab8d7299a282aba46fa3780e757df423ec.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')
-rw-r--r--generic/tkFrame.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/generic/tkFrame.c b/generic/tkFrame.c
index e64ee29..e215029 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",