1/* GDK - The GIMP Drawing Kit
2 * Copyright (C) 2020 Red Hat
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
19#ifndef __GDK_TOPLEVEL_LAYOUT_H__
20#define __GDK_TOPLEVEL_LAYOUT_H__
21
22#if !defined(__GDK_H_INSIDE__) && !defined(GTK_COMPILATION)
23#error "Only <gdk/gdk.h> can be included directly."
24#endif
25
26#include <gdk/gdkmonitor.h>
27#include <gdk/gdktypes.h>
28#include <gdk/gdkversionmacros.h>
29
30G_BEGIN_DECLS
31
32typedef struct _GdkToplevelLayout GdkToplevelLayout;
33
34#define GDK_TYPE_TOPLEVEL_LAYOUT (gdk_toplevel_layout_get_type ())
35
36GDK_AVAILABLE_IN_ALL
37GType gdk_toplevel_layout_get_type (void);
38
39GDK_AVAILABLE_IN_ALL
40GdkToplevelLayout * gdk_toplevel_layout_new (void);
41
42GDK_AVAILABLE_IN_ALL
43GdkToplevelLayout * gdk_toplevel_layout_ref (GdkToplevelLayout *layout);
44
45GDK_AVAILABLE_IN_ALL
46void gdk_toplevel_layout_unref (GdkToplevelLayout *layout);
47
48GDK_AVAILABLE_IN_ALL
49GdkToplevelLayout * gdk_toplevel_layout_copy (GdkToplevelLayout *layout);
50
51GDK_AVAILABLE_IN_ALL
52gboolean gdk_toplevel_layout_equal (GdkToplevelLayout *layout,
53 GdkToplevelLayout *other);
54
55GDK_AVAILABLE_IN_ALL
56void gdk_toplevel_layout_set_maximized (GdkToplevelLayout *layout,
57 gboolean maximized);
58GDK_AVAILABLE_IN_ALL
59void gdk_toplevel_layout_set_fullscreen (GdkToplevelLayout *layout,
60 gboolean fullscreen,
61 GdkMonitor *monitor);
62
63GDK_AVAILABLE_IN_ALL
64gboolean gdk_toplevel_layout_get_maximized (GdkToplevelLayout *layout,
65 gboolean *maximized);
66
67GDK_AVAILABLE_IN_ALL
68gboolean gdk_toplevel_layout_get_fullscreen (GdkToplevelLayout *layout,
69 gboolean *fullscreen);
70
71GDK_AVAILABLE_IN_ALL
72GdkMonitor * gdk_toplevel_layout_get_fullscreen_monitor (GdkToplevelLayout *layout);
73
74GDK_AVAILABLE_IN_ALL
75void gdk_toplevel_layout_set_resizable (GdkToplevelLayout *layout,
76 gboolean resizable);
77
78GDK_AVAILABLE_IN_ALL
79gboolean gdk_toplevel_layout_get_resizable (GdkToplevelLayout *layout);
80
81G_END_DECLS
82
83#endif /* __GDK_TOPLEVEL_LAYOUT_H__ */
84

source code of gtk/gdk/gdktoplevellayout.h