Re: Blog Post #0099: A Special Request

2020-01-23 Thread Russel Winder via Digitalmars-d-learn
On Thu, 2020-01-23 at 15:12 +, Ron Tarrant via Digitalmars-d-learn wrote: > On Thursday, 23 January 2020 at 12:43:24 UTC, Antonio Corbi wrote: > > > Yes, it uses 'sed' to get 'constants.d' from 'constants.d.in' > > at configuration time. > > So you can write your own 'constants.d' with the ap

Re: Blog Post #0099: A Special Request

2020-01-23 Thread Ron Tarrant via Digitalmars-d-learn
On Thursday, 23 January 2020 at 12:43:24 UTC, Antonio Corbi wrote: Yes, it uses 'sed' to get 'constants.d' from 'constants.d.in' at configuration time. So you can write your own 'constants.d' with the appropiate values for UIDIR and DATADIR and delete/comment the the preBuildCommands in dub.

Re: Blog Post #0099: A Special Request

2020-01-23 Thread Ron Tarrant via Digitalmars-d-learn
On Thursday, 23 January 2020 at 14:10:37 UTC, Ferhat Kurtulmuş wrote: Actually I have just tried this with gtkd and working: button1.bindProperty("sensitive", entry1, "sensitive", GBindingFlags.DEFAULT); That's pretty cool, Ferhat. I'll add this to the todo list.

Re: Blog Post #0099: A Special Request

2020-01-23 Thread Ferhat Kurtulmuş via Digitalmars-d-learn
On Thursday, 23 January 2020 at 13:41:34 UTC, Ferhat Kurtulmuş wrote: On Thursday, 23 January 2020 at 12:32:57 UTC, Ron Tarrant wrote: [...] Yes, but what if you set sensitive properties of a bunch of the widgets in the same time. Each time you have to write and call setSensitive() for each

Re: Blog Post #0099: A Special Request

2020-01-23 Thread Ferhat Kurtulmuş via Digitalmars-d-learn
On Thursday, 23 January 2020 at 12:32:57 UTC, Ron Tarrant wrote: On Thursday, 23 January 2020 at 09:27:45 UTC, Ferhat Kurtulmuş wrote: I want this button disabled so that user cannot spawn another thread while the first one is on duty. This is actually the subject of an up-coming post which

Re: Blog Post #0099: A Special Request

2020-01-23 Thread Antonio Corbi via Digitalmars-d-learn
On Thursday, 23 January 2020 at 12:29:11 UTC, Ron Tarrant wrote: On Thursday, 23 January 2020 at 08:33:39 UTC, Antonio Corbi wrote: https://gitlab.com/amcorbi/dmaurerrose I think this is somewhat related to what te OP was asking for. I'm confused. I was the OP, so I'm not sure who you're r

Re: Blog Post #0099: A Special Request

2020-01-23 Thread Ron Tarrant via Digitalmars-d-learn
On Thursday, 23 January 2020 at 09:27:45 UTC, Ferhat Kurtulmuş wrote: I want this button disabled so that user cannot spawn another thread while the first one is on duty. This is actually the subject of an up-coming post which is scheduled to go live on Feb. 25, 2020. It uses setSensitive()

Re: Blog Post #0099: A Special Request

2020-01-23 Thread Ron Tarrant via Digitalmars-d-learn
On Thursday, 23 January 2020 at 08:33:39 UTC, Antonio Corbi wrote: https://gitlab.com/amcorbi/dmaurerrose I think this is somewhat related to what te OP was asking for. I'm confused. I was the OP, so I'm not sure who you're referring to. Assuming you are on GNU/Linux, a simple 'dub run' is

Re: Blog Post #0099: A Special Request

2020-01-23 Thread Ron Tarrant via Digitalmars-d-learn
On Thursday, 23 January 2020 at 08:33:39 UTC, Antonio Corbi wrote: https://gitlab.com/amcorbi/dmaurerrose I think this is somewhat related to what te OP was asking for. I'm confused. I was the OP, so I'm not sure who you're referring to. Assuming you are on GNU/Linux, a simple 'dub run' is

Re: Blog Post #0099: A Special Request

2020-01-23 Thread Ferhat Kurtulmuş via Digitalmars-d-learn
On Wednesday, 22 January 2020 at 21:26:40 UTC, Ron Tarrant wrote: On Wednesday, 22 January 2020 at 09:18:51 UTC, Ferhat Kurtulmuş wrote: Another useful tutorial would be something using bindProperty and/or bindPropertyWithClosures. Once I used bindProperty with vala, but I think there is no a

Re: Blog Post #0099: A Special Request

2020-01-23 Thread Antonio Corbi via Digitalmars-d-learn
On Wednesday, 22 January 2020 at 21:22:57 UTC, Ron Tarrant wrote: On Tuesday, 21 January 2020 at 22:12:10 UTC, Antonio Corbi wrote: On Tuesday, 21 January 2020 at 22:06:30 UTC, Ron Tarrant wrote: Do you still have the Maurer Rose example? I had to look this up. I'd never heard of it before.

Re: Blog Post #0099: A Special Request

2020-01-22 Thread Ron Tarrant via Digitalmars-d-learn
On Wednesday, 22 January 2020 at 15:29:44 UTC, Jan Hönig wrote: Yes something in that manner. I am not familiar with GTK, i have done a few things in QT. I am mainly interested in the information passing. When i make some change to the input || hit enter || hit the button, the scene will change

Re: Blog Post #0099: A Special Request

2020-01-22 Thread Ron Tarrant via Digitalmars-d-learn
On Wednesday, 22 January 2020 at 09:18:51 UTC, Ferhat Kurtulmuş wrote: Another useful tutorial would be something using bindProperty and/or bindPropertyWithClosures. Once I used bindProperty with vala, but I think there is no any example to do it with gtkd. I found a bindProperty() function

Re: Blog Post #0099: A Special Request

2020-01-22 Thread Ron Tarrant via Digitalmars-d-learn
On Tuesday, 21 January 2020 at 22:12:10 UTC, Antonio Corbi wrote: On Tuesday, 21 January 2020 at 22:06:30 UTC, Ron Tarrant wrote: Do you still have the Maurer Rose example? I had to look this up. I'd never heard of it before. That being said... Do you think it could fit this kind of exam

Re: Blog Post #0099: A Special Request

2020-01-22 Thread Jan Hönig via Digitalmars-d-learn
On Tuesday, 21 January 2020 at 22:06:30 UTC, Ron Tarrant wrote: On Tuesday, 21 January 2020 at 18:57:47 UTC, Jan Hönig wrote: I would also like to request a future blog post about animation. I know you have done that in the past, but i am thinking of some animation triggered by user input (say

Re: Blog Post #0099: A Special Request

2020-01-22 Thread Ferhat Kurtulmuş via Digitalmars-d-learn
On Tuesday, 21 January 2020 at 14:02:59 UTC, Ron Tarrant wrote: Today's post was requested by Joel Christensen, how to have one button affect another. You can find it here: https://gtkdcoding.com/2020/01/21/0099-sfx-button-interactions-i-text-labels.html Another useful tutorial would be someth

Re: Blog Post #0099: A Special Request

2020-01-21 Thread Antonio Corbi via Digitalmars-d-learn
On Tuesday, 21 January 2020 at 22:06:30 UTC, Ron Tarrant wrote: On Tuesday, 21 January 2020 at 18:57:47 UTC, Jan Hönig wrote: I would also like to request a future blog post about animation. I know you have done that in the past, but i am thinking of some animation triggered by user input (say

Re: Blog Post #0099: A Special Request

2020-01-21 Thread Ron Tarrant via Digitalmars-d-learn
On Tuesday, 21 January 2020 at 18:57:47 UTC, Jan Hönig wrote: I would also like to request a future blog post about animation. I know you have done that in the past, but i am thinking of some animation triggered by user input (say a button, or some text field, which provides parameters for a c

Re: Blog Post #0099: A Special Request

2020-01-21 Thread Ron Tarrant via Digitalmars-d-learn
On Tuesday, 21 January 2020 at 18:57:47 UTC, Jan Hönig wrote: Hi Ron. Your blog is great. I have saved it for the future. (I know it from reddit). Glad you like it. I would also like to request a future blog post about animation. I know you have done that in the past, but i am thinking of som

Re: Blog Post #0099: A Special Request

2020-01-21 Thread Jan Hönig via Digitalmars-d-learn
On Tuesday, 21 January 2020 at 14:02:59 UTC, Ron Tarrant wrote: Today's post was requested by Joel Christensen, how to have one button affect another. You can find it here: https://gtkdcoding.com/2020/01/21/0099-sfx-button-interactions-i-text-labels.html Hi Ron. Your blog is great. I have save

Blog Post #0099: A Special Request

2020-01-21 Thread Ron Tarrant via Digitalmars-d-learn
Today's post was requested by Joel Christensen, how to have one button affect another. You can find it here: https://gtkdcoding.com/2020/01/21/0099-sfx-button-interactions-i-text-labels.html