Help for this page

Select Code to Download


  1. or download this
    # You can get the coordinates of the upper-left corner of a widget by 
    # using the x and y methods. 
    ...
    
    # for a mouse pointer
      my ($x, $y) = $mw->pointerxy;
    
  2. or download this
    #!/usr/bin/perl
    use warnings;
    ...