On 04/06/2017 09:54 PM, Gerald Nunn wrote:

I'm having a problem in my terminal application where when a user overrides a shortcut, the default shortcut remains active. I suspect this is because I'm using gio Actions whereas gnome-terminal and terminator are using older GTK mechanisms like BindingSet. I'd like to try using BindingEntry.skip for certain accelerators, but I'm trying to figure out how to call BindingSet.byClass since there doesn't appear to be an easy way to get the ObjectClass?

In C there is the macro GOBJECTGET_CLASS, what is the equivalent in D?

This should do it: