On 10/11/2015 11:32 AM, Johannes Pfau wrote:

It seems the GType for complex types is available as a T.getType function. Is this true for every object / interface type?

Yes.

And is there a nice way to get the GType for basic types such as gboolean or bool or do I have to implement such a function myself using the GType enum values?

For the basic types there only is the GType enum:
https://github.com/gtkd-developers/GtkD/blob/master/src/gtkc/gobjecttypes.d#L52