Yeah. Basicaly I need the internal movement. I just want to create a layer in the same canvas with rectangular shape which contains much more than the rectangle and then move the contents in the second layer. 1st the contents itself that has been masked and second- the whole layer - which consists of this rectangle masking. I agree about Zinc, I've seen the zooming glass. The idea is the following, I am trying to make a single canvas in which I want to have sort of a background pattern and then a second (may be canvas) layer that has image items which must be scrolled in pages (like a list). I don't think this can be acheived trough the ordinary canvas (Tk::Canvas) using only one canvas widget, that's why I am thinking that the best is to create a second widget and use ->place geometry manager to possition it relatively from the 0,0 of the background canvas... The problem that comes with this is that there is no way to make the background of the second canvas transparent so the user can see trought the top widget wherever there is no content - the bottom widget. I am not showing this in the flash sample... Anyway... Thanks a lot for the reply. I've been just wandering whether something like canvas in canvas can be acheived using the standard Tk canvas. :) Thanks again!!!

In reply to Re^4: Masking Tk Canvas by avo
in thread Masking Tk Canvas by avo

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.