Re: Decorating scales

2009-01-06 Thread Matthias Clasen
On Tue, Jan 6, 2009 at 5:06 PM, Stefan Kost wrote: > > I would like that a lot. One thing slightly related is that I wonder if the > GtkAdjustment* could be hinted to the theme engines. E.g. for a Panorma > function > the adjustment would be -100 ... 100 or 1.0 ... 1.0. Right now most themes > d

Re: Decorating scales

2009-01-06 Thread Matthias Clasen
On Tue, Jan 6, 2009 at 3:40 PM, Mathias Hasselmann wrote: > Weren't the GtkCellRenderer/GtkCellLayout interfaces written exactly > for stuff like those marks? No, cell renderers are for rendering data in rectangular cells, like in tree or icon views. They are not meant to render decorations like

Re: Decorating scales

2009-01-06 Thread Stefan Kost
Matthias Clasen schrieb: > Over the Christmas vacation, I spent a day adding marks to scales. The > motivation for this came from the new sound preferences capplet, which > uses a GtkHScale for balance control. Jon did a nice job of adding > Left/Right labels (see the screenshot), but what is reall

Re: Call for talks - GNOME Devroom at FOSDEM 2009

2009-01-06 Thread Christophe Fergeau
Hello :) 2008/12/30 Christophe Fergeau : > As for the last few years, we'll have a GNOME devroom at FOSDEM (7/8 > feb in Brussels), and as always, we want *YOU* to give a talk about > the cool project you are hacking on in this devroom > [...] > Please send your talk proposals before Friday 9 Janu

Re: Decorating scales

2009-01-06 Thread Mathias Hasselmann
Am Dienstag, den 06.01.2009, 10:29 -0500 schrieb Matthias Clasen: > On Tue, Jan 6, 2009 at 12:55 AM, Tristan Van Berkom wrote: > > On Tue, Jan 6, 2009 at 12:41 AM, Yu Feng wrote: > >> Hi, > >> > >> If GtkRange were a gtk container perhaps using gtk_container_xxx with > >> child_properties will be

Re: Decorating scales

2009-01-06 Thread Benjamin Berg
On Tue, 2009-01-06 at 13:07 -0500, Tristan Van Berkom wrote: > Some requirements we had: > - allow the knob to be an rgba pixbuf (we would just composite it when it >changed position in the trough, could we achieve nice round-edged sliders >with a child widget knob ? that would be ideal I

Re: Decorating scales

2009-01-06 Thread Tristan Van Berkom
On Tue, Jan 6, 2009 at 10:29 AM, Matthias Clasen wrote: > On Tue, Jan 6, 2009 at 12:55 AM, Tristan Van Berkom wrote: >> On Tue, Jan 6, 2009 at 12:41 AM, Yu Feng wrote: >>> Hi, >>> >>> If GtkRange were a gtk container perhaps using gtk_container_xxx with >>> child_properties will be an alternativ

Re: Decorating scales

2009-01-06 Thread Matthias Clasen
On Tue, Jan 6, 2009 at 12:55 AM, Tristan Van Berkom wrote: > On Tue, Jan 6, 2009 at 12:41 AM, Yu Feng wrote: >> Hi, >> >> If GtkRange were a gtk container perhaps using gtk_container_xxx with >> child_properties will be an alternative. GtkContainer also has bettern >> granularity - the programmer

Re: Decorating scales

2009-01-06 Thread Matthias Clasen
2009/1/6 Andrew Cowie : > On Tue, 2009-01-06 at 00:31 -0500, Matthias Clasen wrote: >> Over the Christmas vacation, I spent a day adding marks to scales. > > I can't speak to the implementation, but this is a lovely initiative. > I've long wished for something like this. > > ++ > > As a related mat

GdkDisplay for screensaver

2009-01-06 Thread umang gupta
[ This may not be completely related to gdk/gtk ] I m trying to implement "shutting down" screen for my system -ubuntu. while gnome-screensaver is active , on blank screen , I've to show my this shutdown screen. I used , display = gdk_display_get_default (); [using X11 ] screen = gdk_display_g

Re: Decorating scales

2009-01-06 Thread Andrew Cowie
On Tue, 2009-01-06 at 00:31 -0500, Matthias Clasen wrote: > Over the Christmas vacation, I spent a day adding marks to scales. I can't speak to the implementation, but this is a lovely initiative. I've long wished for something like this. ++ As a related matter; do you think that there would be