Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

Re: A TableMatrix row selection question

by stefbv (Curate)
on Aug 29, 2014 at 07:37 UTC ( #1098952=note: print w/replies, xml ) Need Help??

in reply to A TableMatrix row selection question

As I'm still trying to learn Perl and Perl/Tk...

So do I :-)

1. The fields are from the event data structure of the x11 window system. From "The Xlib Manual", "Chapter 10: Events", 10.2 Event Structures:

typedef union _XEvent { int type; /* must not be changed */ XAnyEvent xany; XKeyEvent xkey; XButtonEvent xbutton; XMotionEvent xmotion; XCrossingEvent xcrossing; XFocusChangeEvent xfocus; XExposeEvent xexpose; XGraphicsExposeEvent xgraphicsexpose; XNoExposeEvent xnoexpose; XVisibilityEvent xvisibility; XCreateWindowEvent xcreatewindow; XDestroyWindowEvent xdestroywindow; XUnmapEvent xunmap; XMapEvent xmap; XMapRequestEvent xmaprequest; XReparentEvent xreparent; XConfigureEvent xconfigure; XGravityEvent xgravity; XResizeRequestEvent xresizerequest; XConfigureRequestEvent xconfigurerequest; XCirculateEvent xcirculate; XCirculateRequestEvent xcirculaterequest; XPropertyEvent xproperty; XSelectionClearEvent xselectionclear; XSelectionRequestEvent xselectionrequest; XSelectionEvent xselection; XColormapEvent xcolormap; XClientMessageEvent xclient; XMappingEvent xmapping; XErrorEvent xerror; XKeymapEvent xkeymap; long pad[24]; } XEvent;

2. $Ev->x and $Ev->y are the coordinates of the pointer, I don't know what does '@' stand for, the syntax is from the demos of the Tk::TableMatrix module.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1098952]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2021-10-18 08:14 GMT
Find Nodes?
    Voting Booth?
    My first memorable Perl project was:

    Results (73 votes). Check out past polls.