Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^4: want way to drag tk window

by golux (Chaplain)
on Aug 06, 2017 at 00:35 UTC ( [id://1196832]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      my $newposition = $oldposition =~
        s/\+\K([-\d]+)\+([-\d]+)$/ ($1 + $deltax) . '+' . ($2 + $deltay) /
    +er;
    
  2. or download this
      $oldposition =~ /^(\d+)x(\d+)\+?([-\d]+)\+?([-\d]+)/;
      my ($newx, $newy) = ($3 + $deltax, $4 + $deltay);
      my $newposition = "${1}x${2}+${newx}+${newy}"
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (1)
As of 2024-04-25 04:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found