mirror of
https://github.com/Taiko2k/GTK4PythonTutorial.git
synced 2025-07-21 20:51:10 +02:00
add gridview cont
This commit is contained in:
@@ -846,6 +846,7 @@ To detect when the selected item has changed:
|
|||||||
selected_item = selection.get_selected_item()
|
selected_item = selection.get_selected_item()
|
||||||
if selected_item is not None:
|
if selected_item is not None:
|
||||||
print(f"Selected item changed to: {selected_item.name}")
|
print(f"Selected item changed to: {selected_item.name}")
|
||||||
|
ss.connect("selection-changed", on_selected_items_changed)
|
||||||
```
|
```
|
||||||
|
|
||||||
To detect clicks on an item: ***TODO**
|
To detect clicks on an item: ***TODO**
|
||||||
|
Reference in New Issue
Block a user