// This may look like C code, but it's really -*- C++ -*-
/*
 * Copyright (C) 2008 Emweb bvba, Kessel-Lo, Belgium.
 *
 * See the LICENSE file for terms of use.
 */
#ifndef WACCORDION_LAYOUT_H_
#define WACCORDION_LAYOUT_H_

#include <Wt/WDefaultLayout>

namespace Wt {

/*! \class WAccordionLayout Wt/WAccordionLayout Wt/WAccordionLayout
 *  \brief A layout manager which shows one item at a time.
 *
 * The accordion layout manages several widgets, but shows only one
 * (active) item at a time.
 *
 * \note This layout manager is applicable only to Ext::Container
 * container widgets.
*/
class WT_API WAccordionLayout : public WDefaultLayout
{
public:
  /*! \brief Creates a new accordion layout.
   */
  WAccordionLayout(WWidget *parent = 0);
};

}
#endif // WACCORDION_LAYOUT_H_
