Changeset 238:380bad9f6852 for dwt/widgets/Control.d
- Timestamp:
- 05/04/08 18:42:55 (4 years ago)
- Files:
-
- dwt/widgets/Control.d (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
dwt/widgets/Control.d
r158 r238 12 12 *******************************************************************************/ 13 13 module dwt.widgets.Control; 14 15 import dwt.dwthelper.utils; 14 16 15 17 … … 95 97 Image backgroundImage; 96 98 Font font; 97 char[]toolTipText;99 String toolTipText; 98 100 Object layoutData; 99 101 Accessible accessible; … … 2312 2314 * </ul> 2313 2315 */ 2314 public char[]getToolTipText () {2316 public String getToolTipText () { 2315 2317 checkWidget(); 2316 2318 return toolTipText; … … 3197 3199 auto ptr = OS.gtk_rc_style_get_bg_pixmap_name (style, index); 3198 3200 if (ptr !is null) OS.g_free (ptr); 3199 char[]name = color is null ? "<parent>" : "<none>" ;3201 String name = color is null ? "<parent>" : "<none>" ; 3200 3202 ptr = cast(char*)OS.g_malloc (name.length+1); 3201 3203 ptr[ 0 .. name.length ] = name; … … 3715 3717 * </ul> 3716 3718 */ 3717 public void setToolTipText ( char[]str) {3719 public void setToolTipText (String str) { 3718 3720 checkWidget(); 3719 3721 setToolTipText (_getShell (), str); … … 3721 3723 } 3722 3724 3723 void setToolTipText (Shell shell, char[]newString) {3725 void setToolTipText (Shell shell, String newString) { 3724 3726 shell.setToolTipText (eventHandle (), newString); 3725 3727 }
