[pygtk] Re: widget_push_composite_child
Jeffrey Barish wrote: I understand that I can add composite children to a widget by creating them between widget_push_composite_child and widget_pop_composite_child calls. gtk.widget_push_composite_child() widget1 = gtk.Widget1() widget2 = gtk.Widget2() gtk.widget_pop_composite_child() widget1.set_parent(main_widget) widget2.set_parent(main_widget) Aside from the difference between foreach and forall, is this code otherwise equivalent to widget1 = gtk.Widget1() widget2 = gtk.Widget2() main_widget.add(widget1) main_widget.add(widget2) I ask this question because I am trying to understand exactly what is meant by composite children. The documentation also uses the term internal children. Are they the same as composite children? Also, the Container class has a method get_children() which returns a list of all non-internal children. What is the method for obtaining a list of internal children? -- Jeffrey Barish ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
[pygtk] (no subject)
Hello all! Unfortunately, there is not a high level widget to construct a directory tree. I think the only solution is to use a gtk.TreeStore, but what trick to make tree columns dinamically? I agree examples or tutorial's link. Thanks! -- Leggi GRATIS le tue mail con il telefonino i-mode di Wind http://i-mode.wind.it ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
Re: [pygtk] (no subject)
Hi! I've wrote a simple directory tree widget (and maybe not very gtk standard widget) which is used in a little app called pyRenamer. You can check the widget here: http://www.infinicode.org/code/pyrenamer/src/treefilebrowser.py En example on how to use it: http://www.infinicode.org/code/pyrenamer/src/treefilebrowser_example.py And pyrenamer, application using it: http://www.infinicode.org/code/pyrenamer/ Hope it's useful... -- adolfo El mar, 13-03-2007 a las 19:51 +0100, [EMAIL PROTECTED] escribió: Hello all! Unfortunately, there is not a high level widget to construct a directory tree. I think the only solution is to use a gtk.TreeStore, but what trick to make tree columns dinamically? I agree examples or tutorial's link. Thanks! -- Leggi GRATIS le tue mail con il telefonino i-mode™ di Wind http://i-mode.wind.it ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/ signature.asc Description: Esta parte del mensaje está firmada digitalmente ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/