www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - GtkD 3.1.0 released, GTK+ with D.

reply Mike Wey <mike-wey example.com> writes:
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
Mar 26 2015
next sibling parent "stewarth" <growlercab gmail.com> writes:
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
Mar 26 2015
prev sibling next sibling parent reply =?UTF-8?B?IlRow6lv?= Bueno" <munrek gmx.com> writes:
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.
Mar 27 2015
parent Russel Winder via Digitalmars-d-announce writes:
On Fri, 2015-03-27 at 16:46 +0000, 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+=20
 3.16.
=20 Thank you, that's awesome :) Can't wait for my distro to get updated to start playing with=20 this.
Why wait, compile from source. I have a short shell script that recompiles and installs using DMD,=20 LDC, and GDC. It doesn't take that long to complete. --=20 Russel. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder ekiga.n= et 41 Buckmaster Road m: +44 7770 465 077 xmpp: russel winder.org.uk London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
Mar 28 2015
prev sibling next sibling parent reply captaindet <2krnk gmx.net> writes:
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
Mar 27 2015
parent reply Mike Wey <mike-wey example.com> writes:
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
Mar 27 2015
parent reply captaindet <2krnk gmx.net> writes:
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
Mar 28 2015
parent Mike Wey <mike-wey example.com> writes:
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
Mar 29 2015
prev sibling next sibling parent reply "stewarth" <growlercab gmail.com> writes:
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
Apr 10 2015
parent reply Mike Wey <mike-wey example.com> writes:
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
Apr 10 2015
parent reply Mike Wey <mike-wey example.com> writes:
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
Apr 10 2015
parent "stewarth" <growlercab gmail.com> writes:
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
Apr 10 2015
prev sibling next sibling parent "stewarth" <growlercab gmail.com> writes:
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
Apr 10 2015
prev sibling parent reply "Steve Teale" <steve.teale britseyeview.com> writes:
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
Apr 19 2015
parent reply Mike Wey <mike-wey example.com> writes:
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
Apr 19 2015
parent "Steve Teale" <steve.teale britseyeview.com> writes:
 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 ;=)
Apr 25 2015