PyKDE - Python Bindings for KDE
class KWidgetAction
Table of contents
Modules
kdeui Classes
All Classes
Module
kdeui
Class
KWidgetAction
Inherits
KAction
methods
KWidgetAction
(a0, a1, a2, slot, a5, a6)
returns
a KWidgetAction instance
In versions KDE 3.1.0 and above, but
less than
KDE 3.2.0
Argument
Type
Default
a0
QWidget
a1
QString
a2
KShortcut
slot
SLOT
(Python callable)
a5
KActionCollection
a6
char
KWidgetAction
(widget, text, cut, slot, parent, name)
returns
a KWidgetAction instance
In versions KDE 3.2.0 and above only
Argument
Type
Default
widget
QWidget
text
QString
cut
KShortcut
slot
SLOT
(Python callable)
parent
KActionCollection
name
char
plug
(a0, a1 = -1)
returns
(int)
In versions KDE 3.1.0 and above, but
less than
KDE 3.2.0
Argument
Type
Default
a0
QWidget
a1
int
-1
plug
(widget, index = -1)
returns
(int)
In versions KDE 3.2.0 and above only
Argument
Type
Default
widget
QWidget
index
int
-1
setAutoSized
(a0)
returns
nothing
In versions KDE 3.1.0 and above, but
less than
KDE 3.2.0
Argument
Type
Default
a0
bool
setAutoSized
(a0)
returns
nothing
In versions KDE 3.2.0 and above only
Argument
Type
Default
a0
bool
slotToolbarDestroyed
()
returns
nothing
In versions KDE 3.1.0 and above, but
less than
KDE 3.2.0
slotToolbarDestroyed
()
returns
nothing
In versions KDE 3.2.0 and above only
unplug
(a0)
returns
nothing
In versions KDE 3.1.0 and above, but
less than
KDE 3.2.0
Argument
Type
Default
a0
QWidget
unplug
(w)
returns
nothing
In versions KDE 3.2.0 and above only
Argument
Type
Default
w
QWidget
virtual_hook
(a0, a1)
returns
nothing
In versions KDE 3.1.0 and above, but
less than
KDE 3.2.0
Argument
Type
Default
a0
int
a1
void
widget
()
returns
(QWidget)
In versions KDE 3.1.0 and above, but
less than
KDE 3.2.0
widget
()
returns
(QWidget)
In versions KDE 3.2.0 and above only