Where can I find a list of detailed_signal (used in g_signal functions)?
In the index. Signals are indicated by ClassName::signal-name
.
You don't have to use the signal detail in g_signal
functions though - most signals don't have details. The only one I regularly use is GObject::notify
.
Connect to a non-detailed signal like this:
g_signal_connect(button, "clicked", G_CALLBACK(on_button_clicked), data);
Connect to a detailed signal like this:
g_signal_connect(button, "notify::label", G_CALLBACK(on_button_label_notify), data);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With