Package muntjac :: Package ui :: Module accordion
[hide private]
[frames] | no frames]

Source Code for Module muntjac.ui.accordion

 1  # Copyright (C) 2012 Vaadin Ltd.  
 2  # Copyright (C) 2012 Richard Lincoln 
 3  #  
 4  # Licensed under the Apache License, Version 2.0 (the "License");  
 5  # you may not use this file except in compliance with the License.  
 6  # You may obtain a copy of the License at  
 7  #  
 8  #     http://www.apache.org/licenses/LICENSE-2.0  
 9  #  
10  # Unless required by applicable law or agreed to in writing, software  
11  # distributed under the License is distributed on an "AS IS" BASIS,  
12  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  
13  # See the License for the specific language governing permissions and  
14  # limitations under the License. 
15   
16  """Defines a component similar to a TabSheet, but with a vertical orientation. 
17  """ 
18   
19  from muntjac.ui.tab_sheet import TabSheet 
20   
21   
22 -class Accordion(TabSheet):
23 """An accordion is a component similar to a L{TabSheet}, but 24 with a vertical orientation and the selected component presented 25 between tabs. 26 27 Closable tabs are not supported by the accordion. 28 29 The L{Accordion} can be styled with the .v-accordion, .v-accordion-item, 30 .v-accordion-item-first and .v-accordion-item-caption styles. 31 32 @see: L{TabSheet} 33 """ 34 35 CLIENT_WIDGET = None #ClientWidget(VAccordion)
36