[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-panel-devel
Subject: Re: [Panel-devel] Setting the icon for a menuext
From: "Vinay Khaitan" <vkhaitan () gmail ! com>
Date: 2006-07-31 19:20:20
Message-ID: 56c534770607311208v1cf1c1e0m4e97569a1d9ce928 () mail ! gmail ! com
[Download RAW message or body]
I think, there is a hackish way.
A menuext knows about its parent. And also that, Qt Object framework
provided a way to search for required child by its name.
So, find out the the name of the child icon widget. I suppose it
should be something related to .desktop file. The after getting the
pointer, you can easily change the icon.
On 7/31/06, Aaron J. Seigo <aseigo@kde.org> wrote:
> On Monday 31 July 2006 4:03, Sion Dafydd wrote:
> > I'm writing a menuext for the panel, but I want to change the icon which
> > is displayed on the panel from within my code, can anybody give me any
> > pointers as to how to achieve this?
>
> you can't. one of the limitations of the design of the menuext facility.
>
> --
> Aaron J. Seigo
> Undulate Your Wantonness
> GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA EE75 D6B7 2EB1 A7F1 DB43
>
> Full time KDE developer sponsored by Trolltech (http://www.trolltech.com)
>
>
> _______________________________________________
> Panel-devel mailing list
> Panel-devel@kde.org
> https://mail.kde.org/mailman/listinfo/panel-devel
>
>
>
>
_______________________________________________
Panel-devel mailing list
Panel-devel@kde.org
https://mail.kde.org/mailman/listinfo/panel-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic