Gtk::TreeSelection problem
- From: Phil Wolff <adiabat centurylink net>
- To: "gtkmm-list gnome org" <gtkmm-list gnome org>
- Subject: Gtk::TreeSelection problem
- Date: Mon, 16 May 2016 08:10:13 -0700
int n = m_refFileSelection->count_selected_rows ();
if ( n == 1 ) {
Gtk::TreeIter iter = m_refFileSelection->get_selected ();
if ( iter ) {
m_refFileSelection->unselect ( iter );
}
}
and
int n = m_refFileSelection->count_selected_rows ();
if ( n != 0 ) {
m_refFileSelection->unselect_all ();
}
Both of these code snippets generate the following two error messages:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]