PyKDE - Python Bindings for KDE
class KParts.PartManager
Table of contents
Modules
tdeparts Classes
All Classes
Module
tdeparts
Class
KParts.PartManager
Inherits
TQObject
enums
Reason
= {ReasonLeftClick, ReasonMidClick, ReasonRightClick, NoReason }
SelectionPolicy
= {Direct, TriState }
methods
PartManager
(parent, name = 0)
returns
a PartManager instance
Argument
Type
Default
parent
TQWidget
name
char
0
PartManager
(topLevel, parent, name = 0)
returns
a PartManager instance
Argument
Type
Default
topLevel
TQWidget
parent
TQObject
name
char
0
activationButtonMask
()
returns
(short)
In versions KDE 3.1.0 and above only
activePart
()
returns
(KParts.Part)
activePartChanged
(newPart)
returns
nothing
Argument
Type
Default
newPart
KParts.Part
activeWidget
()
returns
(TQWidget)
addManagedTopLevelWidget
(topLevel)
returns
nothing
Argument
Type
Default
topLevel
TQWidget
addPart
(part, setActive = 1)
returns
nothing
Argument
Type
Default
part
KParts.Part
setActive
bool
1
allowNestedParts
()
returns
(bool)
eventFilter
(obj, ev)
returns
(bool)
Argument
Type
Default
obj
TQObject
ev
TQEvent
ignoreScrollBars
()
returns
(bool)
partAdded
(part)
returns
nothing
Argument
Type
Default
part
KParts.Part
partRemoved
(part)
returns
nothing
Argument
Type
Default
part
KParts.Part
parts
()
returns
(TQPtrList
)
reason
()
returns
(int)
In versions KDE 3.3.0 and above only
removeManagedTopLevelWidget
(topLevel)
returns
nothing
Argument
Type
Default
topLevel
TQWidget
removePart
(part)
returns
nothing
Argument
Type
Default
part
KParts.Part
replacePart
(oldPart, newPart, setActive = 1)
returns
nothing
Argument
Type
Default
oldPart
KParts.Part
newPart
KParts.Part
setActive
bool
1
selectedPart
()
returns
(KParts.Part)
selectedWidget
()
returns
(TQWidget)
selectionPolicy
()
returns
(KParts.PartManager.SelectionPolicy)
setActivationButtonMask
(buttonMask)
returns
nothing
In versions KDE 3.1.0 and above only
Argument
Type
Default
buttonMask
short
setActiveInstance
(instance)
returns
nothing
Argument
Type
Default
instance
TDEInstance
setActivePart
(part, widget = 0)
returns
nothing
Argument
Type
Default
part
KParts.Part
widget
TQWidget
0
setAllowNestedParts
(allow)
returns
nothing
Argument
Type
Default
allow
bool
setIgnoreScrollBars
(ignore)
returns
nothing
Argument
Type
Default
ignore
bool
setSelectedPart
(part, widget = 0)
returns
nothing
Argument
Type
Default
part
KParts.Part
widget
TQWidget
0
setSelectionPolicy
(policy)
returns
nothing
Argument
Type
Default
policy
KParts.PartManager.SelectionPolicy
slotManagedTopLevelWidgetDestroyed
()
returns
nothing
slotObjectDestroyed
()
returns
nothing
slotWidgetDestroyed
()
returns
nothing