class Inventory(AttributeInventory.Inventory): import traits text = traits.str('text', default='menu') tip = traits.str('tip', default='tip?') click_callback = traits.str('click-callback', default='None') pass
class Inventory( AttributeInventory.Inventory ): import traits label = traits.str( 'label', default= "pyShell" ) locals = traits.str( 'locals', default= "None" ) keydown_callback = traits.str( 'keydown-callback', default= "None" ) pass
class Inventory(AttributeInventory.Inventory): import traits direction = traits.str("direction", default="vertical") sliderPosition = traits.int("sliderPosition", default=100) minimumPanelSize = traits.int("minimumPanelSize", default=250) pass
class Inventory(AttributeInventory.Inventory): import traits size = traits.list('size', default=[4, 3], validator=_intlist) dpi = traits.int('dpi', default=75) label = traits.str('label', default='thelabel') pass
class Inventory( AttributeInventory.Inventory ): import traits ratios = traits.list( "ratios", default = [] ) border = traits.int( "border", default = 5 ) direction = traits.str( "direction", default = "horizontal", validator=\ traits.choice( ["horizontal", "vertical"] ) ) pass
class Inventory(AttributeInventory.Inventory): import traits borderStyle = traits.str('borderStyle', default="default") label = traits.str('label', default="label") pass
class Inventory(AttributeInventory.Inventory): import traits borderStyle = traits.str('borderStyle', default="sunken") titles = traits.list('titles', default=[]) pass
class Inventory( AttributeInventory.Inventory ): import traits title = traits.str( "title", default = "title" ) pass
class Inventory(AttributeInventory.Inventory): import traits text = traits.str('text', default='menu') label = traits.str('label', default='') pass