You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
305 lines
16 KiB
305 lines
16 KiB
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN
|
|
"http://www.w3.org/TR/html4/loose.dtd"">
|
|
<html>
|
|
<head>
|
|
<title>class KWin</title>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
|
<meta name="GENERATOR" content="wabbit dumphtml">
|
|
</head>
|
|
<body>
|
|
<h4>PyKDE - Python Bindings for KDE</h4>
|
|
<hr>
|
|
<table width="100%"><tr>
|
|
<td width ="70%">
|
|
<h1>class KWin</h1><hr>
|
|
</td>
|
|
<td width="30%" valign="top" align="right">
|
|
<table>
|
|
<tr><td align="right"><a href="doc/index.html">Table of contents</a></td></tr>
|
|
<tr><td align="right"><a href="../index.html">Modules</a></td></tr>
|
|
<tr><td align="right"><a href="index.html">kdecore Classes</a></td></tr>
|
|
<tr><td align="right"><a href="../allclasses.html">All Classes</a></td></tr>
|
|
</table>
|
|
</td>
|
|
</tr></table>
|
|
<table>
|
|
<tr><td width="10%" align=left>Module</td>
|
|
<td width="30%" align=left>kdecore</td>
|
|
</tr>
|
|
<tr><td>Class</td>
|
|
<td>KWin</td>
|
|
</tr>
|
|
<tr><td>Inherits</td>
|
|
<td> </td>
|
|
</tr>
|
|
</table>
|
|
<h3>enums</h3><ul>
|
|
<li><b>IconSource</b> = {NETWM = 1, WMHints = 2, ClassHint = 4, XApp = 8
|
|
}</ul>
|
|
<h3>methods</h3><ul>
|
|
<li><b>activateWindow</b> (win, time = 0)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
|
<tr><td>In versions KDE 3.2.0 and above only</td></tr>
|
|
<tr><td><i>static</i></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>win</td><td>WId</td><td></td></tr>
|
|
<tr><td>time</td><td>long</td><td>0</td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>allowedActionsSupported</b> ()
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(bool)</i></td></tr>
|
|
<tr><td>In versions KDE 3.2.0 and above only</td></tr>
|
|
<tr><td><i>static</i></td></tr>
|
|
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>appStarted</b> ()
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
|
<tr><td><i>static</i></td></tr>
|
|
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>clearState</b> (win, state)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
|
<tr><td><i>static</i></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>win</td><td>WId</td><td></td></tr>
|
|
<tr><td>state</td><td>ulong</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>currentDesktop</b> ()
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(int)</i></td></tr>
|
|
<tr><td><i>static</i></td></tr>
|
|
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>deIconifyWindow</b> (win, animation = 1)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
|
<tr><td><i>static</i></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>win</td><td>WId</td><td></td></tr>
|
|
<tr><td>animation</td><td>bool</td><td>1</td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>demandAttention</b> (win, set = 1)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
|
<tr><td>In versions KDE 3.2.0 and above only</td></tr>
|
|
<tr><td><i>static</i></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>win</td><td>WId</td><td></td></tr>
|
|
<tr><td>set</td><td>bool</td><td>1</td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>forceActiveWindow</b> (win, time = 0)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
|
<tr><td>In versions KDE 3.2.0 and above only</td></tr>
|
|
<tr><td><i>static</i></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>win</td><td>WId</td><td></td></tr>
|
|
<tr><td>time</td><td>long</td><td>0</td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>groupLeader</b> (window)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(WId)</i></td></tr>
|
|
<tr><td>In versions KDE 3.2.0 and above only</td></tr>
|
|
<tr><td><i>static</i></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>window</td><td>WId</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>icccmCompliantMappingState</b> ()
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(bool)</i></td></tr>
|
|
<tr><td>In versions KDE 3.2.0 and above only</td></tr>
|
|
<tr><td><i>static</i></td></tr>
|
|
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>icon</b> (win, width = -1, height = -1, scale = 0)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(QPixmap)</i></td></tr>
|
|
<tr><td><i>static</i></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>win</td><td>WId</td><td></td></tr>
|
|
<tr><td>width</td><td>int</td><td>-1</td></tr>
|
|
<tr><td>height</td><td>int</td><td>-1</td></tr>
|
|
<tr><td>scale</td><td>bool</td><td>0</td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>icon</b> (win, width, height, scale, flags)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(QPixmap)</i></td></tr>
|
|
<tr><td>In versions KDE 3.2.0 and above only</td></tr>
|
|
<tr><td><i>static</i></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>win</td><td>WId</td><td></td></tr>
|
|
<tr><td>width</td><td>int</td><td></td></tr>
|
|
<tr><td>height</td><td>int</td><td></td></tr>
|
|
<tr><td>scale</td><td>bool</td><td></td></tr>
|
|
<tr><td>flags</td><td>int</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>iconifyWindow</b> (win, animation = 1)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
|
<tr><td><i>static</i></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>win</td><td>WId</td><td></td></tr>
|
|
<tr><td>animation</td><td>bool</td><td>1</td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>info</b> (win)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(KWin.Info)</i></td></tr>
|
|
<tr><td><i>static</i></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>win</td><td>WId</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>invokeContextHelp</b> ()
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
|
<tr><td><i>static</i></td></tr>
|
|
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>lowerWindow</b> (win)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
|
<tr><td>In versions KDE 3.2.0 and above only</td></tr>
|
|
<tr><td><i>static</i></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>win</td><td>WId</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>numberOfDesktops</b> ()
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(int)</i></td></tr>
|
|
<tr><td><i>static</i></td></tr>
|
|
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>raiseWindow</b> (win)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
|
<tr><td>In versions KDE 3.2.0 and above only</td></tr>
|
|
<tr><td><i>static</i></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>win</td><td>WId</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>readNameProperty</b> (window, atom)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(QString)</i></td></tr>
|
|
<tr><td>In versions KDE 3.2.0 and above only</td></tr>
|
|
<tr><td><i>static</i></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>window</td><td>WId</td><td></td></tr>
|
|
<tr><td>atom</td><td>ulong</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>setActiveWindow</b> (win)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
|
<tr><td><i>static</i></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>win</td><td>WId</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>setCurrentDesktop</b> (desktop)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
|
<tr><td><i>static</i></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>desktop</td><td>int</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>setExtendedStrut</b> (win, left_width, left_start, left_end, right_width, right_start, right_end, top_width, top_start, top_end, bottom_width, bottom_start, bottom_end)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
|
<tr><td>In versions KDE 3.3.0 and above only</td></tr>
|
|
<tr><td><i>static</i></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>win</td><td>WId</td><td></td></tr>
|
|
<tr><td>left_width</td><td>int</td><td></td></tr>
|
|
<tr><td>left_start</td><td>int</td><td></td></tr>
|
|
<tr><td>left_end</td><td>int</td><td></td></tr>
|
|
<tr><td>right_width</td><td>int</td><td></td></tr>
|
|
<tr><td>right_start</td><td>int</td><td></td></tr>
|
|
<tr><td>right_end</td><td>int</td><td></td></tr>
|
|
<tr><td>top_width</td><td>int</td><td></td></tr>
|
|
<tr><td>top_start</td><td>int</td><td></td></tr>
|
|
<tr><td>top_end</td><td>int</td><td></td></tr>
|
|
<tr><td>bottom_width</td><td>int</td><td></td></tr>
|
|
<tr><td>bottom_start</td><td>int</td><td></td></tr>
|
|
<tr><td>bottom_end</td><td>int</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>setIcons</b> (win, icon, miniIcon)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
|
<tr><td><i>static</i></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>win</td><td>WId</td><td></td></tr>
|
|
<tr><td>icon</td><td>QPixmap</td><td></td></tr>
|
|
<tr><td>miniIcon</td><td>QPixmap</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>setOnAllDesktops</b> (win, b)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
|
<tr><td><i>static</i></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>win</td><td>WId</td><td></td></tr>
|
|
<tr><td>b</td><td>bool</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>setOnDesktop</b> (win, desktop)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
|
<tr><td><i>static</i></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>win</td><td>WId</td><td></td></tr>
|
|
<tr><td>desktop</td><td>int</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>setState</b> (win, state)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
|
<tr><td><i>static</i></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>win</td><td>WId</td><td></td></tr>
|
|
<tr><td>state</td><td>ulong</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>setStrut</b> (win, left, right, top, bottom)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
|
<tr><td><i>static</i></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>win</td><td>WId</td><td></td></tr>
|
|
<tr><td>left</td><td>int</td><td></td></tr>
|
|
<tr><td>right</td><td>int</td><td></td></tr>
|
|
<tr><td>top</td><td>int</td><td></td></tr>
|
|
<tr><td>bottom</td><td>int</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>setSystemTrayWindowFor</b> (trayWin, forWin)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
|
<tr><td><i>static</i></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>trayWin</td><td>WId</td><td></td></tr>
|
|
<tr><td>forWin</td><td>WId</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>setType</b> (win, windowType)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
|
<tr><td><i>static</i></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>win</td><td>WId</td><td></td></tr>
|
|
<tr><td>windowType</td><td>NET.WindowType</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>setUserTime</b> (win, time)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
|
<tr><td>In versions KDE 3.2.0 and above only</td></tr>
|
|
<tr><td><i>static</i></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>win</td><td>WId</td><td></td></tr>
|
|
<tr><td>time</td><td>long</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>transientFor</b> (window)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(WId)</i></td></tr>
|
|
<tr><td>In versions KDE 3.2.0 and above only</td></tr>
|
|
<tr><td><i>static</i></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>window</td><td>WId</td><td></td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
<li><b>windowInfo</b> (win, properties = 0, properties2 = 0)
|
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(KWin.WindowInfo)</i></td></tr>
|
|
<tr><td>In versions KDE 3.2.0 and above only</td></tr>
|
|
<tr><td><i>static</i></td></tr>
|
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
|
<tr><td>win</td><td>WId</td><td></td></tr>
|
|
<tr><td>properties</td><td>ulong</td><td>0</td></tr>
|
|
<tr><td>properties2</td><td>ulong</td><td>0</td></tr>
|
|
</table>
|
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
|
</ul>
|
|
|
|
</body>
|
|
</html>
|