1 | /* |
2 | * SPDX-License-Identifier: LGPL-2.1-or-later |
3 | * |
4 | * This library is free software; you can redistribute it and/or |
5 | * modify it under the terms of the GNU Lesser General Public |
6 | * License as published by the Free Software Foundation; either |
7 | * version 2 of the License, or (at your option) any later version. |
8 | * |
9 | * This library is distributed in the hope that it will be useful, |
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
12 | * Lesser General Public License for more details. |
13 | * |
14 | * You should have received a copy of the GNU Lesser General Public |
15 | * License along with this library. If not, see <http://www.gnu.org/licenses/>. |
16 | */ |
17 | |
18 | #pragma once |
19 | |
20 | #include <gtk/gtklayoutmanager.h> |
21 | |
22 | G_BEGIN_DECLS |
23 | |
24 | #define GTK_TYPE_CENTER_LAYOUT (gtk_center_layout_get_type ()) |
25 | |
26 | GDK_AVAILABLE_IN_ALL |
27 | G_DECLARE_FINAL_TYPE (GtkCenterLayout, gtk_center_layout, GTK, CENTER_LAYOUT, GtkLayoutManager) |
28 | |
29 | GDK_AVAILABLE_IN_ALL |
30 | GtkLayoutManager * gtk_center_layout_new (void); |
31 | GDK_AVAILABLE_IN_ALL |
32 | void gtk_center_layout_set_orientation (GtkCenterLayout *self, |
33 | GtkOrientation orientation); |
34 | GDK_AVAILABLE_IN_ALL |
35 | GtkOrientation gtk_center_layout_get_orientation (GtkCenterLayout *self); |
36 | GDK_AVAILABLE_IN_ALL |
37 | void gtk_center_layout_set_baseline_position (GtkCenterLayout *self, |
38 | GtkBaselinePosition baseline_position); |
39 | GDK_AVAILABLE_IN_ALL |
40 | GtkBaselinePosition gtk_center_layout_get_baseline_position (GtkCenterLayout *self); |
41 | GDK_AVAILABLE_IN_ALL |
42 | void gtk_center_layout_set_start_widget (GtkCenterLayout *self, |
43 | GtkWidget *widget); |
44 | GDK_AVAILABLE_IN_ALL |
45 | GtkWidget * gtk_center_layout_get_start_widget (GtkCenterLayout *self); |
46 | GDK_AVAILABLE_IN_ALL |
47 | void gtk_center_layout_set_center_widget (GtkCenterLayout *self, |
48 | GtkWidget *widget); |
49 | GDK_AVAILABLE_IN_ALL |
50 | GtkWidget * gtk_center_layout_get_center_widget (GtkCenterLayout *self); |
51 | GDK_AVAILABLE_IN_ALL |
52 | void gtk_center_layout_set_end_widget (GtkCenterLayout *self, |
53 | GtkWidget *widget); |
54 | GDK_AVAILABLE_IN_ALL |
55 | GtkWidget * gtk_center_layout_get_end_widget (GtkCenterLayout *self); |
56 | |
57 | |
58 | G_END_DECLS |
59 | |