开发者

How to select an item in a gtk.IconView (Python)

开发者 https://www.devze.com 2023-01-05 05:09 出处:网络
In a gtk.IconView I can use get_selected_items() to find the paths of the items a user selected in the view.

In a gtk.IconView I can use get_selected_items() to find the paths of the items a user selected in the view.

I'm now looking for the corresponding method to set the selection of an IconView. But I can't find any开发者_运维问答!? What am I missing?


There's a select_path() method. I somehow missed it on scanning through the docs.

0

精彩评论

暂无评论...
验证码 换一张
取 消