RE: Hidden Columns in Gtk::TreeView
- From: Murray Cumming <murrayc murrayc com>
- To: "Huston, Bob" <rhuston mitre org>
- Cc: gtkmm-list gnome org
- Subject: RE: Hidden Columns in Gtk::TreeView
- Date: Wed, 22 Feb 2006 23:24:29 +0100
On Wed, 2006-02-22 at 15:39 -0500, Huston, Bob wrote:
> I have done this exact thing, I think the tree view will only allow
> a certain number of types to be columns, the way I got around what you
> are
> seeing is add the column as a void *, then type cast a ptr to my class
> to go into the column.
That shouldn't be necessary. Any type that has a copy constructor can be
used. And if it doesn't have a copy constructor, you can use it via its
specific pointer type, or via a smartpointer, such as boost's shared
ptr.
--
Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]