Re: TreeView - First element
- From: Daniel Elstner <daniel kitta googlemail com>
- To: "Adam Chyla [PL]" <adam chyla gmail com>
- Cc: gtkmm-list gnome org
- Subject: Re: TreeView - First element
- Date: Sat, 02 Jan 2010 21:21:31 +0100
Am Samstag, den 02.01.2010, 06:52 -0800 schrieb Adam Chyla [PL]:
> if (ListTreeModel->children().end() != iter)
> This should be false, but it isn't.
It should be false, unless the selection is empty.
The end iterator points to the element one after the last. It is a
half-open range [begin,end), as usual with the C++ STL.
If there is indeed an error in gtkmm itself, it would help if you could
provide a small self-contained test case for us to try.
--Daniel
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]