Note: This website is archived. For up-to-date information about D projects and development, please visit wiki.dlang.org.

Changes between Version 17 and Version 18 of DiffToOriginal

Show
Ignore:
Author:
keinfarbton (IP: 84.161.73.153)
Timestamp:
09/16/08 13:35:41 (9 years ago)
Comment:

getData, setData

Legend:

Unmodified
Added
Removed
Modified
  • DiffToOriginal

    v17 v18  
    1414 
    1515[[BR]] 
     16 
     17== Widget getData, setData == 
     18 
     19All SWT widgets have the possibility to set and get a data values that are passed as Objects. DWT extends those for Strings explicitly and adds: 
     20 
     21{{{ 
     22#!d 
     23public void setDataStr( String value ); 
     24public void setDataStr( String key, String value ); 
     25public String getDataStr(); 
     26public String getDataStr( String value ); 
     27}}} 
    1628 
    1729== Strings passed as an argument can be null in DWT ==