Hi all,

I have a combo box and want to do something with the child_position.
I do that with: $index = $combo->list->child_position($entry->list->selection)

This works fine, unless I select the first item in the list
Or if I selected the 3rd item and then the 2nd, it crashes aswell with : "Usage: Gtk::List::child_position(list, widget)"

I can't make head nor tails of it..since it works great for items higher than 1 or higher than the previously selected.

Any help appreciated.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]