Show
Ignore:
Timestamp:
04/23/07 16:50:01 (20 months ago)
Author:
aafshar
Message:

awful hack for dorpdowns for string options

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pida/core/options.py

    r407 r412  
    9494     
    9595    """Fonts""" 
     96 
     97class OTypeStringOption(OTypeString): 
    9698     
     99    """String from a list of options""" 
     100 
     101# Awful 
     102def otype_string_options_factory(options): 
     103    return type('', (OTypeStringOption,), {'options': options}) 
     104 
    97105 
    98106class OptionItem(object):