From kde-core-devel Wed Mar 29 15:49:37 2000 From: Graham TerMarsch Date: Wed, 29 Mar 2000 15:49:37 +0000 To: kde-core-devel Subject: Re: kpanelapplet.h X-MARC-Message: https://marc.info/?l=kde-core-devel&m=95434495023269 Matthias Elter wrote: > Matthias Ettrich wrote: > > The only benefit I see are the heightForWidth() and widthForHeight() functions. > > What's the purpose of KPanelApplet? Or better: what's wrong with KApplet that > > can't be fixed? > > Simplified API plus a KApplet never knows what size it actually will be > granted, a KPanelApplet does. Brings up the question, though, as to what happens if a KPanelApplet wants to resize itself? For example, I've got a themed clock applet that I've been working on here and the biggest issue that I have at the moment is that as a KApplet it can't resize itself and have the new size recognized by Kicker. Doesn't happen often, but each time a new theme is selected the size of the clock changes. Does KPanelApplet address this issue as well? -- Graham TerMarsch // ----------------------------------------------------------------- // Avoid reality at all costs. // -----------------------------------------------------------------