Re: [pygtk] hide certain rows in treeview

2003-10-20 Thread Yang Zheng
Hi,

Looks like version 2.4 is planned for release on November 1st.  I'll
wait a bit before trying to implement my own filter.

Thanks!
~ Yang

On Thu, 2003-10-09 at 11:10, David M. Cook wrote:
 On Thu, Oct 09, 2003 at 10:43:54AM -0700, Yang Zheng wrote:
 
  Is it possible to not show certain rows in a treeview that is attached
  to a treestore?  I know you can display only certain columns, but what
  if there are some rows in a treestore structure that I do not want to be
  displayed?  Can I set a flag and have it skipped?
 
 There's no way to do this currently without copying to another treestore.
 gtk 2.4 will have a FilteredTreeModel that does this.
 
 http://www.gtk.org/plan/2.4/
 
 Dave Cook
 ___
 pygtk mailing list   [EMAIL PROTECTED]
 http://www.daa.com.au/mailman/listinfo/pygtk
 Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

___
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/


Re: [pygtk] hide certain rows in treeview

2003-10-13 Thread David M. Cook
On Thu, Oct 09, 2003 at 10:43:54AM -0700, Yang Zheng wrote:

 Is it possible to not show certain rows in a treeview that is attached
 to a treestore?  I know you can display only certain columns, but what
 if there are some rows in a treestore structure that I do not want to be
 displayed?  Can I set a flag and have it skipped?

There's no way to do this currently without copying to another treestore.
gtk 2.4 will have a FilteredTreeModel that does this.

http://www.gtk.org/plan/2.4/

Dave Cook
___
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/


Re: [pygtk] hide certain rows in treeview

2003-10-13 Thread David M. Cook
On Thu, Oct 09, 2003 at 11:10:09AM -0700, David M. Cook wrote:
 On Thu, Oct 09, 2003 at 10:43:54AM -0700, Yang Zheng wrote:
 
  Is it possible to not show certain rows in a treeview that is attached
  to a treestore?  I know you can display only certain columns, but what
  if there are some rows in a treestore structure that I do not want to be
  displayed?  Can I set a flag and have it skipped?
 
 There's no way to do this currently without copying to another treestore.
 gtk 2.4 will have a FilteredTreeModel that does this.

However, it occurs to me that it may be possible to implement your own
FilteredTreeModel as a custom TreeModel.

Dave Cook


___
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/


[pygtk] hide certain rows in treeview

2003-10-09 Thread Yang Zheng
Hello,

Is it possible to not show certain rows in a treeview that is attached
to a treestore?  I know you can display only certain columns, but what
if there are some rows in a treestore structure that I do not want to be
displayed?  Can I set a flag and have it skipped?

Any help would be appreciated, thank you.

~ Yang

___
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/