04.05.2013 1:18, Mike Wey пишет:
On 05/03/2013 06:30 PM, Alexandr Druzhinin wrote:
I need to connect to "notify::active" signal for Switch widget to
process changing of its state. The guides say I shouldn't use onActivate
signal, but "notify:active". But I didn't find a way to do it. Can
somebody help with it?

Are you referring to gtk.Switch ?

yes, gtk.Switch
if I connect to activate signal by means addOnActivate nothing works. Documentation says I should use "notify::active" event (it belongs to ObjectG, as I understand?), but I cannot find a way to connect to this signal by means of GtkD.

Reply via email to