Mercurial > projects > dwt-win
comparison dwt/events/MenuDetectEvent.d @ 212:ab60f3309436
reverted the char[] to String and use the an alias.
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Mon, 05 May 2008 00:12:38 +0200 |
parents | bef1ed4ebc50 |
children | fd9c62a2998e |
comparison
equal
deleted
inserted
replaced
211:ff59aeb96cac | 212:ab60f3309436 |
---|---|
15 | 15 |
16 import dwt.widgets.Event; | 16 import dwt.widgets.Event; |
17 import dwt.events.TypedEvent; | 17 import dwt.events.TypedEvent; |
18 | 18 |
19 import tango.text.convert.Format; | 19 import tango.text.convert.Format; |
20 import dwt.dwthelper.utils; | |
21 | |
20 /** | 22 /** |
21 * Instances of this class are sent whenever the platform- | 23 * Instances of this class are sent whenever the platform- |
22 * specific trigger for showing a context menu is detected. | 24 * specific trigger for showing a context menu is detected. |
23 * | 25 * |
24 * @see MenuDetectListener | 26 * @see MenuDetectListener |
65 * Returns a string containing a concise, human-readable | 67 * Returns a string containing a concise, human-readable |
66 * description of the receiver. | 68 * description of the receiver. |
67 * | 69 * |
68 * @return a string representation of the event | 70 * @return a string representation of the event |
69 */ | 71 */ |
70 public override char[] toString() { | 72 public override String toString() { |
71 return Format( "{} x={} y={} doit={}}", super.toString[ 0 .. $-2 ], x, y, doit ); | 73 return Format( "{} x={} y={} doit={}}", super.toString[ 0 .. $-2 ], x, y, doit ); |
72 } | 74 } |
73 } | 75 } |