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

List:       kde-devel
Subject:    Re: Using The KDE 3.5 API
From:       "A.J. Venter" <aj () outkastsolutions ! co ! za>
Date:       2010-10-20 7:15:26
Message-ID: AANLkTikez23yMdQLxtaWU8kO_VHLdL-cnUT-fdJ_Ys_8 () mail ! gmail ! com
[Download RAW message or body]

Does this need to be a KDE app ?
Unless you intend to do other KDE actions with it I don't see why this
benefits you ? If you want a KDE interface it makes sense, but if all
you want to do is a get a list of windows - possibly for a commandline
app or a daemon to use, then depending on KDElibs is a bit of an
overkill and not-to-mention will hugely add to the resource needs of
what is otherwise a very simple thing to do.
This is already supported in xlibs and there is even a reference app
that uses it in xlsclients, writing a C++ version that does only what
you need seems more sensible unless you do in fact want a GUI.
If you do, then by all means, write it for KDE please :D

On Tue, Oct 19, 2010 at 11:10 PM, Thomas Lübking <thomas.luebking@web.de> wrote:
> For KDE4 - KWindowSystem::windows() (have a look at kde:kwindowsystem) - sth.
> similar should have been available for 3.x.
> It provides a list that you can match against  KWindowInfo::windowClassClass()
> & KWindowInfo::windowClassName()
>
> Notice that this does _not_ catch running processes w/o any windows (but it
> can actually tell you whether a *window* is available ;-)
>
> Am Tuesday 19 October 2010 schrieb Leonel Florin Selles:
>> Hello friends, I need some guidance:
>>
>> I want to create an application using the KDE's API, I do not know if this
>> term is properly used for what I want to do (KDE's API).but the point is
>> that I want to make an application in C + + to detect when I have an open
>> window like for example the PSI Client, or the web browser, or anyone that
>> I choose.
>>
>> Anyone can advise me on which libraries should I use or should I study to
>> investigate to achieve my goal.
>>
>> greetings in advance and I hope you can help me.
>>
>> >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to
>> >> unsubscribe <<
>
>
>>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
>



-- 
A.J. Venter
Founder and lead developer, Kongoni GNU/Linux
www.kongoni.co.za
www.silentcoder.co.za - Blog
 
>> 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