//$Id: examplewindow.cc,v 1.1 2003/10/12 09:38:08 murrayc Exp $ -*- c++ -*-

/* gtkmm example Copyright (C) 2002 gtkmm development team
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2
 * as published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 */

#include "examplewindow.h"

ExampleWindow::ExampleWindow()
: m_Label("A child widget.")
{
 /* Set some window properties */
  set_title("Expander Example");

  /* Sets the border width of the window. */
  set_border_width(6);

  add(m_Expander);
  m_Expander.add(m_Label);

  /* Set the label */
  m_Expander.set_label("Gtk::Expander Widget");

  show_all_children();
}

ExampleWindow::~ExampleWindow()
{
}


