class TDEFontDialog

#### PyKDE - Python Bindings for KDE

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

Module | tdeui
Class | TDEFontDialog
Inherits | KDialogBase

### methods

- TDEFontDialog (parent = 0, name = "", onlyFixed = 0, modal = 0, fontlist = TQStringList(), makeFrame = 1, diff = 0, sizeIsRelativeState = 0)

  returns a TDEFontDialog instance
  Argument | Type | Default
  --- | --- | ---
  parent | TQWidget | 0
  name | string | ""
  onlyFixed | bool | 0
  modal | bool | 0
  fontlist | TQStringList | TQStringList()
  makeFrame | bool | 1
  diff | bool | 0
  sizeIsRelativeState | TQButton.ToggleState | 0

- font ()

  returns (TQFont)

- fontSelected (font)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  font | TQFont |

- getFont (theFont, onlyFixed = False, parent = 0, makeFrame = True, sizeIsRelative = TQButton.Off)

  returns (int) sizeIsRelative (TQButton.ToggleState),
  static
  Argument | Type | Default
  --- | --- | ---
  theFont | TQFont |
  onlyFixed | bool | False
  parent | TQWidget | 0
  makeFrame | bool | True
  sizeIsRelative | TQButton.ToggleState | TQButton.Off

- getFontAndText (theFont, theString, onlyFixed = False, parent = 0, makeFrame = true, sizeIsRelative = TQButton.Off)

  returns (int) sizeIsRelative (TQButton.ToggleState),
  static
  Argument | Type | Default
  --- | --- | ---
  theFont | TQFont |
  theString | TQString |
  onlyFixed | bool | False
  parent | TQWidget | 0
  makeFrame | bool | true
  sizeIsRelative | TQButton.ToggleState | TQButton.Off

- getFontDiff (theFont, diffFlags, onlyFixed = False, parent = 0, makeFrame = true, sizeIsRelative = TQButton.Off)

  returns (int) sizeIsRelative (TQButton.ToggleState),
  static
  Argument | Type | Default
  --- | --- | ---
  theFont | TQFont |
  diffFlags | int |
  onlyFixed | bool | False
  parent | TQWidget | 0
  makeFrame | bool | true
  sizeIsRelative | TQButton.ToggleState | TQButton.Off

- setFont (font, onlyFixed = 0)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  font | TQFont |
  onlyFixed | bool | 0

- setSizeIsRelative (relative)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  relative | TQButton.ToggleState |

- sizeIsRelative ()

  returns (TQButton.ToggleState)