开发者

How do you connect a GtkTreeVew and a GtkListStore?

开发者 https://www.devze.com 2023-03-03 18:44 出处:网络
How do you connect a GtkTreeVew and a GtkListStore? My TreeView shows the ListStore\'s data fine, but won\'t update the ListStore when the user changes a value in one of the cellrenderer widgets. Th

How do you connect a GtkTreeVew and a GtkListStore?

My TreeView shows the ListStore's data fine, but won't update the ListStore when the user changes a value in one of the cellrenderer widgets. The widgets behave nor开发者_JS百科mally but when they lose focus the value returns to normal.

Would I have to write signal handlers for every cell I make or is there some setting I should be setting?

I'm using glade to create these models.


Apparently the only way to do this is to catch the edited signal and handle it manually. What a shame.

0

精彩评论

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