Re: GtkD 3.1.0 released, GTK+ with D.
Broadly speaking, how much work is involved in converting an app using GtkD 2.4? Thanks Steve Judging form the demos, the needed changes are minimal. OK, I'm now in a position to confirm that view. I've reworked my COMPO app to work with GTK+3, and it was pretty straightforward ;=)
Re: GtkD 3.1.0 released, GTK+ with D.
On 04/19/2015 02:07 PM, Steve Teale wrote: On Thursday, 26 March 2015 at 22:41:01 UTC, Mike Wey wrote: GtkD is a D binding and OO wrapper of Gtk+ and is released on the LGPL license. Shortly after the last release, GtkD has been updated for GTK+ 3.16. GtkD 3.1.0 is now available on gtkd.org: http://gtkd.org/download.html Mike, Broadly speaking, how much work is involved in converting an app using GtkD 2.4? Thanks Steve Judging form the demos, the needed changes are minimal. -- Mike Wey
Re: GtkD 3.1.0 released, GTK+ with D.
On Thursday, 26 March 2015 at 22:41:01 UTC, Mike Wey wrote: GtkD is a D binding and OO wrapper of Gtk+ and is released on the LGPL license. Shortly after the last release, GtkD has been updated for GTK+ 3.16. GtkD 3.1.0 is now available on gtkd.org: http://gtkd.org/download.html Mike, Broadly speaking, how much work is involved in converting an app using GtkD 2.4? Thanks Steve
Re: GtkD 3.1.0 released, GTK+ with D.
On Friday, 10 April 2015 at 21:54:55 UTC, Mike Wey wrote: On 04/10/2015 11:34 PM, Mike Wey wrote: On 04/10/2015 12:54 PM, stewarth wrote: On Thursday, 26 March 2015 at 22:41:01 UTC, Mike Wey wrote: GtkD is a D binding and OO wrapper of Gtk+ and is released on the LGPL license. Shortly after the last release, GtkD has been updated for GTK+ 3.16. GtkD 3.1.0 is now available on gtkd.org: http://gtkd.org/download.html Hi, I tried posting on the GtkD forum but it crashed when I hit post :P I've just upgraded to GtkD 3.1.1 (not 3.1.0). I now get a compiler error because the setState method in the gtk.Button class is not there anymore. Is this a bug or was it removed on purpose? Thanks, Stew That is a bug. Further investigation shows it was intentional, because of conflicts with other functions, use setStateFlags. Forum should be fixed now. Perfect, all fixed :-) Thank you very much for the help, and GtkD. Cheers, Stew
Re: GtkD 3.1.0 released, GTK+ with D.
On 04/10/2015 11:34 PM, Mike Wey wrote: On 04/10/2015 12:54 PM, stewarth wrote: On Thursday, 26 March 2015 at 22:41:01 UTC, Mike Wey wrote: GtkD is a D binding and OO wrapper of Gtk+ and is released on the LGPL license. Shortly after the last release, GtkD has been updated for GTK+ 3.16. GtkD 3.1.0 is now available on gtkd.org: http://gtkd.org/download.html Hi, I tried posting on the GtkD forum but it crashed when I hit post :P I've just upgraded to GtkD 3.1.1 (not 3.1.0). I now get a compiler error because the setState method in the gtk.Button class is not there anymore. Is this a bug or was it removed on purpose? Thanks, Stew That is a bug. Further investigation shows it was intentional, because of conflicts with other functions, use setStateFlags. Forum should be fixed now. -- Mike Wey
Re: GtkD 3.1.0 released, GTK+ with D.
On 04/10/2015 12:54 PM, stewarth wrote: On Thursday, 26 March 2015 at 22:41:01 UTC, Mike Wey wrote: GtkD is a D binding and OO wrapper of Gtk+ and is released on the LGPL license. Shortly after the last release, GtkD has been updated for GTK+ 3.16. GtkD 3.1.0 is now available on gtkd.org: http://gtkd.org/download.html Hi, I tried posting on the GtkD forum but it crashed when I hit post :P I've just upgraded to GtkD 3.1.1 (not 3.1.0). I now get a compiler error because the setState method in the gtk.Button class is not there anymore. Is this a bug or was it removed on purpose? Thanks, Stew That is a bug. Forum should be fixed now. -- Mike Wey
Re: GtkD 3.1.0 released, GTK+ with D.
On 03/28/2015 08:31 PM, captaindet wrote: On 2015-03-27 16:47, Mike Wey wrote: On 03/27/2015 10:27 PM, captaindet wrote: On 2015-03-26 17:41, Mike Wey wrote: GtkD is a D binding and OO wrapper of Gtk+ and is released on the LGPL license. Shortly after the last release, GtkD has been updated for GTK+ 3.16. GtkD 3.1.0 is now available on gtkd.org: http://gtkd.org/download.html great news - thanks for your efforts! there is a name conflict though. folder \srcgstreamer\gstreamer\ contains GStreamer.d and gstreamer.d this is not supported on windows machines i don't think DMD supports differentiating between them either. /det Fixed in 3.1.1. thanks a bunch! i ran into something else concerning Builder.addFromString in the 1.x versions it was uint addFromString(string buffer, gsize length) (clumsy C style) in the 2.x versions it became uint addFromString(string buffer) (D-ified, made sense) with 3.x it reverted to uint addFromString(string buffer, size_t length) (back to clumsy C style) i don't really like to change my code again and make it incompatible with 2.x versions. and i don't like the clumsy C style either. i'd appreciate if you could add an overload for the D style 2.x version call. cheers, det That change wasn't intentional, the gir files are missing the array information for this function. Fixed in: https://github.com/gtkd-developers/GtkD/commit/4ecf0e17f0951920461ec2d277c9c97d09eab94f -- Mike Wey
Re: GtkD 3.1.0 released, GTK+ with D.
On 2015-03-27 16:47, Mike Wey wrote: On 03/27/2015 10:27 PM, captaindet wrote: On 2015-03-26 17:41, Mike Wey wrote: GtkD is a D binding and OO wrapper of Gtk+ and is released on the LGPL license. Shortly after the last release, GtkD has been updated for GTK+ 3.16. GtkD 3.1.0 is now available on gtkd.org: http://gtkd.org/download.html great news - thanks for your efforts! there is a name conflict though. folder \srcgstreamer\gstreamer\ contains GStreamer.d and gstreamer.d this is not supported on windows machines i don't think DMD supports differentiating between them either. /det Fixed in 3.1.1. thanks a bunch! i ran into something else concerning Builder.addFromString in the 1.x versions it was uint addFromString(string buffer, gsize length) (clumsy C style) in the 2.x versions it became uint addFromString(string buffer) (D-ified, made sense) with 3.x it reverted to uint addFromString(string buffer, size_t length) (back to clumsy C style) i don't really like to change my code again and make it incompatible with 2.x versions. and i don't like the clumsy C style either. i'd appreciate if you could add an overload for the D style 2.x version call. cheers, det
Re: GtkD 3.1.0 released, GTK+ with D.
On Fri, 2015-03-27 at 16:46 +, via Digitalmars-d-announce wrote: > On Thursday, 26 March 2015 at 22:41:01 UTC, Mike Wey wrote: > > Shortly after the last release, GtkD has been updated for GTK+ > > 3.16. > > Thank you, that's awesome :) > Can't wait for my distro to get updated to start playing with > this. Why wait, compile from source. I have a short shell script that recompiles and installs using DMD, LDC, and GDC. It doesn't take that long to complete. -- Russel. = Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.win...@ekiga.net 41 Buckmaster Roadm: +44 7770 465 077 xmpp: rus...@winder.org.uk London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder signature.asc Description: This is a digitally signed message part
Re: GtkD 3.1.0 released, GTK+ with D.
On 03/27/2015 10:27 PM, captaindet wrote: On 2015-03-26 17:41, Mike Wey wrote: GtkD is a D binding and OO wrapper of Gtk+ and is released on the LGPL license. Shortly after the last release, GtkD has been updated for GTK+ 3.16. GtkD 3.1.0 is now available on gtkd.org: http://gtkd.org/download.html great news - thanks for your efforts! there is a name conflict though. folder \srcgstreamer\gstreamer\ contains GStreamer.d and gstreamer.d this is not supported on windows machines i don't think DMD supports differentiating between them either. /det Fixed in 3.1.1. -- Mike Wey
Re: GtkD 3.1.0 released, GTK+ with D.
On 2015-03-26 17:41, Mike Wey wrote: GtkD is a D binding and OO wrapper of Gtk+ and is released on the LGPL license. Shortly after the last release, GtkD has been updated for GTK+ 3.16. GtkD 3.1.0 is now available on gtkd.org: http://gtkd.org/download.html great news - thanks for your efforts! there is a name conflict though. folder \srcgstreamer\gstreamer\ contains GStreamer.d and gstreamer.d this is not supported on windows machines i don't think DMD supports differentiating between them either. /det
Re: GtkD 3.1.0 released, GTK+ with D.
On Thursday, 26 March 2015 at 22:41:01 UTC, Mike Wey wrote: Shortly after the last release, GtkD has been updated for GTK+ 3.16. Thank you, that's awesome :) Can't wait for my distro to get updated to start playing with this.
Re: GtkD 3.1.0 released, GTK+ with D.
On Thursday, 26 March 2015 at 22:41:01 UTC, Mike Wey wrote: GtkD is a D binding and OO wrapper of Gtk+ and is released on the LGPL license. Shortly after the last release, GtkD has been updated for GTK+ 3.16. GtkD 3.1.0 is now available on gtkd.org: http://gtkd.org/download.html This is great, thanks for your efforts. Cheers, stew
GtkD 3.1.0 released, GTK+ with D.
GtkD is a D binding and OO wrapper of Gtk+ and is released on the LGPL license. Shortly after the last release, GtkD has been updated for GTK+ 3.16. GtkD 3.1.0 is now available on gtkd.org: http://gtkd.org/download.html -- Mike Wey