Editing a column
- From: Baltasar <baltasarq yahoo es>
- To: gtkmm-list gnome org
- Subject: Editing a column
- Date: Fri, 16 Jun 2006 12:51:32 +0200
Hi !
I've created a signal in the cell-renderer, and now I finally have a
method which is called when any of the columns in the treeview is
edited:
void MainWindow::onColEdited(const Glib::ustring& path_string,
const Glib::ustring& new_text);
However, this signal doesn't give you any clue about which column was
really edited: path_string contains the row, which can be useful, but
the number of the column is not passed in.
This time, I've explored the tutorial, but the tutorial assumes that
there's only one editable column, and it used the pointer to that column
directly.
However, I need to centralize the event of an edited column in one
method, because I don't know how many [editable] columns I'm going to
have before start.
Any help ?
Regards,
Baltasar
--
Baltasar
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]