www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - gtkDcoding Blog Post #0007 Now Live

reply Ron Tarrant <rontarrant gmail.com> writes:
I forgot to do this yesterday (the announcement, not the post) so 
I'm doing it now. It's not so much about pressing buttons as it 
is releasing them (which conjures images of a catch-n-release 
mouse trap, but that's another story).
Feb 06 2019
next sibling parent reply WebFreak001 <d.forum webfreak.org> writes:
On Wednesday, 6 February 2019 at 13:28:14 UTC, Ron Tarrant wrote:
 I forgot to do this yesterday (the announcement, not the post) 
 so I'm doing it now. It's not so much about pressing buttons as 
 it is releasing them (which conjures images of a 
 catch-n-release mouse trap, but that's another story).
the link would have been nice :) http://gtkdcoding.com/2019/02/05/0007-button_release.html
Feb 06 2019
parent Ron Tarrant <rontarrant gmail.com> writes:
On Wednesday, 6 February 2019 at 16:12:25 UTC, WebFreak001 wrote:

 the link would have been nice :)

 http://gtkdcoding.com/2019/02/05/0007-button_release.html
<smirk> Senior moment. And I'm so young, too. (sigh)
Feb 08 2019
prev sibling next sibling parent reply Antonio Corbi <antonio ggmail.com> writes:
On Wednesday, 6 February 2019 at 13:28:14 UTC, Ron Tarrant wrote:
 I forgot to do this yesterday (the announcement, not the post) 
 so I'm doing it now. It's not so much about pressing buttons as 
 it is releasing them (which conjures images of a 
 catch-n-release mouse trap, but that's another story).
Hi Ron, Probably you know this yet but in case you don't here it goes. The gnome project maintains a 'How Do I do this...' page, it's almost gtk and C related but (thank's to the wonderful binding from Mike Wey) the 'mental mapping' from C->D + gtk->gtkd is very straightforward: https://wiki.gnome.org/HowDoI/ Antonio.
Feb 06 2019
parent reply Ron Tarrant <rontarrant gmail.com> writes:
On Wednesday, 6 February 2019 at 19:09:57 UTC, Antonio Corbi 
wrote:

 The gnome project maintains a 'How Do I do this...' page, it's 
 almost gtk and C related but (thank's to the wonderful binding 
 from Mike Wey) the 'mental mapping' from C->D + gtk->gtkd is 
 very straightforward:

 https://wiki.gnome.org/HowDoI/

 Antonio.
I seem to remember reading somewhere that it's gone out of vogue to thank people in forums. I get it; it adds noise to threads, but I still think it's the polite thing to do. So, thanks, Antonio. However, if this is now frowned upon on this forum, please let me know and I'll stop thanking people. Thank you for listening.... I mean: oh crap. I did it again. (sigh)
Feb 08 2019
next sibling parent rikki cattermole <rikki cattermole.co.nz> writes:
On 08/02/2019 11:28 PM, Ron Tarrant wrote:
 I seem to remember reading somewhere that it's gone out of vogue to 
 thank people in forums. I get it; it adds noise to threads, but I still 
 think it's the polite thing to do.
If you want to do it, go for it!
Feb 08 2019
prev sibling parent Antonio Corbi <antonio ggmail.com> writes:
On Friday, 8 February 2019 at 10:28:36 UTC, Ron Tarrant wrote:
 On Wednesday, 6 February 2019 at 19:09:57 UTC, Antonio Corbi 
 wrote:

 The gnome project maintains a 'How Do I do this...' page, it's 
 almost gtk and C related but (thank's to the wonderful binding 
 from Mike Wey) the 'mental mapping' from C->D + gtk->gtkd is 
 very straightforward:

 https://wiki.gnome.org/HowDoI/

 Antonio.
I seem to remember reading somewhere that it's gone out of vogue to thank people in forums. I get it; it adds noise to threads, but I still think it's the polite thing to do. So, thanks, Antonio.
You are welcome, Ron ;)
 However, if this is now frowned upon on this forum, please let 
 me know and I'll stop thanking people.

 Thank you for listening.... I mean: oh crap. I did it again. 
 (sigh)
Feb 08 2019
prev sibling next sibling parent reply number <putimalitze gmx.de> writes:
On Wednesday, 6 February 2019 at 13:28:14 UTC, Ron Tarrant wrote:
 I forgot to do this yesterday (the announcement, not the post) 
 so I'm doing it now. It's not so much about pressing buttons as 
 it is releasing them (which conjures images of a 
 catch-n-release mouse trap, but that's another story).
Thanks! Little typo at '* returns on value,'? should be 'no value' i guess?
Mar 21 2019
parent number <putimalitze gmx.de> writes:
On Thursday, 21 March 2019 at 14:18:56 UTC, number wrote:
 Little typo at '* returns on value,'? should be 'no value' i 
 guess?
I'm referring to 0006
Mar 21 2019
prev sibling parent reply number <putimalitze gmx.de> writes:
On Wednesday, 6 February 2019 at 13:28:14 UTC, Ron Tarrant wrote:
 I forgot to do this yesterday (the announcement, not the post) 
 so I'm doing it now. It's not so much about pressing buttons as 
 it is releasing them (which conjures images of a 
 catch-n-release mouse trap, but that's another story).
In 0007 the 'myTestRig.showAll()' is still in main() in the github code as opposed to the explanation in the blog post that is has moved to the window class.
Mar 21 2019
parent reply number <putimalitze gmx.de> writes:
The 0007 github code doesn't compile.

button_002_05_release.d(40): Error: undefined identifier 
buttonCaption

buttonCaption is now defined (and unused) in the button class but 
still used in the window class and the button constructor still 
uses the label argument.
Mar 21 2019
next sibling parent Ron Tarrant <rontarrant gmail.com> writes:
On Thursday, 21 March 2019 at 15:59:29 UTC, number wrote:
 The 0007 github code doesn't compile.

 button_002_05_release.d(40): Error: undefined identifier 
 buttonCaption

 buttonCaption is now defined (and unused) in the button class 
 but still used in the window class and the button constructor 
 still uses the label argument.
Wow! I thought I was being sooooooo careful. Thank you once again for catching all these errors, mistakes, typos, and outright faux pas.
Mar 22 2019
prev sibling parent Ron Tarrant <rontarrant gmail.com> writes:
On Thursday, 21 March 2019 at 15:59:29 UTC, number wrote:
 The 0007 github code doesn't compile.

 button_002_05_release.d(40): Error: undefined identifier 
 buttonCaption

 buttonCaption is now defined (and unused) in the button class 
 but still used in the window class and the button constructor 
 still uses the label argument.
I forgot to say, these have all been corrected.
Mar 22 2019