开发者

Is the GTKMM set_value_vfunc function a lie?

开发者 https://www.devze.com 2023-04-10 10:08 出处:网络
I\'ve been attempting to modify the contents of a custom tree view that inherits from TreeModel and TreeSortable.However, the virtual function set_value_impl contains only an assert.When I tried to lo

I've been attempting to modify the contents of a custom tree view that inherits from TreeModel and TreeSortable. However, the virtual function set_value_impl contains only an assert. When I tried to look for example implementations, they all quote the GTKMM website which says "You can probably just implement this by calling set_value_vfunc()".

I have not found such functi开发者_如何转开发on to exist anywhere in GTKMM.

Has anyone here run afoul of the GTKMM TreeModel when trying to modify the contents of a tree view?


As covered in the comments above, the set_value_vfunc() function simply does not exist.

0

精彩评论

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