in reply to Re^3: Perl Tk : show list box items in grid style
in thread Perl Tk : show list box items in grid style

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

Replies are listed 'Best First'.
Re^5: Perl Tk : show list box items in grid style
by stefbv (Priest) on Aug 29, 2014 at 07:25 UTC