Paved::frameAdaptor - 1.1

transforms an existing frame widget in a Paved::frame

Table Of Contents

NAME

Paved::frameAdaptor - transforms an existing frame widget in a Paved-frame

SYNOPSIS

package require Paved::frame

Paved::frameAdaptor pathName ?options?

INTRODUCTION

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.

EXAMPLE

    # 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

BUGS

See Paved-canvas bugs.

HISTORY