/* Copyright (C) 1998-2011 The gtkmm Development Team
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library 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
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, see .
*/
// To exclude this file from the documentation when build-deprecated-api=false.
_CONFIGINCLUDE(gtkmmconfig.h)
#include
_DEFS(gtkmm,gtk)
_PINCLUDE(gtkmm/private/buttonbox_p.h)
#m4 _PUSH(SECTION_CC_PRE_INCLUDES)
#undef GTK_DISABLE_DEPRECATED
#define GDK_DISABLE_DEPRECATION_WARNINGS 1
#m4 _POP()
namespace Gtk
{
/** A container for arranging buttons vertically.
*
* A button box should be used to provide a consistent layout of buttons
* throughout your application. There is one default layout and a default spacing
* value that are persistant across all Gtk::VButtonBox widgets.
*
* The layout/spacing can then be altered by the programmer, or if desired,
* by the user to alter the 'feel' of a program to a small degree.
*
* @ingroup Widgets
* @ingroup Containers
*
* @deprecated Use ButtonBox instead.
*/
class GTKMM_API VButtonBox : public ButtonBox
{
_CLASS_GTKOBJECT(VButtonBox,GtkVButtonBox,GTK_VBUTTON_BOX,Gtk::ButtonBox,GtkButtonBox,,,GTKMM_API)
_IS_DEPRECATED
public:
explicit VButtonBox(ButtonBoxStyle layout = BUTTONBOX_EDGE, int spacing = BUTTONBOX_DEFAULT_SPACING);
};
/** A container for arranging buttons horizontally.
*
* A button box should be used to provide a consistent layout of buttons
* throughout your application. There is one default layout and a default spacing
* value that are persistant across all Gtk::HButtonBox widgets.
*
* The layout/spacing can then be altered by the programmer, or if desired,
* by the user to alter the 'feel' of a program to a small degree.
*
* The HButtonBox widget looks like this:
* @image html hbuttonbox1.png
*
* @ingroup Widgets
* @ingroup Containers
*
* @deprecated Use ButtonBox instead.
*/
class GTKMM_API HButtonBox : public ButtonBox
{
_CLASS_GTKOBJECT(HButtonBox,GtkHButtonBox,GTK_HBUTTON_BOX,Gtk::ButtonBox,GtkButtonBox,,,GTKMM_API)
_IS_DEPRECATED
public:
explicit HButtonBox(ButtonBoxStyle layout = BUTTONBOX_EDGE, int spacing = BUTTONBOX_DEFAULT_SPACING);
};
} // namespace Gtk