Re: Multimedia widgets in GTK+?



Hi,

Tim Janik wrote:
> On Fri, 9 Mar 2007, Stefan Kost wrote:
> 

...

>> * better ruler widgets
>>  yes, I reead the comments that rules wont be extended.
> 
> the gtk rulers have recently been extended to at least support fill-level.
> 
>>  anyway, I miss there:
>>  * disabling the arrows that listen to the mouse moves,
> 
> you can use scales without arrows in gtk, take a look at the above
> screenshot.

Just for the record:
GTK_RULER_GET_CLASS(ruler)->draw_pos = NULL;

is what I figured out to do to get rid of the moving handles.

Ciao
  Stefan

> 
>>  * logarithmic scales,
> 
> scale transformations can be implemented as adjustments, see for instance
> the logarithmic adjustments used in beast:
>  
> http://svn.gnome.org/viewcvs/beast/trunk/beast-gtk/gxk/gxklogadjustment.h?view=markup
> 
>  
> http://svn.gnome.org/viewcvs/beast/trunk/beast-gtk/gxk/gxklogadjustment.c?view=markup
> that code also contains a more generic GxkAdapterAdjustment which allows
> arbitrary adjustment value mappings - the beast implementation supports
> arbitrary
> spline curves for the value mapping of it's mixer meters:
>  
> http://svn.gnome.org/viewcvs/beast/trunk/beast-gtk/gxk/splinetest.c?view=markup
> 
> 
> 
>>  * a unit label
>>  * numbers/labels on *some* ticks
>>
>> Stefan
>>
> 
> ---
> ciaoTJ




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