Closed pekim closed 4 years ago
@sunshine69 I've just open #11 which implements a new api for connecting signals. I'd appreciate it if you could take a look at the documentation and see if the api looks reasonable to you.
I realise from https://github.com/gotk3/gotk3/issues/457 that you're unlikely to use this this functionality, so I understand if you don't want to spend too much time on it.
There is no means of connecting signal handler functions to named signals in a builder description. This was initially mentioned in #9.
Use of gtk_builder_connect_signals_full is probably the way to go. gotk3's approach in https://github.com/gotk3/gotk3/pull/9 provides some inspiration.
Unlike gobbi's normally type-safe approach to connecting signal handlers this is probably going to have to connect the handler functions without regard to type-safety.