The docs at http://www.gtkmm.org/docs/gtkmm-2.4/docs/reference/html/classGtk_1_1TreeViewColumn.html#f5c3b04accb5fba7aa4c84e831b8b643 say that if widget is 0, then a Label will be used. I am passing 0 to this function, but I get:

error: no matching function for call to 'Gtk::TreeViewColumn::set_widget(int)'
note: candidates are: void Gtk::TreeViewColumn::set_widget(Gtk::Widget&)

How do I do this right? I don't want to pass a real widget, I want it to do exactly what the docs say it does when widget is 0.

Doug
--
http://nostar.net/
_______________________________________________
gtkmm-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkmm-list

Reply via email to