DFL is the best UIcontrols for D,compare it to dwt, tkd,dtk,dlangui,anchovy......

FrankLike via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue May 13 15:38:46 PDT 2014


On Tuesday, 13 May 2014 at 19:02:03 UTC, Jacob Carlborg wrote:
> On 2014-05-13 12:14, FrankLike wrote:
>
>> Look at the   Button class in DWT.
>> In Linux ,button class need 844 lines,but in win32 ,button 
>> class need
>> >1300 lines.
>> Look at the setText Method in button class.
>>  There is a great difference between in Linux and in Win32.
>>
>> public void setText (String string) {}
>>
>> But if the same thing in DFL, the codes will be less. Because 
>> in Win32
>> ,DFL only need 270~280 lines for button class.
>
> If you look at the code you can see that DWT supports buttons 
> with text and images, which DFL doesn't. What I'm saying is 
> that DWT does more than DFL, supports more features.

|t  is easy to support by modifing the  baseButton  for DFL,or 
add anew imageButton.


More information about the Digitalmars-d-learn mailing list