Debian Codegraph @

gtk/src/hvbuttonbox.hg

raw
1 /* Copyright (C) 1998-2011 The gtkmm Development Team
2 *
3 * This library is free software; you can redistribute it and/or
4 * modify it under the terms of the GNU Lesser General Public
5 * License as published by the Free Software Foundation; either
6 * version 2.1 of the License, or (at your option) any later version.
7 *
8 * This library is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 * Lesser General Public License for more details.
12 *
13 * You should have received a copy of the GNU Lesser General Public
14 * License along with this library; if not, see <https://www.gnu.org/licenses/>.
15 */
16
17 // To exclude this file from the documentation when build-deprecated-api=false.
18 _CONFIGINCLUDE(gtkmmconfig.h)
19
20 #include <gtkmm/buttonbox.h>
21 _DEFS(gtkmm,gtk)
22 _PINCLUDE(gtkmm/private/buttonbox_p.h)
23
24 #m4 _PUSH(SECTION_CC_PRE_INCLUDES)
25 #undef GTK_DISABLE_DEPRECATED
26 #define GDK_DISABLE_DEPRECATION_WARNINGS 1
27 #m4 _POP()
28
29 namespace Gtk
30 {
31
32 /** A container for arranging buttons vertically.
33 *
34 * A button box should be used to provide a consistent layout of buttons
35 * throughout your application. There is one default layout and a default spacing
36 * value that are persistant across all Gtk::VButtonBox widgets.
37 *
38 * The layout/spacing can then be altered by the programmer, or if desired,
39 * by the user to alter the 'feel' of a program to a small degree.
40 *
41 * @ingroup Widgets
42 * @ingroup Containers
43 *
44 * @deprecated Use ButtonBox instead.
45 */
46 class GTKMM_API VButtonBox : public ButtonBox
47 {
48 _CLASS_GTKOBJECT(VButtonBox,GtkVButtonBox,GTK_VBUTTON_BOX,Gtk::ButtonBox,GtkButtonBox,,,GTKMM_API)
49 _IS_DEPRECATED
50 public:
51 explicit VButtonBox(ButtonBoxStyle layout = BUTTONBOX_EDGE, int spacing = BUTTONBOX_DEFAULT_SPACING);
52 };
53
54 /** A container for arranging buttons horizontally.
55 *
56 * A button box should be used to provide a consistent layout of buttons
57 * throughout your application. There is one default layout and a default spacing
58 * value that are persistant across all Gtk::HButtonBox widgets.
59 *
60 * The layout/spacing can then be altered by the programmer, or if desired,
61 * by the user to alter the 'feel' of a program to a small degree.
62 *
63 * The HButtonBox widget looks like this:
64 * @image html hbuttonbox1.png
65 *
66 * @ingroup Widgets
67 * @ingroup Containers
68 *
69 * @deprecated Use ButtonBox instead.
70 */
71 class GTKMM_API HButtonBox : public ButtonBox
72 {
73 _CLASS_GTKOBJECT(HButtonBox,GtkHButtonBox,GTK_HBUTTON_BOX,Gtk::ButtonBox,GtkButtonBox,,,GTKMM_API)
74 _IS_DEPRECATED
75 public:
76 explicit HButtonBox(ButtonBoxStyle layout = BUTTONBOX_EDGE, int spacing = BUTTONBOX_DEFAULT_SPACING);
77 };
78
79 } // namespace Gtk