1/* gtkfixedlayout.h: Fixed positioning layout manager
2 *
3 * SPDX-License-Identifier: LGPL-2.1-or-later
4 *
5 * Copyright 2019 GNOME Foundation
6 *
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version.
11 *
12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details.
16 *
17 * You should have received a copy of the GNU Lesser General Public
18 * License along with this library. If not, see <http://www.gnu.org/licenses/>.
19 */
20
21#pragma once
22
23#include <gtk/gtklayoutmanager.h>
24
25G_BEGIN_DECLS
26
27#define GTK_TYPE_FIXED_LAYOUT (gtk_fixed_layout_get_type ())
28#define GTK_TYPE_FIXED_LAYOUT_CHILD (gtk_fixed_layout_child_get_type ())
29
30/* GtkFixedLayout */
31
32GDK_AVAILABLE_IN_ALL
33G_DECLARE_FINAL_TYPE (GtkFixedLayout, gtk_fixed_layout, GTK, FIXED_LAYOUT, GtkLayoutManager)
34
35GDK_AVAILABLE_IN_ALL
36GtkLayoutManager * gtk_fixed_layout_new (void);
37
38/* GtkFixedLayoutChild */
39
40GDK_AVAILABLE_IN_ALL
41G_DECLARE_FINAL_TYPE (GtkFixedLayoutChild, gtk_fixed_layout_child, GTK, FIXED_LAYOUT_CHILD, GtkLayoutChild)
42
43GDK_AVAILABLE_IN_ALL
44void gtk_fixed_layout_child_set_transform (GtkFixedLayoutChild *child,
45 GskTransform *transform);
46GDK_AVAILABLE_IN_ALL
47GskTransform * gtk_fixed_layout_child_get_transform (GtkFixedLayoutChild *child);
48
49G_END_DECLS
50

source code of gtk/gtk/gtkfixedlayout.h