DQuick a GUI Library (prototype)

Flamaros flamaros.xavier at gmail.com
Thu Aug 22 06:01:12 PDT 2013


On Thursday, 22 August 2013 at 11:39:29 UTC, Jacob Carlborg wrote:
> On 2013-08-22 11:28, Flamaros wrote:
>
>> something like :
>> function()
>>    return parent.width
>> end
>>
>> That the way of how works property binding.
>
> Can't you bind that to a named method in a controller, or 
> similar? Then you would store the name of the controller/class 
> and the name of the method.

That not always so simple.

With DQuick the D application is like a slave that contains data, 
and the GUI is free to display the data in many ways.
Property binding act like a part of the controller if we are 
talking about the MVC model.
Notice that if a data in the application side change, depending 
properties binding will be updated, so the GUI too.

At my office we port an application from iOS to Android, Windows 
and MacOSX. We actually rewrite the GUI for other platforms in 
QtQuick, which allow us to let the main code has it. We only add 
few wrappers because QtQuick support only Qt types for objects we 
need to bind in QML (javascript language used for GUI).


More information about the Digitalmars-d mailing list