Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
gdktoplevelsize.h
Go to the documentation of this file.
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#pragma once
20
21#if !defined(__GDK_H_INSIDE__) && !defined(GTK_COMPILATION)
22#error "Only <gdk/gdk.h> can be included directly."
23#endif
24
25#include <gdk/gdktypes.h>
26
28
29typedef struct _GdkToplevelSize GdkToplevelSize;
30
31#define GDK_TYPE_TOPLEVEL_SIZE (gdk_toplevel_size_get_type ())
32
35
38 int *bounds_width,
39 int *bounds_height);
40
43 int width,
44 int height);
47 int min_width,
48 int min_height);
49
52 int left,
53 int right,
54 int top,
55 int bottom);
56
58
#define GDK_AVAILABLE_IN_ALL
GDK_AVAILABLE_IN_ALL void gdk_toplevel_size_set_shadow_width(GdkToplevelSize *size, int left, int right, int top, int bottom)
GDK_AVAILABLE_IN_ALL GType gdk_toplevel_size_get_type(void)
GDK_AVAILABLE_IN_ALL void gdk_toplevel_size_get_bounds(GdkToplevelSize *size, int *bounds_width, int *bounds_height)
GDK_AVAILABLE_IN_ALL void gdk_toplevel_size_set_min_size(GdkToplevelSize *size, int min_width, int min_height)
typedefG_BEGIN_DECLS struct _GdkToplevelSize GdkToplevelSize
GDK_AVAILABLE_IN_ALL void gdk_toplevel_size_set_size(GdkToplevelSize *size, int width, int height)
#define G_END_DECLS
Definition gmacros.h:910
#define G_BEGIN_DECLS
Definition gmacros.h:909
gsize GType
Definition gtype.h:427
lu_byte right
lu_byte left