#### PyKDE - Python Bindings for KDE

# class KPanelApplet

Table of contents
Modules
kdeui Classes
All Classes

Module | kdeui
Class | KPanelApplet
Inherits | QFrame

### enums

- Action = {About = 1, Help = 2, Preferences = 4, ReportBug = 8 }
- Alignment = {LeftTop = 0, Center, RightBottom }
- Direction = {Up = 0, Down, Left, Right }
- Position = {pLeft = 0, pRight, pTop, pBottom }
- Type = {Normal = 0, Stretch }

### methods

- KPanelApplet (configFile, t = Normal, actions = 0, parent = 0, name = 0, f = 0)

  returns a KPanelApplet instance

  Argument | Type | Default
  --- | --- | ---
  configFile | QString |
  t | KPanelApplet.Type | Normal
  actions | int | 0
  parent | QWidget | 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 (KConfig)

- customMenu ()

  returns (QPopupMenu)
  In versions KDE 3.2.0 and above only

- heightForWidth (width)

  returns (int)

  Argument | Type | Default
  --- | --- | ---
  width | int |

- help ()

  returns nothing

- 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

- 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 | QPopupMenu |

- 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

- widthForHeight (height)

  returns (int)

  Argument | Type | Default
  --- | --- | ---
  height | int |