D
danny van elsen
hello all,
when a function has a '*&' parameter, as in
Gtk::TreeView::get_cursor(Gtk::TreePath&, Gtk::TreeViewColumn*&)
- what could be the reason for designing a function like this?
- how do I use this function? This doesn't work ...
Gtk::TreeModel:ath path;
Gtk::TreeViewColumn column;
....
treeview.get_cursor(path, &column);
error: no matching function for call to
`Gtk::TreeView::get_cursor(Gtk::TreePath&, Gtk::TreeViewColumn*)'
note: candidates are:
void Gtk::TreeView::get_cursor(Gtk::TreePath&, Gtk::TreeViewColumn*&)
bye, Danny.
when a function has a '*&' parameter, as in
Gtk::TreeView::get_cursor(Gtk::TreePath&, Gtk::TreeViewColumn*&)
- what could be the reason for designing a function like this?
- how do I use this function? This doesn't work ...
Gtk::TreeModel:ath path;
Gtk::TreeViewColumn column;
....
treeview.get_cursor(path, &column);
error: no matching function for call to
`Gtk::TreeView::get_cursor(Gtk::TreePath&, Gtk::TreeViewColumn*)'
note: candidates are:
void Gtk::TreeView::get_cursor(Gtk::TreePath&, Gtk::TreeViewColumn*&)
bye, Danny.