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
TQWidget
a1
TQString
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
TQWidget
text
TQString
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
TQWidget
a1
int
-1
plug
(widget, index = -1)
returns
(int)
In versions KDE 3.2.0 and above only
Argument
Type
Default
widget
TQWidget
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
TQWidget
unplug
(w)
returns
nothing
In versions KDE 3.2.0 and above only
Argument
Type
Default
w
TQWidget
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
(TQWidget)
In versions KDE 3.1.0 and above, but
less than
KDE 3.2.0
widget
()
returns
(TQWidget)
In versions KDE 3.2.0 and above only