Paved::frameAdaptor - transforms an existing frame widget in a Paved-frame
package require Paved::frame
Paved::frameAdaptor pathName ?options?
Paved::frameAdaptor transforms an existing frame in a a Paved-frame.
Actually Paved::frame is built upon Paved::frameAdaptor, that is, the latter is the real widget, whilst Paved::frame simply creates a frame, then transforms it using Paved::frameAdaptor.
Once a frame has been transformed in a Paved-Frame, you can use all its options/sub-commands/bindings as if it were an original Paved::frame.
# creates a standard frame frame .f -bg red pack .f -expand true -fill both # enlarge the window wm geometry . 200x200 package require Paved::frame # suppose xyz.gif is in current directory # get the original frame .f and transform it in a paved-frame Paved::frameAdaptor .f -tile xyz.gif
See Paved-canvas bugs.