Forum: Ruby-Gnome 2 Missing callback : How to implement it

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
B985bf8029d396259f579c70f809269a?d=identicon&s=25 Simon Arnaud (sarnaud)
on 2015-11-24 17:05

I'm running some old code, 6 months old approximately, and I'm running
into a problem :

`invoke': TODO: <TreeIterCompareFunc>(sort_func) callback is not
supported yet. (NotImplementedError)

I'm wondering : Is there a documentation on how to implement it ?

Here is the snippet :

$builder['users_treemodelsort'].set_default_sort_func do |i1, i2|
  i1[1] <=> i2[1] || 0


I found after posting :

I will try on 3.0.8. Hope it gets released soon.
This topic is locked and can not be replied to.