Re: Panel applet size allocation



On Tue, 29 Dec 2009 15:15:34 +0000
Tony Houghton <h realh co uk> wrote:

> I'm trying to write a panel applet in python which scales itself to fit
> the size of the panel (the height for horizontal panels and the width
> for vertical ones). But I can't find a way to find the true size of the
> panel.

I've found out what was wrong, it's because the python binding for
panel_applet_set_flags() isn't Applet.set_flags() as expected, because
that would clash with a GObject method. Instead I should have used
Applet.set_applet_flags().

-- 
TH * http://www.realh.co.uk


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