From kde-devel Sat Apr 16 18:08:45 2005 From: LiuCougar Date: Sat, 16 Apr 2005 18:08:45 +0000 To: kde-devel Subject: Re: Thoughts on the systray II. Message-Id: <9558067805041611083c3e9808 () mail ! gmail ! com> X-MARC-Message: https://marc.info/?l=kde-devel&m=111367498217500 On 4/16/05, Aaron J. Seigo wrote: > On Saturday 16 April 2005 08:00, LiuCougar wrote: > > Because it requires a lot of other logic/codes, and skim has its own > > plugin system. > > you wouldn't have to put the application into the applet; it's just a question > of what the interface to skim is. currently, the applet communicates with skim using dcop and it contains several dcop signals/slots, which is connected to/called by skim. In fact, the code of the applet is very simple, if you want, you may have a look at the code online: http://cvs.sourceforge.net/viewcvs.py/scim/skim/plugins/mainwindow/applet/skimapplet.h?rev=1.4&view=auto http://cvs.sourceforge.net/viewcvs.py/scim/skim/plugins/mainwindow/applet/skimapplet.cpp?rev=1.5&view=auto and you can find some screenshot for skim here: http://www.scim-im.org/galleries/skim_screenshots > > "reparent it (in-process even) to another > > window": is the "another window" in a separate process or in the same > > one? > > it could be either. you could launch a new process or create a window in the > same process. I assumed that the "reparent" window referred to QWidget::reparent(), or I was wrong? I think qwidget in a process is only accessible in its own application. Or do you mean X calls? then that's QXEmbed, isn't it? > > kicker applets can be achieved in a > > standalone application (another process, like skim) just like > > implementing a system tray icon: what required is to only sub-class a > > special class > > this would be highly limited in capability unless we use XEmbed which is not > something i'm interested in doing. Then in your proposal, applet is still a part of kicker process, right? Regards, Cougar -- "People's characters are strengthened through struggle against difficulties; they are weakened by comfort." - Old Chinese adage >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<