May 21, 2014 Re: DGui is alive | ||||
---|---|---|---|---|
| ||||
Posted in reply to Denis Shelomovskij | On Wednesday, 21 May 2014 at 08:25:20 UTC, Denis Shelomovskij wrote:
> 20.05.2014 22:46, Suliman пишет:
>>> DGui need some other controls,such as
>>> imageButton,DataView,GridView....e.t.c.
>>>
>>> Thank you.
>>>
>>> Frank
>>
>> Yes, I very need imageButton. Is there any chance that they will be
>> developed in nearest time?
>
> No, not in near future. General usage of buttons with images is a `ToolBar` so there is a `ToolButton` with image. As for other controls, e.g. a regular `Button`, one can draw everything in `paint` event.
>
>>
>> I need example how to draw line (small Paint) with this lib. Does DGUI
>> can do it? If not I would need to look for alternative...
>
> Here is an example of button with image and lines drawn on it:
> https://gist.github.com/denis-sh/56e2104dba7d9793f68d
It would be nice to include such example to the Other examples and also Provide a small build script. Kind regards andre
|
May 24, 2014 Re: DGui is alive | ||||
---|---|---|---|---|
| ||||
Posted in reply to FrankLike | 20.05.2014 17:46, FrankLike пишет: > DGui need some other controls,such as > imageButton,DataView,GridView....e.t.c. There is no plan to add new controls and I don't see any lacking ones. One can use `paint` event to draw image on button and there is `GridPanel` (with usage example `grid.d`) so I don't understand why `GridView` is needed and what is its purpose. Also I don't know what is `DataView` for. -- Денис В. Шеломовский Denis V. Shelomovskij |
May 25, 2014 Re: DGui is alive | ||||
---|---|---|---|---|
| ||||
Posted in reply to Denis Shelomovskij |
> There is no plan to add new controls and I don't see any lacking ones.
I test it again,found DGui is the very cool,Memory Usage the
least ,2.2M,very cool.,but must use the 'this',if I known some controls,not want use the 'this',then don't compile.
Thank you.
Frank
|
May 25, 2014 Re: DGui is alive | ||||
---|---|---|---|---|
| ||||
Posted in reply to Denis Shelomovskij |
> There is no plan to add new controls and I don't see any lacking ones.
I test it again,found DGui is the very cool,Memory Usage the
least ,2.2M,very cool.,but must use the 'this',if I known some controls,not want use the 'this',then don't compile.
But for DFL ,it's not be must.
Thank you.
Frank
|
May 26, 2014 Re: DGui is alive | ||||
---|---|---|---|---|
| ||||
Posted in reply to Denis Shelomovskij | On Saturday, 24 May 2014 at 07:20:49 UTC, Denis Shelomovskij wrote: > One can use `paint` event to draw image on button and there is `GridPanel` (with usage example `grid.d`) so I don't understand why `GridView` is needed and what is its purpose. Also I don't know what is `DataView` for. Haha, well, when people talk about GridView, they mean something like this: https://www.devexpress.com/Products/NET/Controls/WinForms/Grid/ |
May 26, 2014 Re: DGui is alive | ||||
---|---|---|---|---|
| ||||
Posted in reply to Denis Shelomovskij | On Saturday, 24 May 2014 at 07:20:49 UTC, Denis Shelomovskij wrote: > 20.05.2014 17:46, FrankLike пишет: >> DGui need some other controls,such as >> imageButton,DataView,GridView....e.t.c. > > There is no plan to add new controls and I don't see any lacking ones. > > One can use `paint` event to draw image on button and there is `GridPanel` (with usage example `grid.d`) so I don't understand why `GridView` is needed and what is its purpose. Also I don't know what is `DataView` for. DGui is really fantastic, it is easy to use and without a big overhead. What I experienced, developers coming from other frameworks might miss a horizontal/vertical layout. This would be much easier than using a grid for this purpose. Also some more examples could boost the popularity of DGui. Especially, how can I create create my own controls? What would be really nice for business developer would be a specific Stringgrid control (like delphi/lazarus has). Here an example http://i.stack.imgur.com/FJFiN.gif Do you accept pull requests if developers provide you new stuff for DGui? Kind regards André |
May 30, 2014 Re: DGui is alive | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andre | 26.05.2014 23:08, Andre пишет: > On Saturday, 24 May 2014 at 07:20:49 UTC, Denis Shelomovskij > wrote: >> 20.05.2014 17:46, FrankLike пишет: >>> DGui need some other controls,such as >>> imageButton,DataView,GridView....e.t.c. >> >> There is no plan to add new controls and I don't see any lacking ones. >> >> One can use `paint` event to draw image on button and there is >> `GridPanel` (with usage example `grid.d`) so I don't understand why >> `GridView` is needed and what is its purpose. Also I don't know what >> is `DataView` for. > > DGui is really fantastic, it is easy to use and without a big > overhead. What I experienced, developers coming from other > frameworks might miss a horizontal/vertical layout. This would be > much easier than using a grid for this purpose. Also some more > examples could boost the popularity of DGui. Especially, how can > I create create my own controls? Horizontal/vertical layout can be achieved using `Control.dock` property. I will think about examples and documentation improvements. > > What would be really nice for business developer would be a > specific Stringgrid control (like delphi/lazarus has). Here an > example http://i.stack.imgur.com/FJFiN.gif Use `ListView` and `TreeView` classes. > > Do you accept pull requests if developers provide you new stuff > for DGui? Yes, but I strongly recommend to contact me first to plan and synchronize activities to prevent useless time wasting. -- Денис В. Шеломовский Denis V. Shelomovskij |
June 02, 2014 Re: DGui is alive | ||||
---|---|---|---|---|
| ||||
Posted in reply to Denis Shelomovskij | DGui is very cool,but need some other controls,such as Calendar,DateTimePicker....e.t.c,but which control can be the 'data source',for saving data when runing,for filter data? Thank you. Frank |
June 02, 2014 Re: DGui is alive | ||||
---|---|---|---|---|
| ||||
Posted in reply to Denis Shelomovskij | this._gridPanel.scrollBars =true; I find it not work. And it not set the 'Data Source',should add it. Thank you. |
June 02, 2014 Re: DGui is alive | ||||
---|---|---|---|---|
| ||||
Posted in reply to FrankLike | On Monday, 2 June 2014 at 09:06:57 UTC, FrankLike wrote: > this._gridPanel.scrollBars =true; > I find it not work. > And it not set the 'Data Source',should add it. > > Thank you. If you have an issue to report for DGui, or feature request, you should do so here: https://bitbucket.org/dgui/dgui/issues It might get missed by DGui devs posting it here. |
Copyright © 1999-2021 by the D Language Foundation