From d87b5f4ed43d947684e188c8c0cf2ea00eac2508 Mon Sep 17 00:00:00 2001 From: Taiko2k Date: Fri, 26 May 2023 19:06:45 +1200 Subject: [PATCH] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 209c1cb..272652e 100644 --- a/README.md +++ b/README.md @@ -225,6 +225,8 @@ You can handle the toggle signal like this: radio1.connect("toggled", self.radio_toggled) ``` +Replace `self.radio_toggled` with your own function. + When connecting a signal it's helpful to pass additional parameters like as follows. This way you can have one function handle events from multiple widgets. Just don't forget to handle the extra parameter in your handler function.