class KPanelExtension

#### PyKDE - Python Bindings for KDE

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

Module | kdeui
Class | KPanelExtension
Inherits | QFrame

### enums

- Action = {About = 1, Help = 2, Preferences = 4, ReportBug = 8 }
- Alignment = {LeftTop = 0, Center, RightBottom }
- Position = {Left = 0, Right, Top, Bottom }
- Size = {SizeTiny = 0, SizeSmall, SizeNormal, SizeLarge, SizeCustom }
- Type = {Normal = 0, 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)

- customSize ()

  returns (int)
  In versions KDE 3.1.0 and above only

- help ()

  returns nothing

- 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

- setAlignment (a)

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

- setPosition (p)

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

- 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