Re: gtkDcoding Blog Post for 2019-03-29 - Grid

2019-04-03 Thread Ron Tarrant via Digitalmars-d-learn
On Tuesday, 2 April 2019 at 18:27:10 UTC, Mike Wey wrote: While that would be true for things that live on the stack, this is not the case for RGBA. The C version of getRgba uses the "out" parameter so you can pass in a existing GdkRgba, even tough that would make it more like ref. This

Re: gtkDcoding Blog Post for 2019-03-29 - Grid

2019-04-02 Thread Mike Wey via Digitalmars-d-learn
On 02-04-2019 17:48, Ron Tarrant wrote: On Tuesday, 2 April 2019 at 14:13:09 UTC, number wrote: Can somebody explain why getRgba() (apparently inherited from ColorChooser) does take an out parameter instead of returning an Gdk.RGBA? My understanding is this: Returning an object (as opposed

Re: gtkDcoding Blog Post for 2019-03-29 - Grid

2019-04-02 Thread Ron Tarrant via Digitalmars-d-learn
On Tuesday, 2 April 2019 at 14:13:09 UTC, number wrote: Thank you! You're welcome. :) The function ignores its argument and always uses member variable button2 instead. Changing the parameter type to MyRadioButton and using 'button' instead of 'button2' in the body works, so you could pass

Re: gtkDcoding Blog Post for 2019-03-29 - Grid

2019-04-02 Thread number via Digitalmars-d-learn
On Tuesday, 2 April 2019 at 11:31:39 UTC, Ron Tarrant wrote: Today's the day for (yet) another blog post over on gtkDcoding.com and the subjects are: - the RadioButton, and - the ColorButton. You can find it here: http://gtkdcoding.com/2019/04/02/0023-radio-and-color-buttons.html Thank

Re: gtkDcoding Blog Post for 2019-03-29 - Grid

2019-04-02 Thread Ron Tarrant via Digitalmars-d-learn
Today's the day for (yet) another blog post over on gtkDcoding.com and the subjects are: - the RadioButton, and - the ColorButton. You can find it here: http://gtkdcoding.com/2019/04/02/0023-radio-and-color-buttons.html

Re: gtkDcoding Blog Post for 2019-03-29 - Grid

2019-03-30 Thread Ron Tarrant via Digitalmars-d-learn
On Saturday, 30 March 2019 at 10:19:15 UTC, number wrote: The first link in the blog post to '..the last blog post' links to the 0022 article itself, not to a previous one. Corrected. BTW, it compiles fine without 'import gtk.c.types', too. Main.d (and maybe others) contains a 'public

Re: gtkDcoding Blog Post for 2019-03-29 - Grid

2019-03-30 Thread number via Digitalmars-d-learn
On Friday, 29 March 2019 at 14:25:16 UTC, Ron Tarrant wrote: There's a new tutorial for using a GTK Grid. You can find it here: http://gtkdcoding.com/2019/03/29/0022-grids.html Thanks! The first link in the blog post to '..the last blog post' links to the 0022 article itself, not to a

Re: gtkDcoding Blog Post for 2019-03-29 - Grid

2019-03-29 Thread Ron Tarrant via Digitalmars-d-learn
On Friday, 29 March 2019 at 20:34:32 UTC, Michelle Long wrote: I really wish you would start taking screenshots! It is not hard! You still think this is about me not knowing how to take a screenshot? :) I guess you didn't read my reply to your last request.

Re: gtkDcoding Blog Post for 2019-03-29 - Grid

2019-03-29 Thread Ron Tarrant via Digitalmars-d-learn
On Friday, 29 March 2019 at 16:21:59 UTC, aberba wrote: Have shared gtkdcoding.com with some folks and they like it, keep it coming!! Cool. Thanks, aberba.

Re: gtkDcoding Blog Post for 2019-03-29 - Grid

2019-03-29 Thread Michelle Long via Digitalmars-d-learn
On Friday, 29 March 2019 at 14:25:16 UTC, Ron Tarrant wrote: I'm having trouble replying to the thread I usually use, so... There's a new tutorial for using a GTK Grid. You can find it here: http://gtkdcoding.com/2019/03/29/0022-grids.html I really wish you would start taking screenshots! It

Re: gtkDcoding Blog Post for 2019-03-29 - Grid

2019-03-29 Thread aberba via Digitalmars-d-learn
On Friday, 29 March 2019 at 14:25:16 UTC, Ron Tarrant wrote: I'm having trouble replying to the thread I usually use, so... There's a new tutorial for using a GTK Grid. You can find it here: http://gtkdcoding.com/2019/03/29/0022-grids.html Have shared gtkdcoding.com with some folks and they

gtkDcoding Blog Post for 2019-03-29 - Grid

2019-03-29 Thread Ron Tarrant via Digitalmars-d-learn
I'm having trouble replying to the thread I usually use, so... There's a new tutorial for using a GTK Grid. You can find it here: http://gtkdcoding.com/2019/03/29/0022-grids.html