Re: [gtkmm] Error with Glib:RefPtr<Gtk::TreeModel::Row>
- From: Bart Verstraete <bartverstraete telenet be>
- To: Murray Cumming <murrayc murrayc com>
- Cc: gtkmm-list <gtkmm-list gnome org>
- Subject: Re: [gtkmm] Error with Glib:RefPtr<Gtk::TreeModel::Row>
- Date: Fri, 15 Oct 2004 14:56:08 +0200
Murray Cumming wrote:
when I declare a Glib:RefPtr<Gtk::TreeModel::Row> (also with
TreeModel::iterator) in a function I get this when I compile, whitout it
, it compiles without a hitch(is this correct :-))
Glib::RefPtr<> is for use with types that derive from Glib::Object.
You do not need to put a TreeModel::iterator or TreeModel::Row in a RefPtr.
Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com
but treestore is direved from Glib:::Objects, So if I wane heve a
pointer to a row I have to use Gtk::TreeMode::Row* row.
But what if I want to referance a iterator of it I can't use
Gtk::TreeModel::iterator it = *row correct. I have to use
row->operator*() or is there a easier way?
Grtz Bart
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]