jeremyletang/rgtk

TreeStore::set_string should be more general

Closed this issue · 5 comments

osa1 commented

Original version of this function is more general: https://developer.gnome.org/gtk3/stable/GtkTreeStore.html#gtk-tree-store-set-value

I'm currently having trouble with this. As far as I can understand this is only way to put booleans or other values in a TreeStore/TreeModel but current wrapped version is not allowing this.

Note that current version is not safe either, because I can set a column type as boolean but I can't put anything other than string.

EDIT: ListStore also has the same problem.

I'll check that tonight then.

Hey, check the #123 PR.

osa1 commented

Thanks guys! I'll check the PR sometime today.

I'm still working on it to make it easier to use.

osa1 commented

This is resolved with #123.