[gtkmm] TreeStore on_rows_reordered signal.


I have a working TreeStore and TreeView, with the rows set as
reorderable. I would like to perform some maintenance on the tree
objects when a row is moved via drag and drop. I thought I had found the
answer in the "on_rows_reordered" signal, but I'm having troubles
connecting it to a method that I am writing.

Here is what I tried to connect the signal:

      SigC::slot( *this, &MyTree::on_rows_reordered));

Then in the MyTree class (where this connection attempt also happens):

void MyTree::on_rows_reordered()

The connect part bombs on compile. I figured I'm doing something
obviously wrong.

Thanks for the help.


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