Paved::toplevelAdaptor - transforms an existing toplevel widget in a Paved-toplevel
package require Paved::toplevel
Paved::toplevelAdaptor pathName ?options?
Paved::toplevelAdaptor transforms an existing toplevel in a a Paved-toplevel.
Actually Paved::toplevel is built upon Paved::toplevelAdaptor, that is, the latter is the real widget, whilst Paved::toplevel simply creates a toplevel, then transforms it using Paved::toplevelAdaptor.
Once a toplevel has been transformed in a Paved-Toplevel, you can use all its options/sub-commands/bindings as if it were an original Paved::toplevel.
# creates a standard toplevel toplevel .z -bg red package require Paved::toplevel # suppose xyz.gif is in current directory # get the original toplevel .z and transform it in a paved-toplevel Paved::toplevelAdaptor .z -tile xyz.gif
See Paved-canvas bugs.