Package gen :: Package lib :: Module srcmediatype :: Class SourceMediaType
[frames] | no frames]

Class SourceMediaType

source code


Instance Methods
 
__init__(self, value=None)
Create a new type, initialize the value from one of several possible states.
source code

Inherited from grampstype.GrampsType: __cmp__, __int__, __str__, get_custom, get_map, get_standard_names, get_standard_xml, is_custom, is_default, serialize, set, set_from_xml_str, unserialize, xml_str

Class Variables
  UNKNOWN = -1
  CUSTOM = 0
  AUDIO = 1
  BOOK = 2
  CARD = 3
  ELECTRONIC = 4
  FICHE = 5
  FILM = 6
  MAGAZINE = 7
  MANUSCRIPT = 8
  MAP = 9
  NEWSPAPER = 10
  PHOTO = 11
  TOMBSTONE = 12
  VIDEO = 13
Method Details

__init__(self, value=None)
(Constructor)

source code 

Create a new type, initialize the value from one of several possible states.

Overrides: grampstype.GrampsType.__init__
(inherited documentation)