Re: [gtkmm] Updating a custom TreeModel
- From: Christer Palm <palm nogui se>
- To: Tor Arvid Lund <tor arvid lund idi ntnu no>
- Cc: gtkmm-list gnome org
- Subject: Re: [gtkmm] Updating a custom TreeModel
- Date: Sun, 28 Mar 2004 00:46:11 +0100
Hello Tor!
Tor Arvid Lund wrote:
The TreeView associated with the Custom TreeModel will always show the
first row in the vector, so my question is: How do I tell the TreeModel
that new data is available in the vector?
Your custom TreeModel needs to use the following methods to announce
changes to the model:
TreeModel::row_changed()
TreeModel::row_inserted()
TreeModel::row_has_child_toggled()
TreeModel::row_deleted()
TreeModel::rows_reordered()
--
Christer
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]