filtering lists



from IRC today:

03:11PM <kck> Hello all... I've got a question about Gtk2::Ex::Simle::List (perh aps this is actually a Gtk2::TreeModel issue though), is it possible to have a g iant list but only show certain rows at any given time without repopulating the {data} array? ie: is there any sort of get/set_visibility() for a row of data in
 the list?


sounds like you want a Gtk2::TreeModelFilter -- that's its purpose. just this weekend i checked code into HEAD that makes TreeModelFilter work correctly, and there will be a 1.062 release soon with this fix in it.

--
To me, "hajime" means "the man standing opposite you is about to hit you with a stick".
  -- Ian Malpass, speaking of the Japanese word for "the beginning"




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]