[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: Thoughts on the systray II.
From:       LiuCougar <liucougar () gmail ! com>
Date:       2005-04-16 18:08:45
Message-ID: 9558067805041611083c3e9808 () mail ! gmail ! com
[Download RAW message or body]

On 4/16/05, Aaron J. Seigo <aseigo@kde.org> 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 <<


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic