GNOME Bugzilla – Bug 119266
property_widget () is unusable
Last modified: 2004-12-22 21:47:04 UTC
Since widgets can't just be copied, the member Glib::PropertyProxy< Gtk::Widget > property_widget () for changing which widget the canvas item contains is unusable. It should probably receive a pointer (or possibly a reference, I'm not sure what the precedence for gtkmm dictates).
Oops, I forgot to mention that the class this is all about is Gnome::Canvas::Widget.
It should probably be a Glib::RefPtr<Gtk::Widget> but that is not very useful either. Would a Gtk::Widget* get_widget() method be useful to you? Do you think that a set_widget(Gtk::Widget*) is necessary as well?
Ignore that. The property can be a Gtk::Widget*.
Fixed on HEAD, for 2.6.