Re: problema con Pygtk + Treeview + TreeModelFilter
- From: "Eduardo Silva" <edsiper gmail com>
- To: "Aldrin Martoq" <amartoq dcc uchile cl>
- Cc: "Advocacy, chit-chat and event planning in Chile" <gnome-cl-list gnome org>
- Subject: Re: problema con Pygtk + Treeview + TreeModelFilter
- Date: Fri, 14 Nov 2008 07:00:10 -0500
la respuesta se encuentra en gtk/gtktreemodelfilter.c :
/* A few notes:
* There are three model/views involved, so there are two mappings:
* * this model -> child model: mapped via offset in FilterElt.
* * this model -> parent model (or view): mapped via the array index
* of FilterElt.
*
* Note that there are two kinds of paths relative to the filter model
* (those generated from the array indices): paths taking non-visible
* nodes into account, and paths which don't. Paths which take
* non-visible nodes into account should only be used internally and
* NEVER be passed along with a signal emission.
*
* The filter model has a reference on every node that is not in the root
* level and has a parent with ref_count > 1. Exception is a virtual root
* level; all nodes in the virtual root level are referenced too.
*/
Es un mapping interno :)
saludos..
--
Eduardo Silva
http://edsiper.linuxchile.cl
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]