Show
Ignore:
Timestamp:
05/17/08 11:34:28 (8 months ago)
Author:
Frank Benoit <benoit@tionex.de>
branch:
default
Message:

Update to SWT 3.4M7

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • dwt/custom/SashForm.d

    r96 r213  
    112112    //checkWidget(); 
    113113    return (sashStyle & DWT.VERTICAL) !is 0 ? DWT.HORIZONTAL : DWT.VERTICAL; 
     114} 
     115/** 
     116 * Returns the width of the sashes when the controls in the SashForm are  
     117 * laid out. 
     118 *  
     119 * @return the width of the sashes 
     120 *  
     121 * @exception DWTException <ul> 
     122 *    <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li> 
     123 *    <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li> 
     124 * </ul> 
     125 *  
     126 * @since 3.4 
     127 */ 
     128public int getSashWidth() { 
     129    checkWidget(); 
     130    return SASH_WIDTH; 
    114131} 
    115132public override int getStyle() { 
     
    362379 
    363380/** 
     381 * Specify the width of the sashes when the controls in the SashForm are  
     382 * laid out. 
     383 *  
     384 * @param width the width of the sashes 
     385 *  
     386 * @exception DWTException <ul> 
     387 *    <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li> 
     388 *    <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li> 
     389 * </ul> 
     390 *  
     391 * @since 3.4 
     392 */ 
     393public void setSashWidth(int width) { 
     394    checkWidget(); 
     395    if (SASH_WIDTH is width) return; 
     396    SASH_WIDTH = width; 
     397    layout(false); 
     398} 
     399/** 
    364400 * Specify the relative weight of each child in the SashForm.  This will determine 
    365401 * what percent of the total width (if SashForm has Horizontal orientation) or