On 19-07-2019 14:35, Giacomo Alberini wrote:

Hi everyone!

First time on the forum, so hello there!

My question is pretty general, I started recently with Gtk and D programming and I think it's a good match.

I also developed small applications in Gtk using Vala, and there I was able to actually subclass Gtk classes and create custom Widget/Object and emit custom signals.

I'd like to know how and whether this is possible with GtkD or if there's a better way to handle communication between custom Widgets.

Thanks in advance to everyone!

For implementing your own Gtk Widget there is:
https://api.gtkd.org/gtkd.Implement.ImplementClass.html

But it currently doesn't provide an easy way to also add signals and/or
properties.