Re: status icon API



On Mon, 2003-04-14 at 17:13, Glynn Foster wrote:
> Hey there,
> 
> > 	So I've spent some more time thinking about the API. Hopefully, the
> > proposed API below is much closer to the mark than the last (lame) one.
> 
> One thing that the proposed API doesn't allow for is something that I've
> added to Battfink - a battery notification icon thing.
> 
> 	http://www.gnome.org/~gman/battfink-percentage.png
> 	http://www.gnome.org/~gman/battfink-time.png
> 
> which allows you to switch between displaying the time or percentage
> through the menu of the icon.

Why not? You'd have to jump through some gdk_pixbuf_from_drawable()
hoops to draw the text onto an "icon", but that's basically just
because our rendering APIs aren't good enough.

Regards,
                                             Owen





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