PyKDE - Python Bindings for KDE
class KPanelApplet
Table of contents
Modules
tdeui Classes
All Classes
Module
tdeui
Class
KPanelApplet
Inherits
TQFrame
enums
Action
= {About, Help, Preferences, ReportBug }
Alignment
= {LeftTop, Center, RightBottom }
Direction
= {Up, Down, Left, Right }
Position
= {pLeft, pRight, pTop, pBottom }
Type
= {Normal, Stretch }
methods
KPanelApplet
(configFile, t = Normal, actions = 0, parent = 0, name = 0, f = 0)
returns
a KPanelApplet instance
Argument
Type
Default
configFile
TQString
t
KPanelApplet.Type
Normal
actions
int
0
parent
TQWidget
0
name
char
0
f
WFlags
0
about
()
returns
nothing
action
(a)
returns
nothing
Argument
Type
Default
a
KPanelApplet.Action
actions
()
returns
(int)
alignment
()
returns
(KPanelApplet.Alignment)
alignmentChange
(a0)
returns
nothing
Argument
Type
Default
a0
KPanelApplet.Alignment
config
()
returns
(TDEConfig)
customMenu
()
returns
(TQPopupMenu)
In versions KDE 3.2.0 and above only
eventFilter
(a0, a1)
returns
(bool)
In versions KDE 3.4.0 and above only
Argument
Type
Default
a0
TQObject
a1
TQEvent
heightForWidth
(width)
returns
(int)
Argument
Type
Default
width
int
help
()
returns
nothing
needsFocus
(focus)
returns
nothing
In versions KDE 3.4.0 and above only
Argument
Type
Default
focus
bool
orientation
()
returns
(Orientation)
orientationChange
(a0)
returns
nothing
Argument
Type
Default
a0
Orientation
popupDirection
()
returns
(Direction)
popupDirectionChange
(a0)
returns
nothing
Argument
Type
Default
a0
KPanelApplet.Direction
position
()
returns
(KPanelApplet.Position)
positionChange
(p)
returns
nothing
Argument
Type
Default
p
KPanelApplet.Position
preferences
()
returns
nothing
reportBug
()
returns
nothing
requestFocus
()
returns
nothing
requestFocus
(focus)
returns
nothing
In versions KDE 3.4.0 and above only
Argument
Type
Default
focus
bool
setAlignment
(a)
returns
nothing
Argument
Type
Default
a
KPanelApplet.Alignment
setCustomMenu
(a0)
returns
nothing
In versions KDE 3.2.0 and above only
Argument
Type
Default
a0
TQPopupMenu
setPosition
(p)
returns
nothing
Argument
Type
Default
p
KPanelApplet.Position
sharedConfig
()
returns
(KSharedConfig.Ptr)
In versions KDE 3.2.0 and above only
type
()
returns
(Type)
updateLayout
()
returns
nothing
watchForFocus
(widget, watch = 1)
returns
nothing
In versions KDE 3.4.0 and above only
Argument
Type
Default
widget
TQWidget
watch
bool
1
widthForHeight
(height)
returns
(int)
Argument
Type
Default
height
int