Package Camelot :: Package camelot :: Package view :: Package controls :: Package delegates :: Module manytoonechoicesdelegate
[frames] | no frames]

Source Code for Module Camelot.camelot.view.controls.delegates.manytoonechoicesdelegate

 1  from customdelegate import CustomDelegate 
 2  from camelot.view.controls import editors 
 3  
 
4 -class ManyToOneChoicesDelegate( CustomDelegate ):
5 """Display a ManyToOne field as a ComboBox, filling the list of choices with 6 the objects of the target class. 7 8 .. image:: ../_static/enumeration.png 9 """ 10 11 editor = editors.OneToManyChoicesEditor
12