diff options
author | pspjuth <pspjuth@noemail.net> | 2011-04-04 19:40:21 (GMT) |
---|---|---|
committer | pspjuth <pspjuth@noemail.net> | 2011-04-04 19:40:21 (GMT) |
commit | 8037ffebd1a0b99f4020c4c7292a833f59610f0a (patch) | |
tree | ad6c79725ba28c2253738259a18b9de2399834c6 /generic | |
parent | e0127162626969399ab315190a8cfcba049d0e8a (diff) | |
download | tk-8037ffebd1a0b99f4020c4c7292a833f59610f0a.zip tk-8037ffebd1a0b99f4020c4c7292a833f59610f0a.tar.gz tk-8037ffebd1a0b99f4020c4c7292a833f59610f0a.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.
FossilOrigin-Name: 7b107e6e44f28f9a3ca3997ac26609aa65aeb934
Diffstat (limited to 'generic')
-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", |