Debian Codegraph @

gtk/src/border.hg

raw
1 /* Copyright (C) 2009 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 _CONFIGINCLUDE(gtkmmconfig.h)
18
19 _DEFS(gtkmm,gtk)
20
21 #include <glibmm/value.h>
22
23 namespace Gtk
24 {
25
26 /** This specifies a border around a rectangular area that can be of a different width on each side.
27 */
28 class GTKMM_API Border
29 {
30 _CLASS_BOXEDTYPE(Border, GtkBorder, gtk_border_new, gtk_border_copy, gtk_border_free, GTKMM_API)
31 public:
32
33 /** Get the width of the left border.
34 */
35 _MEMBER_GET(left, left, int, gint)
36
37 /** Set the width of the left border.
38 */
39 _MEMBER_SET(left, left, int, gint)
40
41 /** Get the width of the right border.
42 */
43 _MEMBER_GET(right, right, int, gint)
44
45 /** Set the width of the right border.
46 */
47 _MEMBER_SET(right, right, int, gint)
48
49 /** Get the width of the top border.
50 */
51 _MEMBER_GET(top, top, int, gint)
52
53 /** Set the width of the top border.
54 */
55 _MEMBER_SET(top, top, int, gint)
56
57 /** Get the width of the bottom border.
58 */
59 _MEMBER_GET(bottom, bottom, int, gint)
60
61 /** Set the width of the bottom border.
62 */
63 _MEMBER_SET(bottom, bottom, int, gint)
64 };
65
66 } //namespace Gtk