On 14-10-17 16:41, Russel Winder wrote:

And another thing…

The addOnStartup and addOnActivate functions on gtk.Application:Application appear to require a function taking a gio.Application:Application as a parameter whereas everything you want to do in the callback requires access via the original type. It maybe just me, but it seems awkward.

(gtk-rs seems to have this sorted better.)

Like how the last parameter in the delegate is always the Object the
signal is connected to?

It would be nice if we could make it optional.

Or would you want it to be an gtk.Application?