RE: [gtkmm] TreeView: Any chance to get the parent when child is selected?
- From: Murray Cumming Comneon com
- To: abt gmx de, gtkmm-list gnome org
- Subject: RE: [gtkmm] TreeView: Any chance to get the parent when child is selected?
- Date: Wed, 7 Jan 2004 18:45:12 +0100
> I am facing the following problem:
> child is selected but I also need
> the parentsī value. Is there any way...?
>
> btw:
> parent has not been selected before,
> just expanded with the little triangle
> to see the children...
>
> My list view:
>
> o parent ---+
> |
> + child
> + child
> + child << this is selected
You need TreeModel::Row::parent(), I think:
http://www.gtkmm.org/gtkmm2/docs/reference/html/classGtk_1_1TreeRow.html#a6
Murray Cumming
www.murrayc.com
murrayc usa net
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]