Re: Using a TreeStore with a ComboBox
- From: "Milosz Derezynski" <internalerror gmail com>
- To: "Jef Driesen" <jefdriesen hotmail com>
- Cc: gtkmm-list gnome org
- Subject: Re: Using a TreeStore with a ComboBox
- Date: Sat, 23 Jun 2007 12:57:16 +0200
Well, if it's really *just* that:
On 6/23/07, Jef Driesen <jefdriesen hotmail com> wrote:
After refilter, the combobox contains no items anymore, just like when I
populate the model before using set_visible_func. This is what I
expected, because in my model all toplevel nodes have children. Of
course this is not the solution I need.
and the grander scheme isn't something bigger, then you can just alter the function to:
bool
Example::on_model_visible (const Gtk:TreeModel::const_iterator& iter)
{
return (iter != store->children().begin && iter->children().empty());
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]