vlist — Phatch v0.2 documentation

### Navigation

- index
- modules |
- next |
- previous |
- Phatch v0.2 documentation »
- lib »
- pyWx »

# vlist

class `lib.pyWx.vlist.` `Box`(parent, *args, **kwds)

  Bases: `wx._windows.VListBox`

  Default Icon Size is ICON_SIZE (48).

  `GetIconSize`()
  `GetItem`(n)
    Needs to be overwritten.
  `GradientColour`(color)
  `OnDrawBackground`(dc, rect, n)
    Gradient fill from color 1 to color 2 with top to bottom or left to right.
  `OnDrawItem`(dc, rect, n)
  `OnDrawSeparator`(dc, rect, n)
  `OnMeasureItem`(n)
  `RefreshAll`()
  `SetIconSize`(icon_size=(48, 48), units=5)
    All vertical spacing is calculated by the icon size. The higher the units, the less space in between label and summary and the more space between the label/summary and the separators.
  `SetTheme`(theme='default')
  `SetVerticalGradient`(bool=True)

class `lib.pyWx.vlist.` `TestFrame`(parent)
  Bases: `wx._windows.Frame`

`lib.pyWx.vlist.` `example`()

### Navigation

- index
- modules |
- next |
- previous |
- Phatch v0.2 documentation »
- lib »
- pyWx »