comparison dwt/browser/TitleEvent.d @ 346:2e591eb01162

Browser Package now compiles (phase 2 complete)
author John Reimer <terminal.node@gmail.com>
date Wed, 29 Oct 2008 20:06:08 -0700
parents 3f4a5c7d138f
children
comparison
equal deleted inserted replaced
345:5abc6f7f7a95 346:2e591eb01162
9 * IBM Corporation - initial API and implementation 9 * IBM Corporation - initial API and implementation
10 * Port to the D programming language: 10 * Port to the D programming language:
11 * John Reimer <terminal.node@gmail.com> 11 * John Reimer <terminal.node@gmail.com>
12 *******************************************************************************/ 12 *******************************************************************************/
13 module dwt.browser.TitleEvent; 13 module dwt.browser.TitleEvent;
14
15 import tango.text.convert.Format;
14 16
15 import dwt.dwthelper.utils; 17 import dwt.dwthelper.utils;
16 18
17 import dwt.events.TypedEvent; 19 import dwt.events.TypedEvent;
18 import dwt.widgets.Widget; 20 import dwt.widgets.Widget;
39 * description of the receiver. 41 * description of the receiver.
40 * 42 *
41 * @return a string representation of the event 43 * @return a string representation of the event
42 */ 44 */
43 public override String toString() { 45 public override String toString() {
44 return Format( "{} {text = {}}", 46 return Format( "{} {title = {}}",
45 super.toString[1 .. $-2], text ); 47 super.toString[1 .. $-2], title );
46 } 48 }
47 } 49 }