#### PyKDE - Python Bindings for KDE

# class KPanelExtension |
Table of contents
Modules
kdeui Classes
All Classes

Module | kdeui
Class | KPanelExtension
Inherits | QFrame

### enums

- Action = {About, Help, Preferences, ReportBug }
- Alignment = {LeftTop, Center, RightBottom }
- Position = {Left, Right, Top, Bottom, Floating }
- Position = {Left, Right, Top, Bottom }
- Size = {SizeTiny, SizeSmall, SizeNormal, SizeLarge, SizeCustom }
- Type = {Normal, Stretch }

### methods

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

  returns a KPanelExtension instance
  Argument | Type | Default
  --- | --- | ---
  configFile | QString |
  t | KPanelExtension.Type | Normal
  actions | int | 0
  parent | QWidget | 0
  name | char | 0

- about ()

  returns nothing

- action (a)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  a | KPanelExtension.Action |

- actions ()

  returns (int)

- alignment ()

  returns (KPanelExtension.Alignment)

- alignmentChange (a0)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  a0 | KPanelExtension.Alignment |

- config ()

  returns (KConfig)

- customMenu ()

  returns (QPopupMenu)
  In versions KDE 3.4.0 and above only

- customSize ()

  returns (int)
  In versions KDE 3.1.0 and above only

- help ()

  returns nothing

- maintainFocus (a0)

  returns nothing
  In versions KDE 3.4.0 and above only
  Argument | Type | Default
  --- | --- | ---
  a0 | bool |

- orientation ()

  returns (Orientation)

- position ()

  returns (Position)

- positionChange (a0)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  a0 | KPanelExtension.Position |

- preferedPosition ()

  returns (Position)

- preferences ()

  returns nothing

- reportBug ()

  returns nothing

- reserveStrut ()

  returns (bool)
  In versions KDE 3.4.0 and above only

- setAlignment (a)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  a | KPanelExtension.Alignment |

- setCustomMenu (a0)

  returns nothing
  In versions KDE 3.4.0 and above only
  Argument | Type | Default
  --- | --- | ---
  a0 | QPopupMenu |

- setPosition (p)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  p | KPanelExtension.Position |

- setReserveStrut (shouldUseStrut)

  returns nothing
  In versions KDE 3.4.0 and above only
  Argument | Type | Default
  --- | --- | ---
  shouldUseStrut | bool |

- setSize (size, customSize)

  returns nothing
  In versions KDE 3.1.0 and above only
  Argument | Type | Default
  --- | --- | ---
  size | KPanelExtension.Size |
  customSize | int |

- sizeHint (a0, maxsize)

  returns (QSize)
  Argument | Type | Default
  --- | --- | ---
  a0 | KPanelExtension.Position |
  maxsize | QSize |

- sizeInPixels ()

  returns (int)
  In versions KDE 3.1.0 and above only

- sizeSetting ()

  returns (KPanelExtension.Size)
  In versions KDE 3.1.0 and above only

- type ()

  returns (Type)

- updateLayout ()

  returns nothing