[gtkmm] Signals



Hi,
I have a little problem with ListStore.
Im using glade 2.0.0 and glademm 2.0.0.1

This works:

listFiles->signal_cursor_changed().connect(SigC::slot(*this,
&window1_glade::on_listFiles_cursor_changed));

When I select a row, function "on_listFiles_cursor_changed" is called
and that is OK.

This works too, but function "on_listFiles_cursor_changed" is NOT
callded. Why ?
And I did not disconected the signal above.

  Glib::RefPtr<Gtk::TreeSelection> refTreeSelection;
  refTreeSelection = listFiles->get_selection();
  rowIter = listFiles->get_model()->children()[RowNum]; 
  if (rowIter)
    refTreeSelection->select(rowIter);

Any ideas ???
Thanks in advance.

Attachment: signature.asc
Description: This is a digitally signed message part



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