Canvas popup menus in suntools

d. majumder mephdbo%prism at gatech.edu
Sat Aug 5 11:14:49 AEST 1989


I had a question about using popup menus while processing button events
for a canvas. I have to popup certain menus when buttons are clicked on
certain locations of canvas.  Now I have scrollbars with the canvas. If
the canvas is unscrolled then menu pops up right where the mouse button is
pressed. But if the canvas has been scolled away from zero position then
the menu pops at weird places, like one corner of the entire screen. Any
idea about how to prevent that. Is there any MENU_ attributes to
explicitly specify the menu's location. 

ThankYou

deeptendu



More information about the Comp.sys.sun mailing list