• ↖ Home
  • Developer´s Guide
    • ↑ Contents
    • Code
    • Embedding
    • Tcl
    • SVG
    • SVG-Import
    • Projects
    • License
    • Index
  • Download
    • Jeszra: Source Code

    • Ruby Wrapper Classes
    • Python Wrapper Classes
    • Lisp Wrapper Classes
  • Books@Lulu.com...
    • Jeszra: Design by Gestalt
    • Jeszra Library: Design by Gestalt

    • Gestalt Items
    • Runtime Library
  • Manual
    • Jeszra Book

    • Tcl Manual
    • Ruby Manual
    • Python Manual
    • Lisp Manual

    • API
  • About
instantiate
← Chapter 4. SVG- Code Generation →

Name

dumper::instantiate

Synopsis

          instantiate type \
             window ?comment?
        

Description

Instantiate a window using a SVG viewport. These window cannot be a toplevel window.

There are misalignments visible for stripes. Reason is unknown, suppose its an error in Tk.

Any window with a scroll able region must be filled off screen, too. This applies for canvas, pathcanvas, text, listbox and entry. Decoration, however, has to be drawn after the scrollregion.

See also »dumper::frame«.

Not every window class features readonly and disabled colors. These classes must fail; hence there will be no background for such classes. The procedure contains special code for the text and zinc windows to deal with this situation.

Clients

instantiate is being used by ::vgcode::dump-widget clients.

Example 4.36. ::vgcode::dump-widget using instantiate

...
set classname \
    [substitutep $classname]

debug stdout "Now the item is created from : $classname as $ta_name"
append output \
    [dumper::instantiate  $classname $ta_name  "converted from \
    [winfo class $target]"]
   



← ↖ →
radialGradient ↑ coordszinc
SourceForge Logo

Copyright © 2009–2010 Arndt Roger Schneider