[pygtk] Creating an object browser
Walter Leibbrandt
walter at translate.org.za
Fri Aug 28 16:30:27 WST 2009
Op 27/08/2009 19:46, Marcus Vinicius Eiffle Duarte het geskryf:
> I would like to create a GUI with sidepanel showing an "object browser",
> which is a tree of nested (graphic) objects to select. I guess the best
> screenshots of this type of application are like the ones here:
> http://www.salome-platform.org/home/screenshots/ (Salomé is a great Qt
> application, by the way). I am talking about the panel titled "Object
> Browser" on the left. Can anyone point me to some resource showing hot to do
> it with pygtk?
That looks like a simple TreeStore used with a TreeView. The first
column of the TreeView has two cell renderers, though: a
CellRendererPixmap for the icon and a CellRendererText for the object name.
--
Walter Leibbrandt Software Developer
Recent blogs:
* Conquering the CellRendererWidget
http://www.translate.org.za/blogs/walter/en/content/conquering-cellrendererwidget
More information about the pygtk
mailing list