pack configure

pack configure slave ?slave ...? ?options?

The arguments consist of the names of one or more slave windows followed by pairs of arguments that specify how to manage the slaves.


Move a widget to another parent window by changing -in

One may move a widget to another geometry manager or another parent widget by changing the option -in:

% pack [frame .f1 -borderwidth 10 -relief sunken] [frame .f2]
% entry .e
% pack .e -in .f1
% update
% pack configure .e -in .f2 ;# change parent frame
% update
% grid configure .e -in .f1 ;# change geometry manager and parent frame

See also: grid configure.


See also: