#### PyKDE - Python Bindings for KDE

# class KGradientSelector |
Table of contents
Modules
tdeui Classes
All Classes

Module | tdeui
Class | KGradientSelector
Inherits | TDESelector

### methods

- KGradientSelector (parent = 0, name = 0)

  returns a KGradientSelector instance
  Argument | Type | Default
  --- | --- | ---
  parent | TQWidget | 0
  name | char | 0

- KGradientSelector (o, parent = 0, name = 0)

  returns a KGradientSelector instance
  Argument | Type | Default
  --- | --- | ---
  o | Orientation |
  parent | TQWidget | 0
  name | char | 0

- drawContents (a0)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  a0 | TQPainter |

- firstColor ()

  returns (TQColor)

- firstText ()

  returns (TQString)

- minimumSize ()

  returns (TQSize)

- secondColor ()

  returns (TQColor)

- secondText ()

  returns (TQString)

- setColors (col1, col2)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  col1 | TQColor |
  col2 | TQColor |

- setFirstColor (col)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  col | TQColor |

- setFirstText (t)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  t | TQString |

- setSecondColor (col)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  col | TQColor |

- setSecondText (t)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  t | TQString |

- setText (t1, t2)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  t1 | TQString |
  t2 | TQString |