Copyright © 2008, 2009 Arndt Roger Schneider
Accepts a window pathName. This window will be contained.
The assigned window should be a child to the container window.
Modifies the contained window expanding behavior. the window may expand / shrink in x or y direction
Note no scrollbar is needed in this direction!
Example A.1. Rtl_scrollwin -fill
rtl_scrollwin .scrollwin \ -widget .scrollwin.child \ -fill x # Create a child window: frame .scrollwin.child -width 248 \ -height 2048
»adapt« is auto called by »-fill«
A Window created through the rtl_scrollwin command exposes various functions. Using these functions has the following general form:
pathName option ?arg arg ...?
PathName is the same as the window path name. Option and the args determine the exact behavior of the command. The following commands are possible for this window:
Returns the current value of the configuration option given by option. Option may have any of the values accepted by the rtl_scrollwin command.
Query or modify the configuration options of the window. If no option is specified, returns a list describing all of the available options for pathName (see Tk_ConfigureInfo for information on the format of this list). If option is specified with no value, then the command returns a list describing the one named option (this list will be identical to the corresponding sublist of the value returned if no option is specified). If one or more option-value pairs are specified, then the command modifies the given window option(s) to have the given value(s); in this case the command returns an empty string. Option may have any of the values accepted by the rtl_scrollwin command.
Remove current managed widget (this method is called by set-widget and should not recall it.
Delay the given command »type«. Revision : 02/09/2009, Roger