Re: Native GTK bindings v2

2012-06-01 Thread timotheecour
Have you tested it on osx? I get lots of errors such as Error: module Atk from file gtk2/atk.d conflicts with another module Atk from file gtk2/atk.d etc... I'm wondering whether it's due to case insensitivity on OSX/windows. I thought the convention was to use all lowercase for module names.

Re: Native GTK bindings v2

2012-06-01 Thread Artur Skawina
On 06/01/12 12:01, timotheecour wrote: Have you tested it on osx? No. You are probably the first person to try it on osx. I get lots of errors such as Error: module Atk from file gtk2/atk.d conflicts with another module Atk from file gtk2/atk.d etc... I'm wondering whether it's due to case

Re: Native GTK bindings v2

2012-04-24 Thread Marco Leise
I did a test run with a system profiler and I see this: --8- CPU: Core 2, speed 2001 MHz (estimated) Counted CPU_CLK_UNHALTED events (Clock cycles when not halted) with a unit mask of 0x00 (Unhalted core cycles) count 10 %symbol name 24.5102 void

Re: Native GTK bindings v2

2012-04-23 Thread Marco Leise
Am Sun, 22 Apr 2012 00:54:41 +0200 schrieb Artur Skawina art.08...@gmail.com: On 04/22/12 00:06, Marco Leise wrote: Am Sat, 21 Apr 2012 21:46:18 +0200 schrieb Artur Skawina art.08...@gmail.com: On 04/21/12 19:16, Marco Leise wrote: I just noticed cairo.d is still a dummy. I am using

Re: Native GTK bindings v2

2012-04-23 Thread Trass3r
I've been running with phobos built using -ffunction-sections -fdata-sections since ~the time of #293 and so far haven't seen any problems (which of course doesn't mean that there aren't any). Me too. If you don't use gc-sections there shouldn't be any difference and if you do a lot of

Re: Native GTK bindings v2

2012-04-23 Thread Marco Leise
Am Mon, 23 Apr 2012 12:00:02 +0200 schrieb Trass3r u...@known.com: I've been running with phobos built using -ffunction-sections -fdata-sections since ~the time of #293 and so far haven't seen any problems (which of course doesn't mean that there aren't any). Me too. If you don't use

Re: Native GTK bindings v2

2012-04-23 Thread Marco Leise
Am Mon, 23 Apr 2012 17:48:07 +0200 schrieb David Nadlinger s...@klickverbot.at: On Monday, 23 April 2012 at 11:28:08 UTC, Marco Leise wrote: You know what happened? My animation in the Gtk app started to stop for some milliseconds in regular intervals. Sounds like GC problems. My wild

Re: Native GTK bindings v2

2012-04-23 Thread Artur Skawina
On 04/23/12 20:00, Marco Leise wrote: Am Mon, 23 Apr 2012 17:48:07 +0200 schrieb David Nadlinger s...@klickverbot.at: On Monday, 23 April 2012 at 11:28:08 UTC, Marco Leise wrote: You know what happened? My animation in the Gtk app started to stop for some milliseconds in regular intervals.

Re: Native GTK bindings v2

2012-04-21 Thread Marco Leise
At first I confused your project with GtkD. I'll take a look at it, to see how it compares. Many examples for Gtk use C code, and I end up looking for the correct GtkD class that offers the function. Otherwise I quite like the classical inheritance that is possible with GtkD, whereas you use

Re: Native GTK bindings v2

2012-04-21 Thread Marco Leise
Am Sat, 21 Apr 2012 21:46:18 +0200 schrieb Artur Skawina art.08...@gmail.com: On 04/21/12 19:16, Marco Leise wrote: I just noticed cairo.d is still a dummy. I am using image surfaces. Yes, cairo.d is generated from GI data too and only contains the few symbols and types required to use

Re: Native GTK bindings v2

2012-04-21 Thread Artur Skawina
On 04/22/12 00:06, Marco Leise wrote: Am Sat, 21 Apr 2012 21:46:18 +0200 schrieb Artur Skawina art.08...@gmail.com: On 04/21/12 19:16, Marco Leise wrote: I just noticed cairo.d is still a dummy. I am using image surfaces. Yes, cairo.d is generated from GI data too and only contains the

Re: Native GTK bindings v2

2012-04-14 Thread Artur Skawina
On 04/13/12 15:06, bioinfornatics wrote: Le dimanche 01 avril 2012 à 21:23 +0200, Artur Skawina a écrit : The code is here: http://repo.or.cz/w/girtod.git The easiest way to try the bindings is probably to check out the gtk2 branch, copy the gtk2 directory to your app directory and import

Re: Native GTK bindings v2

2012-04-13 Thread bioinfornatics
Le dimanche 01 avril 2012 à 21:23 +0200, Artur Skawina a écrit : What's new? - Now, in addition to GLib, GModule, GObject, Gio, GdkPixbuf, Pango, PangoCairo, PangoFT, Gdk, Atk and Gtk+ there are also bindings for Clutter, ClutterX11, Cogl, CoglPango and Mx. - Struct

Re: Native GTK bindings v2

2012-04-02 Thread Andrej Mitrovic
On 4/1/12, Artur Skawina art.08...@gmail.com wrote: PS. Are there any sane Cairo D binding out there? (What's sane? Well, if there's a class in there somewhere then it's not sane) $ htod cairo.h And the same goes for cairo_features.h, cairo_version.h, etc. I've used it on win32 samples

Re: Native GTK bindings v2

2012-04-02 Thread Johannes Pfau
Am Mon, 2 Apr 2012 08:17:24 +0200 schrieb Andrej Mitrovic andrej.mitrov...@gmail.com: On 4/1/12, Artur Skawina art.08...@gmail.com wrote: PS. Are there any sane Cairo D binding out there? (What's sane? Well, if there's a class in there somewhere then it's not sane) $ htod cairo.h And

Native GTK bindings v2

2012-04-01 Thread Artur Skawina
What's new? - Now, in addition to GLib, GModule, GObject, Gio, GdkPixbuf, Pango, PangoCairo, PangoFT, Gdk, Atk and Gtk+ there are also bindings for Clutter, ClutterX11, Cogl, CoglPango and Mx. - Struct inheritance. No more need for container.add(vbox.widget);, you can write