looking at Gtk::TreeModelColumnBase constructor I see it has a GType parameter when specializing a Gtk::TreeModelColumn. Does this mean that the type I specialize for rendering must be a Glib::Object?
2010/7/1 Germán Diago <[email protected]>: > Maybe it's not worth the effort. Maybe I should keep it as is. > > >> To use <URL*> template you must specialize it yourself using Gtk >> namespace. And implement all functions to get/set value from/into cell, >> I guess. >> >> I suggest, you to use <void*> template and override >> render/get_size-_vfunc() where get value from property with: >> >> void* ptr = property_url(); >> URL* url = reimplement_cast< URL* >( ptr ); >> >> Either use TreeViewColumn::set_cell_data_func(). > _______________________________________________ gtkmm-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gtkmm-list
