September 10, 2012
On 09/10/2012 09:28 AM, Andrea Fontana wrote:
> Maybe this wikipedia page is out of date:
> http://en.wikipedia.org/wiki/GTK%2B

Yes, it is.

-- 
Mike Wey
September 10, 2012
On 09/10/2012 12:14 AM, Nick Sabalausky wrote:
> Is that css solution still *a* theming engine, or am I misunderstanding
> it? Or I guess what I really mean is, does GTK3 at least have some way
> to say "just use native"? Because I had thought I heard GTK3 was
> supposed to be able to do that. I may have misunderstood though, I
> don't know.
>

There are some css extensions to access the windows theming API, but i don't know how far that go's.

-- 
Mike Wey
September 10, 2012
On 09/10/2012 04:56 PM, Johannes Pfau wrote:
> Nice to see a GTK3 gtkd release!
> Also nice to see GTK Builder support. Is there a gtk builder example
> which shows how to connect signals? I guess connectSignalsFull should
> work, but it's a little cumbersome. Will connectSignals work?

connectSignals should work, one problem with both connectSignals and connectSignalsFull is that the functions need to be extern(C) and the parameters are the bare C Gtk structs and not the GtkD classes.

> (I'd check this, but the github download isn't working)

I've reuploaded the file, it seems to be working now.

> BTW: Will we get nicer documentation?

Not any time soon.

-- 
Mike Wey
September 11, 2012
On 2012-09-10 19:38, Mike Wey wrote:

> connectSignals should work, one problem with both connectSignals and
> connectSignalsFull is that the functions need to be extern(C) and the
> parameters are the bare C Gtk structs and not the GtkD classes.

I have no idea how these signals work in Gtk but should it be possible to create a template mixin that wraps a D method. The template would mixin an static extern(C) method that converts the Gtk structs to GtkD classes. I assume there's some way to pass an extra data parameter to a signal, this could contain an instance of a class.

-- 
/Jacob Carlborg
September 11, 2012
Let's update! Wikipedia is a good entry point :)

Il giorno lun, 10/09/2012 alle 19.26 +0200, Mike Wey ha scritto:

> On 09/10/2012 09:28 AM, Andrea Fontana wrote:
> > Maybe this wikipedia page is out of date: http://en.wikipedia.org/wiki/GTK%2B
> 
> Yes, it is.
> 




September 26, 2012
> "Mike Wey"  wrote in message news:k2isv4$2r67$1@digitalmars.com...
> GtkD is a D binding and OO wrapper of Gtk+ and is released on the LGPL
> license.
>
> With 2.0 GtkD will wrap Gtk+ version 3, if you need Gtk+ 2 you can use the latest version from the Gtk2 branch, version 1.6.
>
> GtkD 2.0 and 1.6 are now available on GitHub:
> https://github.com/gtkd-developers/GtkD/downloads
>
> -- 
> Mike Wey
>

Hi,

I tried the install detailed on the github page and got the following error:


C:\D\dmd2\gtkD2\src>dgen
build\gtkD.d(612): Error: module SourceBuffer is in file 'gsv\SourceBuffer.d' wh
ich cannot be read
import path[0] = C:\D\dmd2\windows\bin\..\..\src\phobos
import path[1] = C:\D\dmd2\windows\bin\..\..\src\druntime\import


Any clues as to the problem/solution?

Regards, Mike.

September 27, 2012
On 09/26/2012 08:49 PM, Mike James wrote:
>> "Mike Wey"  wrote in message news:k2isv4$2r67$1@digitalmars.com...
>> GtkD is a D binding and OO wrapper of Gtk+ and is released on the LGPL
>> license.
>>
>> With 2.0 GtkD will wrap Gtk+ version 3, if you need Gtk+ 2 you can use
>> the latest version from the Gtk2 branch, version 1.6.
>>
>> GtkD 2.0 and 1.6 are now available on GitHub:
>> https://github.com/gtkd-developers/GtkD/downloads
>>
>> --
>> Mike Wey
>>
>
> Hi,
>
> I tried the install detailed on the github page and got the following
> error:
>
>
> C:\D\dmd2\gtkD2\src>dgen
> build\gtkD.d(612): Error: module SourceBuffer is in file
> 'gsv\SourceBuffer.d' wh
> ich cannot be read
> import path[0] = C:\D\dmd2\windows\bin\..\..\src\phobos
> import path[1] = C:\D\dmd2\windows\bin\..\..\src\druntime\import
>
>
> Any clues as to the problem/solution?
>
> Regards, Mike.
>

It looks like the dgen script posted on the wiki was never properly tested. for now you can remove src/build/GtkD.d it's only there for compiling with build/bud.

-- 
Mike Wey
October 04, 2012
On Wednesday, 26 September 2012 at 18:48:41 UTC, Mike James wrote:
> I tried the install detailed on the github page and got the following error:
>
>
> C:\D\dmd2\gtkD2\src>dgen
> build\gtkD.d(612): Error: module SourceBuffer is in file 'gsv\SourceBuffer.d' wh
> ich cannot be read
> import path[0] = C:\D\dmd2\windows\bin\..\..\src\phobos
> import path[1] = C:\D\dmd2\windows\bin\..\..\src\druntime\import


Using those same instructions...
https://github.com/gtkd-developers/GtkD/wiki/Installing-on-Windows
...I only manage to get this error (after ~10 seconds):

D:\Documents\GitHub\GtkD\src>dgen.exe
Fatal Error: Out of memory

Even though Task Manager shows only negligible increase in memory.
October 04, 2012
Why does a Windows version require building anyway? Building stuff is for Linux people, because they love to hunt dependencies and stuff. On Windows you should be able to unzip an archive or use an installer and have two directories - include files and compiled .lib/.a/.dll libraries ready to include into your project. Trying to avoid it is just trouble, it takes a lot of time to compile any D library and even GDC has no binary releases, so that's another time spent on hunting libs.
October 04, 2012
On 10/04/2012 02:32 AM, Tommi wrote:
> On Wednesday, 26 September 2012 at 18:48:41 UTC, Mike James wrote:
>> I tried the install detailed on the github page and got the following
>> error:
>>
>>
>> C:\D\dmd2\gtkD2\src>dgen
>> build\gtkD.d(612): Error: module SourceBuffer is in file
>> 'gsv\SourceBuffer.d' wh
>> ich cannot be read
>> import path[0] = C:\D\dmd2\windows\bin\..\..\src\phobos
>> import path[1] = C:\D\dmd2\windows\bin\..\..\src\druntime\import
>
>
> Using those same instructions...
> https://github.com/gtkd-developers/GtkD/wiki/Installing-on-Windows
> ...I only manage to get this error (after ~10 seconds):
>
> D:\Documents\GitHub\GtkD\src>dgen.exe
> Fatal Error: Out of memory
>
> Even though Task Manager shows only negligible increase in memory.

I'll check and see if i can find out whats going on here in the weekend.

-- 
Mike Wey