开发者

How do you connect a GtkTreeVew and a GtkListStore?

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜