I want to know how to resize the widgets accordingly when the window is
resized by dragging the corner of window with mouse.
Please let us know the way in which this can be achieved
--Bestregards
--Anil and Chandra
Look the pack command in the man. When you pack your widget inside the
window, specify the "-fill x/y/both -expand yes" options.
Hope that helps.
Regards.
> I want to know how to resize the widgets accordingly when the window is
> resized by dragging the corner of window with mouse.
Look the grid command in the man. When you grid your widget inside the
window, do "-sticky nsew", and afterwards do "grid columnconfigure <num>
-weight 1" and "rowconfigure -weight 1". It is more verbose than with
pack, but it can do more things.
--
Donald Arseneau as...@triumf.ca
I wholeheartedly disagree :-)
I hate "news" because it reads like a language keyword, rather than
a collection of four compass directions. When reciting compass
directions, I, and most others, use the order north-south-east-west.
--
Donald Arseneau as...@triumf.ca
> > In "-sticky nsew", the "nsew" part indicates the compass directions
> > north, south, east, west. The order doesn't matter, and I like "news"
> > best, for typing and reading :)
> I wholeheartedly disagree :-)
> I hate "news" because it reads like a language keyword, rather than
> a collection of four compass directions. When reciting compass
> directions, I, and most others, use the order north-south-east-west.
I agree with your disagreement. "sticky -news" doesn't flow, and makes
one wonder what "news" is as a keyword.
On the other hand, "sticky -ew" seems strangely appropriate for
precisely the same reason that -news does not. :-)
--
MKS
> Donald Arseneau wrote:
>> "suchenwi" writes:
>
>>> In "-sticky nsew", the "nsew" part indicates the compass directions
>>> north, south, east, west. The order doesn't matter, and I like "news"
>>> best, for typing and reading :)
>
>> I wholeheartedly disagree :-)
>
>> I hate "news" because it reads like a language keyword, rather than a
>> collection of four compass directions. When reciting compass
>> directions, I, and most others, use the order north-south-east-west.
>
> I agree with your disagreement. "sticky -news" doesn't flow, and makes
> one wonder what "news" is as a keyword.
I disagree with both of your disagreements, {news} is easy to remember and
as a dashless parameter one shouldn't read it as one with a dash. You must
have an inner turmoil for sudden changes, "No news is good news"? :)
Besides, it truly is best for typing and reading. Try it. And amusing. Why
source shouldn't be amusing? Go read some pictureless tabloid!
PSPad doesn't allow me to colorify '-' in prefix mode in blue. Hate it.
And that left-side do-nothing-if-I-click-you border. Duh!
> On the other hand, "sticky -ew" seems strangely appropriate for
> precisely the same reason that -news does not. :-)
You have never been an idle MUD cleric, have you? "ew EW EW EEEWWW!" :P
--
-Kaitzschu
s="TCL ";while true;do echo -en "\r$s";s=${s:1:${#s}}${s:0:1};sleep .1;done
Repetition doesn't matter, either, and I like poetry:
grid .foo -sticky [join "we sense wee ewes new sewn"]