Re: Multimedia widgets in GTK+?



On Thu, 2007-03-01 at 11:06 -0800, Brian J. Tarricone wrote:
> >- BaconVolumeWidget, living in the libbacon module in SVN. It's
> >currently used by a large number of applications, cut'n'pasted (Totem,
> >Rhythmbox, LastExit, Banshee, Muine, Sound-Juicer, possibly others).
> 
> I feel like this is a bit special-purpose and heavy for a GUI toolkit,
> no?  What kind of dependencies would it add to gtk?  Obviously the
> widget isn't very useful without an A/V framework backend, and I
> wouldn't want to see gtk depend on gstreamer, xine-lib, etc.

BaconVolume is just the widget, it doesn't actually control anything.
It is up to the application to connect to the changed signal and
implement the volume setting.

> >The other
> >difference is the ability to mark a "fraction", ie. the amount of data
> >already downloaded, and available for seeking. I can see Rhythmbox,
> >Totem, Banshee, and any other apps dealing with streaming media using
> >it.
> 
> You mean sorta how YouTube does the seek bar with the little red
> indicator that moves to the right as more data gets downloaded?  Yeah,
> that could be pretty useful, maybe in things other than multimedia
> apps.  But again, could this be implemented via extra API in an
> existing widget?

Isn't this gtk_range_set_fill_level() (new in GTK+ 2.12)?

Ross
-- 
Ross Burton                                 mail: ross burtonini com
                                          jabber: ross burtonini com
                                     www: http://www.burtonini.com./
 PGP Fingerprint: 1A21 F5B0 D8D0 CFE3 81D4 E25A 2D09 E447 D0B4 33DF

Attachment: signature.asc
Description: This is a digitally signed message part



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]