Hello stefbv,

Sorry to ask the following two questions on your four year old response. But from your home page on this site I realize that you were on this site about 3 hours ago. So here are the questions,

1. Where do I find what are all the fields that a Perl/Tk programmer can access from an XEvent object and what do they stand for? (Mastering Perl/Tk book by Oreilly Press doesn't give any details except Chapter 15 merely makes a mention of it when accessing 'K' and 'N' for keysym text and decimal). Also the Widget.pm has following

sub XEvent { shift->{'_XEvent_'} }
but I'm unable to go any further than this to access the pure tcl/tk code to understand the same.


2. In the selectionSet and selectionIncludes method you used the value:
'@' . $Ev->x . "," . $Ev->y
what does this @ and the full expression stand for. The perldoc for TableMatrix (and other widgets like TList decendants) has no such documention but your program works a like a charm


As I'm still trying to learn Perl and Perl/Tk I had to spend few hours trying to look around but to no avail. Therefore any information would be very useful. Many Thanks

In reply to Re^4: Perl Tk : show list box items in grid style by Anonymous Monk
in thread Perl Tk : show list box items in grid style by selva

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.