[prev in list] [next in list] [prev in thread] [next in thread]
List: gtkmm
Subject: Gtk::TreeSelection problem
From: Phil Wolff <adiabat () centurylink ! net>
Date: 2016-05-16 15:10:13
Message-ID: 5739E2D5.9060206 () centurylink ! net
[Download RAW message or body]
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:
_______________________________________________
gtkmm-list mailing list
gtkmm-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtkmm-list
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic