Album view custom widget

View: New views
3 Messages — Rating Filter:   Alert me  

Album view custom widget

by Fallenblood :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello.
I'm trying to implement something like this:
http://www.softpedia.com/screenshots/Microsoft-Windows-Media-Player-11_1.png
An image on the left, followed by some links that turn into entries,
contained in a single cell that spans over all of the rows to the
right.
However, being new to pygtk, I haven't got the slightest clue how to
approach the problem. Is it possible to make a CellRenderer that spans
over multiple rows? Or one that draws a VBox?
_______________________________________________
pygtk mailing list   pygtk@...
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Widgets for audio player

by Vláďa :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Greetings,

I got quite disappointed with almost all audio players and decided to
make one myself which would fulfill my needs. It should be similar to my
foobar2000 configuration which looks like this:

http://img297.imageshack.us/img297/5341/foobar2000fe6.png

I'm not talking about the graphics, which is stolen from WMP anyway, but
I mean the layout and functionality. I'm wondering what widgets I should
use. For the left panel (dynamic playlists) it's clear - gtk.TreeView.
Now what about the filter panels, which widget would you suggest? I was
thinking about a table with just one column. Is it a good idea?

And now the most complicated part - the playlist. Table or TreeView? Or
something else? Can I join more rows and columns in TreeView? Also what
about performance, I might have more then 10 000 tracks in the playlist.
What will be faster?

Please help me to choose the correct widgets so I won't have to spend
many hours experimenting. Thank you.


Best regards,
Vlada
_______________________________________________
pygtk mailing list   pygtk@...
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Re: Widgets for audio player

by milosz derezynski :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

For reasonable functionality support in the playlist (filtering, for example) and more than let's say 2000 or 3000 rows, you'll much better off writing an own list widget; it's not very complicated if you figure out the basics of doing it, one hard part with the current Gtk+ theming is to theme the widget so that it resembles a treeview (which is useful because that's what people will be used to 99% of the time when using a 'list' with Gtk+).

2008/8/17 Vláďa <vladovi@...>
Greetings,

I got quite disappointed with almost all audio players and decided to
make one myself which would fulfill my needs. It should be similar to my
foobar2000 configuration which looks like this:

http://img297.imageshack.us/img297/5341/foobar2000fe6.png

I'm not talking about the graphics, which is stolen from WMP anyway, but
I mean the layout and functionality. I'm wondering what widgets I should
use. For the left panel (dynamic playlists) it's clear - gtk.TreeView.
Now what about the filter panels, which widget would you suggest? I was
thinking about a table with just one column. Is it a good idea?

And now the most complicated part - the playlist. Table or TreeView? Or
something else? Can I join more rows and columns in TreeView? Also what
about performance, I might have more then 10 000 tracks in the playlist.
What will be faster?

Please help me to choose the correct widgets so I won't have to spend
many hours experimenting. Thank you.


Best regards,
Vlada
_______________________________________________
pygtk mailing list   pygtk@...
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/



--
Please note that according to the German law on data retention,
information on every electronic information exchange with me is
retained for a period of six months.
[Bitte beachten Sie, dass dem Gesetz zur Vorratsdatenspeicherung zufolge
jeder elektronische Kontakt mit mir sechs Monate lang gespeichert wird.]

_______________________________________________
pygtk mailing list   pygtk@...
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/