Re: [kde-linux] Current window title
- From: Kevin Krammer <kevin.krammer@xxxxxx>
- Date: Mon, 21 May 2007 11:51:36 +0200
On Monday 21 May 2007, Luciano ES wrote:
Can I get the current window's title/caption with DCOP? For example:
"Current window title - KMail" - that's what I see right now.
How?
Depends what exactly you are looking for.
For example getting KMail's window title (caption) works like this#
% dcop kmail kmail-mainwindow#1 caption
However it is not possible to query KWin for the currently active window, you
can only ask the window if it is the active one
% dcop kmail kmail-mainwindow#1 isActiveWindow
Cheers,
Kevin
--
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring
Attachment:
pgpG9wndF4VuQ.pgp
Description: PGP signature
This message is from the kde-linux mailing list.
Account management: https://mail.kde.org/mailman/listinfo/kde-linux.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.
- References:
- [kde-linux] Current window title
- From: Luciano ES
- [kde-linux] Current window title
- Prev by Date: [kde-linux] Current window title
- Next by Date: [kde-linux] pdf icons in Konqueror
- Previous by thread: [kde-linux] Current window title
- Next by thread: [kde-linux] Current window title
- Index(es):
Relevant Pages
|