Everyone,
This is a general tk question.  I have a scrollable canvas ($w) that I want
to automatically scroll when I drag an object farther than the viewable area
of the canvas.  I have the commands that tell the canvas to scroll (scan mark,
and scan drag to).  What I am missing is a command that tells me the
canvas coordinates of the window.  In other words, what are the y coordinates
of the top and bottom of the viewable canvas so i can see if the mouse is
greater than or less than this number so I can scroll the canvas.


-- 
Regards,
Mark

---------------------------------------------------------------------------
Mark Gillman                    | Internet:  [EMAIL PROTECTED]
Chrysalis Symbolic Design       | uunet:     ...!uunet!chrysalis!gillman
9430 Research Blvd.             | TEL:       (512) 343-3623
Echelon IV                      | FAX:       (512) 342-2270
Suite 400                       | PAGER:     (800) 580-6294
Austin, Texas 78759             |

Reply via email to