[pygtk] Treeview
Karl Ostmo
kostmo at purdue.edu
Sun Dec 14 03:29:48 WST 2008
There is an example in the PyGTK tutorial of a treeview with embedded
checkboxes. If you're not confined to Glade, it might be easier starting
with that code:
http://www.pygtk.org/pygtk2tutorial/sec-CellRenderers.html#cellrendererfig
Karl
On Sat, Dec 13, 2008 at 8:48 AM, Neil Munro <neilmunro at gmail.com> wrote:
> Hey, I'm developing an application for a university project, and I am
> developing a gui for it, but I need a basic python program to actually
> display the gui (that's all, it doesn't actually have to do anything) but I
> need to use a treeview to display some data, all I wish to do is display
> data like the Ubuntu Update Manager (assuming people use Ubuntu) I have
> attached both my glade file and my python script to show what I am trying to
> achieve, ultimately my goal may be a bit more complicated than I first make
> it seem so I shall create a breif mock up how I intend my the tree view of
> my GUI to look.
>
>
> ====================TreeVew====================
> | Install | Name | Info |
> |
> | \/ | //Pidgin////////// |
> [Info]| |
> | \/ | //Banshee////// |
> [info]| |
> |
> |
> |
> |
> |
> |
> |
> |
> |
> |
> |
> |
> |
> |
> |
> |
> ==============================================
>
> Key
> \/ = Check box
> [?] = Button, where ? is button label
> //???//////// = Progress bar where ??? is progress bar label
>
> As you can see I'm attempting to embed other widgets inside a treeview, now
> I know it can be done with check boxes, I can see it with ubuntu update
> manager and sound juicer (my apologies for using examples that may not be
> familiar with non-Linux pygtk developers).
>
> Can it be done? If so, how can I quickly build it using glade and python
> just so I can demonstrate gui designs before full implementation?
>
> Many thanks
> Neil Munro
>
> _______________________________________________
> pygtk mailing list pygtk at daa.com.au
> http://www.daa.com.au/mailman/listinfo/pygtk
> Read the PyGTK FAQ: http://faq.pygtk.org/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.daa.com.au/pipermail/pygtk/attachments/20081213/a3527a41/attachment.htm
More information about the pygtk
mailing list