mirror of
https://github.com/Taiko2k/GTK4PythonTutorial.git
synced 2026-01-04 10:20:12 +01:00
Update README.md
This commit is contained in:
@@ -208,7 +208,6 @@ radio3.set_group(radio1)
|
||||
You can handle the toggle signal like this:
|
||||
|
||||
```python
|
||||
radio1 = Gtk.CheckButton(label="test")
|
||||
radio1.connect("toggled", self.radio_toggled)
|
||||
```
|
||||
|
||||
@@ -216,7 +215,6 @@ When connecting a signal its helpful to pass additional paramiters like as follo
|
||||
|
||||
|
||||
```python
|
||||
radio1 = Gtk.CheckButton(label="test")
|
||||
radio1.connect("toggled", self.radio_toggled, "test")
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user