Re: [pygtk] GtkTree examples?

2001-11-19 Thread Christian Robottom Reis

On Mon, 19 Nov 2001, Michael Gilfix wrote:

   Hi all. Could someone please post a simple example of using GtkTree?
 I found the one example provided with pygtk that uses it difficult
 to follow as it seems to play some tricks with dicts. I'm looking to
 build a tree recursively out of directories. Some hints would be
 great.

Don't use GtkTree, use GtkCTree.
See the Kiwi codebase for an example of realworld usage
(http://www.async.com.br/kiwi/)

Take care,
--
Christian Reis, Senior Engineer, Async Open Source, Brazil.
http://async.com.br/~kiko/ | [+55 16] 272 3330 | NMFL

___
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk



Re: [pygtk] GtkTree examples?

2001-11-19 Thread Jon Nelson

On Mon, 19 Nov 2001 17:08:02 -0200 (BRST)
Christian Robottom Reis [EMAIL PROTECTED] wrote:

 On Mon, 19 Nov 2001, Michael Gilfix wrote:
 
Hi all. Could someone please post a simple example of using
GtkTree?
  I found the one example provided with pygtk that uses it
difficult
  to follow as it seems to play some tricks with dicts. I'm
looking to
  build a tree recursively out of directories. Some hints would
be
  great.
 
 Don't use GtkTree, use GtkCTree.
 See the Kiwi codebase for an example of realworld usage
 (http://www.async.com.br/kiwi/)

Ah, but GtkCTree can't handle non-text items (like buttons,
entry fields, etc...)


-- 
Jon Nelson\|/  \|/   Gort,
[EMAIL PROTECTED]@'/ ,. \`@   Klaatu
C and Python Programmer   /_| \__/ |_\   barada
Motorcycle Enthusiast\__U_/  nikto.
___
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk



Re: [pygtk] GtkTree examples?

2001-11-19 Thread Michael Gilfix

  Thanks for the pointers. I haven't tried it out yet but it looks
like it'll do the trick. I just want to be able to display pixmaps
with the text and it supports just that.

 -- Mike

On Mon, Nov 19 @ 13:45, Jon Nelson wrote:
 On Mon, 19 Nov 2001 17:08:02 -0200 (BRST)
 Christian Robottom Reis [EMAIL PROTECTED] wrote:
 
  On Mon, 19 Nov 2001, Michael Gilfix wrote:
  
 Hi all. Could someone please post a simple example of using
 GtkTree?
   I found the one example provided with pygtk that uses it
 difficult
   to follow as it seems to play some tricks with dicts. I'm
 looking to
   build a tree recursively out of directories. Some hints would
 be
   great.
  
  Don't use GtkTree, use GtkCTree.
  See the Kiwi codebase for an example of realworld usage
  (http://www.async.com.br/kiwi/)
 
 Ah, but GtkCTree can't handle non-text items (like buttons,
 entry fields, etc...)
 
 
 -- 
 Jon Nelson\|/  \|/   Gort,
 [EMAIL PROTECTED]@'/ ,. \`@   Klaatu
 C and Python Programmer   /_| \__/ |_\   barada
 Motorcycle Enthusiast\__U_/  nikto.
`- (jnelson)

-- 
Michael Gilfix
[EMAIL PROTECTED]
___
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk