Parent Directory | Revision Log | Patch
revision 1.3 by rao, Mon Mar 20 04:14:14 2000 UTC | revision 1.4 by jewel, Sat Aug 11 16:27:01 2001 UTC | |
---|---|---|
# | Line 39 public class GtkPopupMenuPeer extends Gt | Line 39 public class GtkPopupMenuPeer extends Gt |
39 | } | } |
40 | ||
41 | native void show (int x, int y, long time); | native void show (int x, int y, long time); |
42 | public void show (Event e) | public void show (Component origin, int x, int y) |
43 | { | { |
44 | Point abs = ((Component)e.target).getLocationOnScreen (); | Point abs = origin.getLocationOnScreen (); |
45 | show (abs.x + e.x, abs.y + e.y, e.when); | show (abs.x + x, abs.y + y, 0); |
46 | } | } |
47 | } | } |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |