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.
245 lines
14 KiB
245 lines
14 KiB
14 years ago
|
|
||
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN
|
||
|
"http://www.w3.org/TR/html4/loose.dtd"">
|
||
|
<html>
|
||
|
<head>
|
||
12 years ago
|
<title>class TDEPopupMenu</title>
|
||
14 years ago
|
<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%">
|
||
12 years ago
|
<h1>class TDEPopupMenu</h1><hr>
|
||
14 years ago
|
</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>
|
||
13 years ago
|
<tr><td align="right"><a href="index.html">tdeui Classes</a></td></tr>
|
||
14 years ago
|
<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>
|
||
13 years ago
|
<td width="30%" align=left>tdeui</td>
|
||
14 years ago
|
</tr>
|
||
|
<tr><td>Class</td>
|
||
12 years ago
|
<td>TDEPopupMenu</td>
|
||
14 years ago
|
</tr>
|
||
|
<tr><td>Inherits</td>
|
||
13 years ago
|
<td>TQPopupMenu </td>
|
||
14 years ago
|
</tr>
|
||
|
</table>
|
||
|
<h3>methods</h3><ul>
|
||
12 years ago
|
<li><b>TDEPopupMenu</b> (parent = 0, name = 0)
|
||
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>a TDEPopupMenu instance</i></td></tr>
|
||
14 years ago
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
||
13 years ago
|
<tr><td>parent</td><td>TQWidget</td><td>0</td></tr>
|
||
14 years ago
|
<tr><td>name</td><td>char</td><td>0</td></tr>
|
||
|
</table>
|
||
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
||
12 years ago
|
<li><b>TDEPopupMenu</b> (title, parent = 0, name = 0)
|
||
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>a TDEPopupMenu instance</i></td></tr>
|
||
14 years ago
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
||
13 years ago
|
<tr><td>title</td><td>TQString</td><td></td></tr>
|
||
|
<tr><td>parent</td><td>TQWidget</td><td>0</td></tr>
|
||
14 years ago
|
<tr><td>name</td><td>char</td><td>0</td></tr>
|
||
|
</table>
|
||
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
||
|
<li><b>aboutToShowContextMenu</b> (menu, menuItem, ctxMenu)
|
||
|
<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>
|
||
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
||
12 years ago
|
<tr><td>menu</td><td>TDEPopupMenu</td><td></td></tr>
|
||
14 years ago
|
<tr><td>menuItem</td><td>int</td><td></td></tr>
|
||
13 years ago
|
<tr><td>ctxMenu</td><td>TQPopupMenu</td><td></td></tr>
|
||
14 years ago
|
</table>
|
||
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
||
|
<li><b>activateItemAt</b> (index)
|
||
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
||
|
<tr><td>In versions KDE 3.4.0 and above only</td></tr>
|
||
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
||
|
<tr><td>index</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>changeTitle</b> (id, text)
|
||
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
||
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
||
|
<tr><td>id</td><td>int</td><td></td></tr>
|
||
13 years ago
|
<tr><td>text</td><td>TQString</td><td></td></tr>
|
||
14 years ago
|
</table>
|
||
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
||
|
<li><b>changeTitle</b> (id, icon, text)
|
||
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
||
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
||
|
<tr><td>id</td><td>int</td><td></td></tr>
|
||
13 years ago
|
<tr><td>icon</td><td>TQPixmap</td><td></td></tr>
|
||
|
<tr><td>text</td><td>TQString</td><td></td></tr>
|
||
14 years ago
|
</table>
|
||
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
||
|
<li><b>closeEvent</b> (a0)
|
||
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
||
|
<tr><td>In versions KDE 3.1.0 and above only</td></tr>
|
||
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
||
13 years ago
|
<tr><td>a0</td><td>TQCloseEvent</td><td></td></tr>
|
||
14 years ago
|
</table>
|
||
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
||
|
<li><b>contextMenu</b> ()
|
||
13 years ago
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQPopupMenu)</i></td></tr>
|
||
14 years ago
|
<tr><td>In versions KDE 3.2.0 and above only</td></tr>
|
||
|
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
||
|
<li><b>contextMenuEvent</b> (e)
|
||
|
<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>
|
||
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
||
13 years ago
|
<tr><td>e</td><td>TQContextMenuEvent</td><td></td></tr>
|
||
14 years ago
|
</table>
|
||
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
||
|
<li><b>contextMenuFocus</b> ()
|
||
12 years ago
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TDEPopupMenu)</i></td></tr>
|
||
14 years ago
|
<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>contextMenuFocusItem</b> ()
|
||
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(int)</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>ctxMenuHideShowingMenu</b> ()
|
||
|
<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>
|
||
|
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
||
|
<li><b>ctxMenuHiding</b> ()
|
||
|
<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>
|
||
|
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
||
|
<li><b>focusNextPrevChild</b> (next)
|
||
|
<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>
|
||
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
||
|
<tr><td>next</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>hideContextMenu</b> ()
|
||
|
<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>
|
||
|
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
||
|
<li><b>hideEvent</b> (a0)
|
||
|
<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>
|
||
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
||
13 years ago
|
<tr><td>a0</td><td>TQHideEvent</td><td></td></tr>
|
||
14 years ago
|
</table>
|
||
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
||
|
<li><b>insertTitle</b> (text, id = -1, index = -1)
|
||
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(int)</i></td></tr>
|
||
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
||
13 years ago
|
<tr><td>text</td><td>TQString</td><td></td></tr>
|
||
14 years ago
|
<tr><td>id</td><td>int</td><td>-1</td></tr>
|
||
|
<tr><td>index</td><td>int</td><td>-1</td></tr>
|
||
|
</table>
|
||
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
||
|
<li><b>insertTitle</b> (icon, text, id = -1, index = -1)
|
||
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(int)</i></td></tr>
|
||
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
||
13 years ago
|
<tr><td>icon</td><td>TQPixmap</td><td></td></tr>
|
||
|
<tr><td>text</td><td>TQString</td><td></td></tr>
|
||
14 years ago
|
<tr><td>id</td><td>int</td><td>-1</td></tr>
|
||
|
<tr><td>index</td><td>int</td><td>-1</td></tr>
|
||
|
</table>
|
||
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
||
|
<li><b>itemHighlighted</b> (whichItem)
|
||
|
<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>
|
||
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
||
|
<tr><td>whichItem</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>keyPressEvent</b> (e)
|
||
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
||
|
<tr><td>In versions KDE 3.1.0 and above only</td></tr>
|
||
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
||
13 years ago
|
<tr><td>e</td><td>TQKeyEvent</td><td></td></tr>
|
||
14 years ago
|
</table>
|
||
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
||
|
<li><b>mousePressEvent</b> (e)
|
||
|
<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>
|
||
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
||
13 years ago
|
<tr><td>e</td><td>TQMouseEvent</td><td></td></tr>
|
||
14 years ago
|
</table>
|
||
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
||
|
<li><b>mouseReleaseEvent</b> (e)
|
||
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
||
|
<tr><td>In versions KDE 3.4.0 and above only</td></tr>
|
||
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
||
13 years ago
|
<tr><td>e</td><td>TQMouseEvent</td><td></td></tr>
|
||
14 years ago
|
</table>
|
||
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
||
|
<li><b>resetKeyboardVars</b> (noMatches = 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.1.0 and above only</td></tr>
|
||
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
||
|
<tr><td>noMatches</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>setKeyboardShortcutsEnabled</b> (enable)
|
||
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
||
|
<tr><td>In versions KDE 3.1.0 and above only</td></tr>
|
||
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
||
|
<tr><td>enable</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>setKeyboardShortcutsExecute</b> (enable)
|
||
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
||
|
<tr><td>In versions KDE 3.1.0 and above only</td></tr>
|
||
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
||
|
<tr><td>enable</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>setTitle</b> (title)
|
||
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
||
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
||
13 years ago
|
<tr><td>title</td><td>TQString</td><td></td></tr>
|
||
14 years ago
|
</table>
|
||
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
||
|
<li><b>showCtxMenu</b> (pos)
|
||
|
<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>
|
||
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
||
13 years ago
|
<tr><td>pos</td><td>TQPoint</td><td></td></tr>
|
||
14 years ago
|
</table>
|
||
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
||
|
<li><b>state</b> ()
|
||
13 years ago
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQt.ButtonState)</i></td></tr>
|
||
14 years ago
|
<tr><td>In versions KDE 3.4.0 and above only</td></tr>
|
||
|
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
||
|
<li><b>title</b> (id = -1)
|
||
13 years ago
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQString)</i></td></tr>
|
||
14 years ago
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
||
|
<tr><td>id</td><td>int</td><td>-1</td></tr>
|
||
|
</table>
|
||
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
||
|
<li><b>titlePixmap</b> (id)
|
||
13 years ago
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQPixmap)</i></td></tr>
|
||
14 years ago
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
||
|
<tr><td>id</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>underlineText</b> (text, length)
|
||
13 years ago
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQString)</i></td></tr>
|
||
14 years ago
|
<tr><td>In versions KDE 3.1.0 and above only</td></tr>
|
||
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
||
13 years ago
|
<tr><td>text</td><td>TQString</td><td></td></tr>
|
||
14 years ago
|
<tr><td>length</td><td>uint</td><td></td></tr>
|
||
|
</table>
|
||
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
||
|
</ul>
|
||
|
|
||
|
</body>
|
||
|
</html>
|